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
This commit is contained in:
Imre Deak 2026-02-25 18:46:08 +02:00
parent e0f252bb36
commit fbb003f8f7

View File

@ -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,