[PATCH 0/4] drm/vc4: tests: Fix locking failures

From: Maxime Ripard
Date: Tue Mar 18 2025 - 10:18:11 EST


Hi,

This series deals with (lack of) EDEADLK handling in vc4 PV muxing
tests.

This was leading to failures with CONFIG_DEBUG_WW_MUTEX_SLOWPATH
enabled.

Maxime

Signed-off-by: Maxime Ripard <mripard@xxxxxxxxxx>
---
Maxime Ripard (4):
drm/vc4: tests: Use return instead of assert
drm/vc4: tests: Document output handling functions
drm/vc4: tests: Stop allocating the state in test init
drm/vc4: tests: Retry pv-muxing tests when EDEADLK

drivers/gpu/drm/vc4/tests/vc4_mock_output.c | 62 +++++++++++++++----
drivers/gpu/drm/vc4/tests/vc4_test_pv_muxing.c | 85 +++++++++++++++++++++-----
2 files changed, 121 insertions(+), 26 deletions(-)
---
base-commit: c0988d693eb10e115d95747f8a0cccc83babb3fc
change-id: 20250318-drm-vc4-kunit-failures-313b4775c438

Best regards,
--
Maxime Ripard <mripard@xxxxxxxxxx>