drm/i915: Check for unsupported DP link rates during initial commit
authorImre Deak <imre.deak@intel.com>
Sat, 3 Oct 2020 00:18:44 +0000 (03:18 +0300)
committerImre Deak <imre.deak@intel.com>
Tue, 6 Oct 2020 11:00:26 +0000 (14:00 +0300)
commit7d6287a8481242cb0f324a2937258f240036dd17
treeb40a9af538891b47245c6db206c313e7f8886e9d
parentb671d6ef8b20ffc2161e1e803f8c7b143e1b1615
drm/i915: Check for unsupported DP link rates during initial commit

Some BIOSes set an unsupported/imprecise DP link rate (for instance on
TGL A stepping). Make sure that we do an encoder recompute and a modeset
in this case.

Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20201003001846.1271151-4-imre.deak@intel.com
drivers/gpu/drm/i915/display/intel_dp.c