[Intel-gfx] [PATCH igt] igt/kms_vblank: To set a mode requires DRM_MASTER

Chris Wilson chris at chris-wilson.co.uk
Mon Dec 11 09:06:12 UTC 2017


Fixes: ba86514759c6 ("kms_vblank: Switch from using crtc0 statically to explicitly setting mode.")
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=104208
Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
---
 tests/kms_vblank.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/kms_vblank.c b/tests/kms_vblank.c
index 97ccacc4a..342e4ef23 100644
--- a/tests/kms_vblank.c
+++ b/tests/kms_vblank.c
@@ -343,7 +343,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);
 		igt_display_require_output(&data.display);
-- 
2.15.1



More information about the Intel-gfx mailing list