[PATCH 06/20] drm/i915/dp: Handle the DOWNSTREAM_PORT_STATUS_CHANGED event

Luca Coelho luca at coelho.fi
Tue Jul 1 08:52:57 UTC 2025


On Thu, 2025-06-26 at 11:20 +0300, Imre Deak wrote:
> From: Imre Deak <imre.deak at gmail.com>
> 
> Handle the DOWNSTREAM_PORT_STATUS_CHANGED event a branch device can use
> to indicate the state change of a DFP connector on the branch device.
> The event is signaled in the DP_LANE_ALIGN_STATUS_UPDATED DPCD register
> setting a clear-on-read flag and triggering an HPD IRQ. Accordingly keep
> a cached version of the flag, updating it whenever
> DP_LANE_ALIGN_STATUS_UPDATED is read. Schedule a full connector
> detection from the HPD IRQ handler if the cached flag is set and clear
> the cached flag at the start of detection.
> 
> Signed-off-by: Imre Deak <imre.deak at gmail.com>
> ---

Reviewed-by: Luca Coelho <luciano.coelho at intel.com>

--
Cheers,
Luca.


More information about the Intel-gfx mailing list