[PATCH v2 12/21] drm/i915/dp: Use check link state work in the detect handler

Imre Deak imre.deak at intel.com
Mon May 27 11:30:21 UTC 2024


On Mon, May 27, 2024 at 01:14:32PM +0800, gareth.yu at intel.com wrote:
Hi,

> A bad link in MST is not retrained. Please also consider MST.
> The issue ticket is https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/10902.
> 
> 	if (intel_dp->is_mst) {
> 		/*
> 		 * If we are in MST mode then this connector
> 		 * won't appear connected or have anything
> 		 * with EDID on it
> 		 */
> 		status = connector_status_disconnected;
> 		goto out;
> 	}
> 
> 	/*
> 	 * Some external monitors do not signal loss of link synchronization
> 	 * with an IRQ_HPD, so force a link status check.
> 	 */
> 	if (!intel_dp_is_edp(intel_dp)) {
> 		ret = intel_dp_retrain_link(encoder, ctx);
> 		if (ret)
> 			return ret;
> 	}

this is not the proper place to retrain the link, the plan is to remove
the above. Could you give a try to the patchset and follow up with a
dmesg log on the ticket?

Thanks,
Imre


More information about the Intel-gfx mailing list