Skip to content
Commit f3f6a23e authored by Khaled Almahallawy's avatar Khaled Almahallawy Committed by Greg Kroah-Hartman
Browse files

drm/i915/dp: Fix passing the correct DPCD_REV for drm_dp_set_phy_test_pattern



[ Upstream commit 2bd7a06a ]

Using link_status to get DPCD_REV fails when disabling/defaulting
phy pattern. Use intel_dp->dpcd to access DPCD_REV correctly.

Fixes: 8cdf7271 ("drm/i915/dp: Program vswing, pre-emphasis, test-pattern")
Cc: Jani Nikula <jani.nikula@intel.com>
Cc: Imre Deak <imre.deak@intel.com>
Cc: Lee Shawn C <shawn.c.lee@intel.com>
Signed-off-by: default avatarKhaled Almahallawy <khaled.almahallawy@intel.com>
Signed-off-by: default avatarJani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20231213211542.3585105-3-khaled.almahallawy@intel.com


(cherry picked from commit 3ee302ec)
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 6cf7235b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment