drm/i915/display: Don't disable DDI/Transcoder when setting phy test pattern
authorKhaled Almahallawy <khaled.almahallawy@intel.com>
Wed, 23 Nov 2022 22:09:26 +0000 (14:09 -0800)
committerJani Nikula <jani.nikula@intel.com>
Fri, 9 Dec 2022 08:32:58 +0000 (10:32 +0200)
commitbe4a847652056b067d6dc6fe0fc024a9e2e987ca
tree5692af0073d04096a2620b996a10d35ecb4f106c
parent2ac5438ca9226c70ef37e81bd6b6c997017ae081
drm/i915/display: Don't disable DDI/Transcoder when setting phy test pattern

Bspecs has updated recently to remove the restriction to disable
DDI/Transcoder before setting PHY test pattern. This update is to
address PHY compliance test failures observed on a port with LTTPR.
The issue is that when Transc. is disabled, the main link signals fed
to LTTPR will be dropped invalidating link training, which will affect
the quality of the phy test pattern when the transcoder is enabled again.

v2: Update commit message (Clint)
v3: Add missing Signed-off in v2
v4: Update Bspec and commit message for pre-gen12 (Jani)

Bspec: 50482, 7555
Fixes: 8cdf72711928 ("drm/i915/dp: Program vswing, pre-emphasis, test-pattern")
Cc: Imre Deak <imre.deak@intel.com>
Cc: Clint Taylor <clinton.a.taylor@intel.com>
CC: Jani Nikula <jani.nikula@intel.com>
Tested-by: Khaled Almahallawy <khaled.almahallawy@intel.com>
Reviewed-by: Clint Taylor <clinton.a.taylor@intel.com>
Signed-off-by: Khaled Almahallawy <khaled.almahallawy@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20221123220926.170034-1-khaled.almahallawy@intel.com
drivers/gpu/drm/i915/display/intel_dp.c