]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/dp: Use max params for panels < eDP 1.4
authorKai-Heng Feng <kai.heng.feng@canonical.com>
Fri, 20 Aug 2021 07:52:59 +0000 (15:52 +0800)
committerJani Nikula <jani.nikula@intel.com>
Tue, 14 Sep 2021 07:56:40 +0000 (10:56 +0300)
commit1fbfecfb445d70c0a73e98459ac21a62de389206
treed84da58b40342d95edfb5750ef2f68225f0882c3
parent4f12f744c5cfbd42689dc1b0f3c8ffbcd1934807
drm/i915/dp: Use max params for panels < eDP 1.4

Users reported that after commit 7a1aa17b7f3c ("drm/i915: Try to use
fast+narrow link on eDP again and fall back to the old max strategy on
failure"), the screen starts to have wobbly effect.

Commit 4abac14488ee ("drm/i915/dp: Use slow and wide link training for
everything") doesn't help either, that means the affected eDP 1.2 panels
only work with max params.

So use max params for panels < eDP 1.4 as Windows does to solve the
issue.

v3:
 - Do the eDP rev check in intel_edp_init_dpcd()

v2:
 - Check eDP 1.4 instead of DPCD 1.1 to apply max params

Cc: stable@vger.kernel.org
Closes: https://gitlab.freedesktop.org/drm/intel/-/issues/3714
Fixes: 7a1aa17b7f3c ("drm/i915: Try to use fast+narrow link on eDP again and fall back to the old max strategy on failure")
Fixes: 4abac14488ee ("drm/i915/dp: Use slow and wide link training for everything")
Suggested-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
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/20210820075301.693099-1-kai.heng.feng@canonical.com
(cherry picked from commit d7f213c131adf0bec8b731553eb82990cdac265d)
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/display/intel_dp.c