]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/vc4: tests: Retry pv-muxing tests when EDEADLK
authorMaxime Ripard <mripard@kernel.org>
Thu, 3 Apr 2025 13:33:33 +0000 (15:33 +0200)
committerMaxime Ripard <mripard@kernel.org>
Mon, 7 Apr 2025 08:29:45 +0000 (10:29 +0200)
commitd5be7722d1736827a850556fd4d93e0fe2608c15
treee12ad8c57662dc05019e3520cf0e6110c2baad59
parent7e0351ae91ed2b6178abbfae96c3c6aaa1652567
drm/vc4: tests: Retry pv-muxing tests when EDEADLK

Some functions used by the HVS->PV muxing tests can return with EDEADLK,
meaning the entire sequence should be restarted. It's not a fatal error
and we should treat it as a recoverable error, and recover, instead of
failing the test like we currently do.

Fixes: 76ec18dc5afa ("drm/vc4: tests: Add unit test suite for the PV muxing")
Reviewed-by: MaĆ­ra Canal <mcanal@igalia.com>
Link: https://lore.kernel.org/r/20250403-drm-vc4-kunit-failures-v2-4-e09195cc8840@kernel.org
Signed-off-by: Maxime Ripard <mripard@kernel.org>
drivers/gpu/drm/vc4/tests/vc4_test_pv_muxing.c