Subject: Re: [PATCH v5 02/10] drm/bridge: Add detect_ctx hook and drm_bridge_detect_ctx() helper

From: Heiko Stuebner <[email-masked]>
Date: Mon, 27 Apr 2026 13:00:35 +0200

Am Sonntag, 26. April 2026, 02:20:14 Mitteleuropäische Sommerzeit schrieb Cristian Ciocaltea:
> Add an atomic-aware .detect_ctx() callback to drm_bridge_funcs and a
> drm_bridge_detect_ctx() helper that accepts an optional
> drm_modeset_acquire_ctx.
> 
> This enables bridge drivers to perform operations requiring modeset
> locking during connector detection, such as SCDC management for HDMI
> 2.0.  When both ->detect_ctx and ->detect are defined, the former takes
> precedence.  When ctx is NULL, locking is managed internally with EDEADLK
> retry.
> 
> Tested-by: Diederik de Haas <[email-masked]>
> Tested-by: Maud Spierings <[email-masked]>
> Signed-off-by: Cristian Ciocaltea <[email-masked]>

while this looks sane to me, my drm insights are spotty, so I can
only provide the lighter

Acked-by: Heiko Stuebner <[email-masked]>