summaryrefslogtreecommitdiff
path: root/tests/gem_multi_bsd_sync_loop.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/gem_multi_bsd_sync_loop.c')
-rw-r--r--tests/gem_multi_bsd_sync_loop.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/gem_multi_bsd_sync_loop.c b/tests/gem_multi_bsd_sync_loop.c
index 1d36bef0..1e03544f 100644
--- a/tests/gem_multi_bsd_sync_loop.c
+++ b/tests/gem_multi_bsd_sync_loop.c
@@ -106,7 +106,7 @@ igt_simple_main
int devid;
int i;
- fd = drm_open_any();
+ fd = drm_open_driver(DRIVER_INTEL);
devid = intel_get_drm_devid(fd);
gem_require_ring(fd, I915_EXEC_BLT);
@@ -127,7 +127,7 @@ igt_simple_main
for (i = 0; i < NUM_FD; i++) {
sprintf(buffer_name, "Target buffer %d\n", i);
- mfd[i] = drm_open_any();
+ mfd[i] = drm_open_driver(DRIVER_INTEL);
mbufmgr[i] = drm_intel_bufmgr_gem_init(mfd[i], 4096);
igt_assert_f(mbufmgr[i],
"fail to initialize buf manager for drm_fd %d\n",