diff options
author | Maxime Ripard <mripard@kernel.org> | 2025-01-29 17:21:53 +0300 |
---|---|---|
committer | Maxime Ripard <mripard@kernel.org> | 2025-02-06 16:07:09 +0300 |
commit | fb97bc2e47f694f79d6358d981ae0428db8e8088 (patch) | |
tree | 8ced7a30f87d4d45c91b246dfa15fc78edfdf6f1 /tools/perf/scripts/python/syscall-counts.py | |
parent | 2c1ed907520c50326b8f604907a8478b27881a2e (diff) | |
download | linux-fb97bc2e47f694f79d6358d981ae0428db8e8088.tar.xz |
drm/tests: hdmi: Fix WW_MUTEX_SLOWPATH failures
The light_up_connector helper function in the HDMI infrastructure unit
tests uses drm_atomic_set_crtc_for_connector(), but fails when it
returns an error.
This function can return EDEADLK though if the sequence needs to be
restarted, and WW_MUTEX_SLOWPATH is meant to test that we handle it
properly.
Let's handle EDEADLK and restart the sequence in our tests as well.
Fixes: eb66d34d793e ("drm/tests: Add output bpc tests")
Reported-by: Dave Airlie <airlied@gmail.com>
Closes: https://lore.kernel.org/r/CAPM=9tzJ4-ERDxvuwrCyUPY0=+P44orhp1kLWVGL7MCfpQjMEQ@mail.gmail.com/
Link: https://lore.kernel.org/r/20241031091558.2435850-1-mripard@kernel.org
Reviewed-by: Simona Vetter <simona.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20250129-test-kunit-v2-1-fe59c43805d5@kernel.org
Signed-off-by: Maxime Ripard <mripard@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions