drm/i915: Initialize eDP source rates after per-panel VBT parsing
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 3 Jun 2022 16:58:41 +0000 (19:58 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 8 Jun 2022 10:23:52 +0000 (13:23 +0300)
commitf09d2b0bdd78ffd38227426fb2ceab7ebd141391
tree1a0ff2500741bec3c28e3deab91580ddaae75bc5
parenteb20cf30c57c37ed05f44966dfabc2c34bf46cab
drm/i915: Initialize eDP source rates after per-panel VBT parsing

We'll need to know the VBT panel_type before we can determine the
maximum link rate for eDP. To that end move
intel_dp_set_source_rates() & co. to be called after the per-panel
VBT parsing has been done.

intel_dp_mst_encoder_init() depends on the source rates so we'll
have to do it a bit later as well.

v2: Fix the intel_dp_mst_encoder_init() oops

Reviewed-by: Jani Nikula <jani.nikula@intel.com> #v1
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220603165841.15481-1-ville.syrjala@linux.intel.com
drivers/gpu/drm/i915/display/intel_dp.c