Commit fbb003f8 authored by Imre Deak's avatar Imre Deak
Browse files

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: default avatarLuca Coelho <luciano.coelho@intel.com>
Signed-off-by: default avatarImre Deak <imre.deak@intel.com>
Link: https://patch.msgid.link/20260225164618.1261368-11-imre.deak@intel.com
parent e0f252bb
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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,