]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
drm/i915/dp: Fix the link service IRQ DPCD_REV check
authorImre Deak <imre.deak@intel.com>
Wed, 25 Feb 2026 16:46:08 +0000 (18:46 +0200)
committerImre Deak <imre.deak@intel.com>
Tue, 3 Mar 2026 15:49:06 +0000 (17:49 +0200)
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
drivers/gpu/drm/i915/display/intel_dp.c

index f04f15e1584906dadb9888c40aefe32f8d3b114f..d63c3d69e9fcb2b4d44341ad04e09e647272e6a8 100644 (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,