]> git.baikalelectronics.ru Git - kernel.git/commit
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)
committerJani Nikula <jani.nikula@intel.com>
Tue, 11 May 2021 12:12:23 +0000 (15:12 +0300)
commita5c936add6a23c15c6ae538ab7a12f80751fdf0f
treed44e2ebbc932567aa942341bba61bf6a3d6cc2c9
parent6efb943b8616ec53a5e444193dccf1af9ad627b5
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
(cherry picked from commit acca7762eb71bc05a8f28d29320d193150051f79)
Fixes: 2bbd6dba84d4 ("drm/i915: Try to use fast+narrow link on eDP again and fall back to the old max strategy on failure")
Cc: <stable@vger.kernel.org> # v5.12+
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/display/intel_dp.c