diff --git a/tests/kms_content_protection.c b/tests/kms_content_protection.c index 8b361fdefb2e38f0a468a3ad3fc03e135573cffa..3b9cedcb452217130d7b189fb05ed16d8c6e5f17 100644 --- a/tests/kms_content_protection.c +++ b/tests/kms_content_protection.c @@ -654,7 +654,7 @@ static void test_content_protection_cleanup(void) igt_main { igt_fixture { - data.drm_fd = drm_open_driver(DRIVER_ANY); + data.drm_fd = drm_open_driver_master(DRIVER_ANY); igt_display_require(&data.display, data.drm_fd); } diff --git a/tests/kms_panel_fitting.c b/tests/kms_panel_fitting.c index ac24730f8b77a031ca83b1e24555d64c45278b4e..065fc2df8067b76e9a575fe6b63bdb50b3a2742d 100644 --- a/tests/kms_panel_fitting.c +++ b/tests/kms_panel_fitting.c @@ -252,7 +252,7 @@ igt_main data_t data = {}; igt_fixture { - data.drm_fd = drm_open_driver(DRIVER_ANY); + data.drm_fd = drm_open_driver_master(DRIVER_ANY); igt_display_require(&data.display, data.drm_fd); igt_display_require_output(&data.display); } diff --git a/tests/kms_plane_alpha_blend.c b/tests/kms_plane_alpha_blend.c index d7dc44ab9ae96114b591df1380ccb7c80723beae..085099f812efd504ad8432ba6ce5ec1cfb31c592 100644 --- a/tests/kms_plane_alpha_blend.c +++ b/tests/kms_plane_alpha_blend.c @@ -565,7 +565,7 @@ igt_main enum pipe pipe; igt_fixture { - data.gfx_fd = drm_open_driver(DRIVER_ANY); + data.gfx_fd = drm_open_driver_master(DRIVER_ANY); igt_require_pipe_crc(data.gfx_fd); igt_display_require(&data.display, data.gfx_fd); igt_require(data.display.is_atomic);