summaryrefslogtreecommitdiff
path: root/tests/gem_mmap_offset_exhaustion.c
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2015-10-09 16:47:05 +0300
committerVille Syrjälä <ville.syrjala@linux.intel.com>2015-10-09 16:47:05 +0300
commit9792e7b58095dc03e63c105c494308ed771168f6 (patch)
treed907a9b8d63479c208bcb51a1117c0aa03e155e2 /tests/gem_mmap_offset_exhaustion.c
parentbfea74a9f64a900bcb90f946b38746781017449f (diff)
s/gem_mmap/gem_mmap__gtt/
Get rid of the gem_mmap() alias of gem_mmap__gtt(). I don't see any point in having it. Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Stochastically-reviwewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'tests/gem_mmap_offset_exhaustion.c')
-rw-r--r--tests/gem_mmap_offset_exhaustion.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/gem_mmap_offset_exhaustion.c b/tests/gem_mmap_offset_exhaustion.c
index 6c517620..3ce60f3f 100644
--- a/tests/gem_mmap_offset_exhaustion.c
+++ b/tests/gem_mmap_offset_exhaustion.c
@@ -60,7 +60,7 @@ create_and_map_bo(int fd)
handle = gem_create(fd, OBJECT_SIZE);
- ptr = gem_mmap(fd, handle, OBJECT_SIZE, PROT_READ | PROT_WRITE);
+ ptr = gem_mmap__gtt(fd, handle, OBJECT_SIZE, PROT_READ | PROT_WRITE);
igt_assert(ptr);
/* touch it to force it into the gtt */