On Wed, Sep 30, 2026 at 08:41:48PM +0800, Xilin Wu wrote: > The plug and detect paths hold plugged_lock while accessing the sink > state, but IRQ-HPD processing updates the same state without that lock. > Unplug also changes the video-test flag and AUX transfer gate before > acquiring the lock. > > Cover those updates with plugged_lock so that users of the connection > lock cannot observe partially updated HPD state. This also lets stream > failure cleanup decide whether to preserve AUX while excluding HPD > processing. > > Assisted-by: LLM > Signed-off-by: Xilin Wu <[email protected]> > --- > drivers/gpu/drm/msm/dp/dp_display.c | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) >
Reviewed-by: Dmitry Baryshkov <[email protected]> -- With best wishes Dmitry
