summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorImre Deak <imre.deak@intel.com>2026-02-25 19:46:08 +0300
committerImre Deak <imre.deak@intel.com>2026-03-03 18:49:06 +0300
commitfbb003f8f722a0c7c8f409973d59dfcc8a54578c (patch)
treec4f3820463602b5b129e33d6178b9a1601a34940
parente0f252bb36dea780971af4736622d2c7be60d122 (diff)
downloadlinux-fbb003f8f722a0c7c8f409973d59dfcc8a54578c.tar.xz
drm/i915/dp: Fix the link service IRQ DPCD_REV check
The DP_LINK_SERVICE_IRQ_VECTOR_ESI0 DPCD register is supported only since DPCD REV 1.2, so fix the revision check accordingly. Reviewed-by: Luca Coelho <luciano.coelho@intel.com> Signed-off-by: Imre Deak <imre.deak@intel.com> Link: https://patch.msgid.link/20260225164618.1261368-11-imre.deak@intel.com
-rw-r--r--drivers/gpu/drm/i915/display/intel_dp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/display/intel_dp.c b/drivers/gpu/drm/i915/display/intel_dp.c
index f04f15e15849..d63c3d69e9fc 100644
--- a/drivers/gpu/drm/i915/display/intel_dp.c
+++ b/drivers/gpu/drm/i915/display/intel_dp.c
@@ -5812,7 +5812,7 @@ static bool intel_dp_check_link_service_irq(struct intel_dp *intel_dp)
bool reprobe_needed = false;
u8 val;
- if (intel_dp->dpcd[DP_DPCD_REV] < 0x11)
+ if (intel_dp->dpcd[DP_DPCD_REV] < DP_DPCD_REV_12)
return false;
if (drm_dp_dpcd_readb(&intel_dp->aux,