summaryrefslogtreecommitdiff
path: root/tests/gem_workarounds.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/gem_workarounds.c')
-rw-r--r--tests/gem_workarounds.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/gem_workarounds.c b/tests/gem_workarounds.c
index 3759c23a..87c798b9 100644
--- a/tests/gem_workarounds.c
+++ b/tests/gem_workarounds.c
@@ -183,7 +183,7 @@ igt_main
char *line = NULL;
size_t line_size;
- drm_fd = drm_open_any();
+ drm_fd = drm_open_driver(DRIVER_INTEL);
bufmgr = drm_intel_bufmgr_gem_init(drm_fd, 4096);
devid = intel_get_drm_devid(drm_fd);