[igt-dev] [PATCH i-g-t 7/8] tests/kms_lease|sequence: Make sure we're master
Daniel Vetter
daniel.vetter at ffwll.ch
Fri Nov 2 20:53:49 UTC 2018
Signed-off-by: Daniel Vetter <daniel.vetter at ffwll.ch>
---
tests/kms_lease.c | 2 +-
tests/kms_sequence.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/kms_lease.c b/tests/kms_lease.c
index f5b66d86398e..942eaf5b9921 100644
--- a/tests/kms_lease.c
+++ b/tests/kms_lease.c
@@ -623,7 +623,7 @@ igt_main
igt_skip_on_simulation();
igt_fixture {
- data.master.fd = drm_open_driver(DRIVER_ANY);
+ data.master.fd = drm_open_driver_master(DRIVER_ANY);
kmstest_set_vt_graphics_mode();
igt_display_init(&data.master.display, data.master.fd);
}
diff --git a/tests/kms_sequence.c b/tests/kms_sequence.c
index 783dda25308f..c68f7707c7a4 100644
--- a/tests/kms_sequence.c
+++ b/tests/kms_sequence.c
@@ -298,7 +298,7 @@ igt_main
igt_skip_on_simulation();
igt_fixture {
- fd = drm_open_driver(DRIVER_ANY);
+ fd = drm_open_driver_master(DRIVER_ANY);
kmstest_set_vt_graphics_mode();
igt_display_init(&data.display, fd);
}
--
2.14.4
More information about the igt-dev
mailing list