summaryrefslogtreecommitdiff
path: root/tests/gem_mmap_gtt.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/gem_mmap_gtt.c')
-rw-r--r--tests/gem_mmap_gtt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/gem_mmap_gtt.c b/tests/gem_mmap_gtt.c
index b5f9d12e..8c26c22a 100644
--- a/tests/gem_mmap_gtt.c
+++ b/tests/gem_mmap_gtt.c
@@ -87,7 +87,7 @@ test_access(int fd)
handle = gem_create(fd, OBJECT_SIZE);
igt_assert(handle);
- fd2 = drm_open_any();
+ fd2 = drm_open_driver(DRIVER_INTEL);
/* Check that fd1 can mmap. */
mmap_arg.handle = handle;
@@ -520,7 +520,7 @@ igt_main
OBJECT_SIZE = 1 * 1024 * 1024;
igt_fixture
- fd = drm_open_any();
+ fd = drm_open_driver(DRIVER_INTEL);
igt_subtest("basic")
test_access(fd);