diff options
author | Maxime Ripard <mripard@kernel.org> | 2025-01-29 17:21:56 +0300 |
---|---|---|
committer | Maxime Ripard <mripard@kernel.org> | 2025-02-06 16:07:56 +0300 |
commit | 5d14c08a47460e8eedf0185a28b116420ea7f29d (patch) | |
tree | e156e874ba7365308cf041d14845a3d7d1baa7ee /tools/perf/scripts/python/syscall-counts.py | |
parent | 6b6bfd63e1626ceedc738b2a06505aa5b46c1481 (diff) | |
download | linux-5d14c08a47460e8eedf0185a28b116420ea7f29d.tar.xz |
drm/tests: hdmi: Fix recursive locking
The find_preferred_mode() functions takes the mode_config mutex, but due
to the order most tests have, is called with the crtc_ww_class_mutex
taken. This raises a warning for a circular dependency when running the
tests with lockdep.
Reorder the tests to call find_preferred_mode before the acquire context
has been created to avoid the issue.
Reviewed-by: Simona Vetter <simona.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20250129-test-kunit-v2-4-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