]> git.ipfire.org Git - thirdparty/linux.git/commit
drm/i915/dp: Handle the DOWNSTREAM_PORT_STATUS_CHANGED event
authorImre Deak <imre.deak@intel.com>
Wed, 25 Feb 2026 16:46:04 +0000 (18:46 +0200)
committerImre Deak <imre.deak@intel.com>
Tue, 3 Mar 2026 15:49:04 +0000 (17:49 +0200)
commita6d89d46d32688943ed3a67d109a4a57d8fdb68d
treeb37c25fce168e64978ae0265fb9c284fb607c6dc
parente55791f5b78d1e2ecba107564e2c7370b8272974
drm/i915/dp: Handle the DOWNSTREAM_PORT_STATUS_CHANGED event

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.

Reviewed-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Link: https://patch.msgid.link/20260225164618.1261368-7-imre.deak@intel.com
drivers/gpu/drm/i915/display/intel_display_types.h
drivers/gpu/drm/i915/display/intel_dp.c