diff options
author | 2025-01-29 15:21:56 +0100 | |
---|---|---|
committer | 2025-02-06 14:07:56 +0100 | |
commit | 5d14c08a47460e8eedf0185a28b116420ea7f29d (patch) | |
tree | e156e874ba7365308cf041d14845a3d7d1baa7ee /net/lapb/lapb_timer.c | |
parent | drm/tests: hdmi: Reorder DRM entities variables assignment (diff) | |
download | wireguard-linux-5d14c08a47460e8eedf0185a28b116420ea7f29d.tar.xz wireguard-linux-5d14c08a47460e8eedf0185a28b116420ea7f29d.zip |
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 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions