drm/i915/dp: Use slow and wide link training for everything
authorKai-Heng Feng <kai.heng.feng@canonical.com>
Wed, 21 Apr 2021 05:20:31 +0000 (13:20 +0800)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 21 Apr 2021 18:12:05 +0000 (21:12 +0300)
commitacca7762eb71bc05a8f28d29320d193150051f79
treec458ef6aef6032fd9ff6956f0e655c399788e046
parent3a11529d615ed74e9be5eef953bd136a943663b4
drm/i915/dp: Use slow and wide link training for everything

Screen flickers on Innolux eDP 1.3 panel when clock rate 540000 is in use.

According to the panel vendor, though clock rate 540000 is advertised,
but the max clock rate it really supports is 270000.

Ville Syrjälä mentioned that fast and narrow also breaks some eDP 1.4
panel, so use slow and wide training for all panels to resolve the
issue.

User also confirmed that the new strategy doesn't introduce any
regression on XPS 9380.

v2:
 - Use slow and wide for everything.

Closes: https://gitlab.freedesktop.org/drm/intel/-/issues/3384
References: https://gitlab.freedesktop.org/drm/intel/-/issues/272
Signed-off-by: Kai-Heng Feng <kai.heng.feng@canonical.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210421052054.1434718-1-kai.heng.feng@canonical.com
drivers/gpu/drm/i915/display/intel_dp.c