summaryrefslogtreecommitdiff
path: root/tests/gem_hang.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/gem_hang.c')
-rw-r--r--tests/gem_hang.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/gem_hang.c b/tests/gem_hang.c
index d406709f..f506fc70 100644
--- a/tests/gem_hang.c
+++ b/tests/gem_hang.c
@@ -76,7 +76,7 @@ int main(int argc, char **argv)
bad_pipe = atoi(argv[1]);
- 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);