]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/dp: DPTX writes Swing/Pre-emphs(DPCD 0x103-0x106) requested during PHY Layer...
authorKhaled Almahallawy <khaled.almahallawy@intel.com>
Fri, 26 Feb 2021 08:15:54 +0000 (00:15 -0800)
committerImre Deak <imre.deak@intel.com>
Thu, 29 Jul 2021 16:46:14 +0000 (19:46 +0300)
commit155b8645de9e0f07b654025fe91725ca2f67d12a
treeeea85603f1e1341c6a96437ca97ac57123ec02f9
parent11955c87d209c81cec6bb7c21a2a12c4c48c4fb4
drm/i915/dp: DPTX writes Swing/Pre-emphs(DPCD 0x103-0x106) requested during PHY Layer testing

Source needs to write DPCD 103-106 after receiving a PHY request to change
swing/pre-emphasis after reading DPCD 206-207. This is especially needed if
there is a retimer between source and sink and the retimer implements AUX_CH
interception scheme to manage DP PHY settings (e.g. adjusting Swing/Pre-emphasis
equalization level) for DP output channel. If the source doesn't write to
DPCD 103-106, the retimer may not output the requested swing/pre-emphasis and
eventually we fail compliance.

v2: Rebase and use crtc->lane_count (Imre)

Signed-off-by: Khaled Almahallawy <khaled.almahallawy@intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210226081554.984307-1-khaled.almahallawy@intel.com
Reviewed-by: Imre Deak <imre.deak@intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
drivers/gpu/drm/i915/display/intel_dp.c