On Thu, 5 Nov 2026 at 01:01, Cristian Ciocaltea <[email protected]> wrote: > dw_hdmi_qp_rockchip_get_vop_format() calls > drm_atomic_get_bridge_state(), which takes the bridge private object > lock through the atomic state's ww acquire context and may therefore > fail with -EDEADLK when the lock is contended. > > The DRM core expects -EDEADLK to be propagated up from atomic_check() > so it can drop all held locks and restart the commit. Replacing it > with a hardcoded -EINVAL defeats this backoff mechanism, making > otherwise valid commits fail spuriously when multiple threads perform > atomic commits concurrently. > > Propagate the error code returned by the helper instead of > unnecessarily overriding it.
Reviewed-by: Daniel Stone <[email protected]>
