[PATCH v5 02/10] drm/bridge: Add detect_ctx hook and drm_bridge_detect_ctx() helper
Heiko Stuebner
heiko at sntech.de
Mon Apr 27 04:00:35 PDT 2026
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 <diederik at cknow-tech.com>
> Tested-by: Maud Spierings <maud_spierings at hotmail.com>
> Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea at collabora.com>
while this looks sane to me, my drm insights are spotty, so I can
only provide the lighter
Acked-by: Heiko Stuebner <heiko at sntech.de>
More information about the Linux-rockchip
mailing list