Maxime Ripard <[email protected]> writes: > The atomic state API is allowed to return -EDEADLK whenever the > wound/wait mutex code detects a deadlock, and the caller is then > expected to back off and restart the whole sequence. > > drm_test_check_hdmi_color_format_420_only() wasn't doing any of that, > and reported a spurious failure when drm_atomic_set_crtc_for_connector() > returned -EDEADLK. Since the ticket ordering depends on the execution, > this could only be observed occasionally: the structurally identical > drm_test_check_hdmi_color_format() test hasn't been observed to fail so > far. > > Add the usual backoff and restart pattern. > > Fixes: f7235a4805a4 ("drm/tests: hdmi: Add tests for the color_format > property") > Signed-off-by: Maxime Ripard <[email protected]> > ---
Acked-by: Javier Martinez Canillas <[email protected]> -- Best regards, Javier Martinez Canillas Core Platforms Red Hat
