summaryrefslogtreecommitdiff
path: root/tests/gem_bad_batch.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/gem_bad_batch.c')
-rw-r--r--tests/gem_bad_batch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/gem_bad_batch.c b/tests/gem_bad_batch.c
index d93ccad2..a11e1918 100644
--- a/tests/gem_bad_batch.c
+++ b/tests/gem_bad_batch.c
@@ -56,7 +56,7 @@ igt_simple_main
{
int fd;
- fd = drm_open_any();
+ fd = drm_open_driver(DRIVER_INTEL);
bufmgr = drm_intel_bufmgr_gem_init(fd, 4096);
drm_intel_bufmgr_gem_enable_reuse(bufmgr);