2
0
mirror of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2025-09-04 20:19:47 +08:00
linux/drivers/gpu/drm/tests
Maxime Ripard 5d14c08a47
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>
2025-02-06 14:07:56 +01:00
..
.kunitconfig
drm_buddy_test.c drm-misc-next for 6.11: 2024-06-21 10:50:04 +10:00
drm_client_modeset_test.c drm/tests: client-modeset: Remove call to drm_kunit_helper_free_device() 2023-07-31 14:19:57 +02:00
drm_cmdline_parser_test.c drm/tests: Add tests for the new Monochrome value of tv_mode 2024-07-01 11:50:19 +02:00
drm_connector_test.c Linux 6.13 2025-01-23 14:42:21 +01:00
drm_damage_helper_test.c drm/tests: add missing MODULE_DESCRIPTION() macros 2024-06-10 10:32:48 +02:00
drm_dp_mst_helper_test.c drm/mst: remove mgr parameter and debug logging from drm_dp_get_vc_payload_bw() 2025-01-07 18:43:18 +02:00
drm_exec_test.c drm/tests: add missing MODULE_DESCRIPTION() macros 2024-06-10 10:32:48 +02:00
drm_format_helper_test.c drm/format-helper: Pass format-conversion state to helpers 2023-11-14 10:16:53 +01:00
drm_format_test.c drm/tests: add missing MODULE_DESCRIPTION() macros 2024-06-10 10:32:48 +02:00
drm_framebuffer_test.c drm/tests: Add test for drm_framebuffer_free() 2024-09-11 14:17:11 +02:00
drm_gem_shmem_test.c Linux 6.11-rc5 2024-08-27 14:09:45 +02:00
drm_hdmi_state_helper_test.c drm/tests: hdmi: Fix recursive locking 2025-02-06 14:07:56 +01:00
drm_kunit_edid.h drm/display: hdmi: add generic mode_valid helper 2024-12-05 14:36:01 +02:00
drm_kunit_helpers.c drm/tests: helpers: Fix compiler warning 2025-01-06 09:57:44 +01:00
drm_managed_test.c drm/tests: add missing MODULE_DESCRIPTION() macros 2024-06-10 10:32:48 +02:00
drm_mm_test.c drm/tests: add missing MODULE_DESCRIPTION() macros 2024-06-10 10:32:48 +02:00
drm_modes_test.c drm/tests: Add tests for the new Monochrome value of tv_mode 2024-07-01 11:50:19 +02:00
drm_plane_helper_test.c drm/tests: add missing MODULE_DESCRIPTION() macros 2024-06-10 10:32:48 +02:00
drm_probe_helper_test.c drm/tests: add missing MODULE_DESCRIPTION() macros 2024-06-10 10:32:48 +02:00
drm_rect_test.c drm/tests: add missing MODULE_DESCRIPTION() macros 2024-06-10 10:32:48 +02:00
Makefile drm/tests: Add output bpc tests 2024-05-28 10:09:38 +02:00