summaryrefslogtreecommitdiff
path: root/tests/gem_largeobject.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/gem_largeobject.c')
-rw-r--r--tests/gem_largeobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/gem_largeobject.c b/tests/gem_largeobject.c
index d261939d..0da82057 100644
--- a/tests/gem_largeobject.c
+++ b/tests/gem_largeobject.c
@@ -64,7 +64,7 @@ test_large_object(int fd)
igt_assert(ioctl(fd, DRM_IOCTL_I915_GEM_CREATE, &create) == 0);
/* prefault */
- ptr = gem_mmap__gtt(fd, create.handle, obj_size, PROT_WRITE | PROT_READ);
+ ptr = __gem_mmap__gtt(fd, create.handle, obj_size, PROT_WRITE | PROT_READ);
igt_assert(ptr);
*ptr = 0;