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 <[email protected]> Signed-off-by: Imre Deak <[email protected]> --- drivers/gpu/drm/i915/display/intel_dp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/display/intel_dp.c b/drivers/gpu/drm/i915/display/intel_dp.c index 88be5a03af912..9feda949570ec 100644 --- a/drivers/gpu/drm/i915/display/intel_dp.c +++ b/drivers/gpu/drm/i915/display/intel_dp.c @@ -5799,7 +5799,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, -- 2.49.1
