summaryrefslogtreecommitdiff
path: root/tests/gem_fd_exhaustion.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/gem_fd_exhaustion.c')
-rw-r--r--tests/gem_fd_exhaustion.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/gem_fd_exhaustion.c b/tests/gem_fd_exhaustion.c
index b768c726..e919dfcc 100644
--- a/tests/gem_fd_exhaustion.c
+++ b/tests/gem_fd_exhaustion.c
@@ -54,7 +54,7 @@ igt_simple_main
rlim.rlim_max = nofile_rlim;
igt_assert(setrlimit(RLIMIT_NOFILE, &rlim) == 0);
- fd = drm_open_any();
+ fd = drm_open_driver(DRIVER_INTEL);
igt_assert(open("/dev/null", O_RDONLY) >= 0);