summaryrefslogtreecommitdiff
path: root/tests/prime_self_import.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/prime_self_import.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/prime_self_import.c')
-rw-r--r--tests/prime_self_import.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/prime_self_import.c b/tests/prime_self_import.c
index 6c09cb0d..eb9ab065 100644
--- a/tests/prime_self_import.c
+++ b/tests/prime_self_import.c
@@ -60,8 +60,8 @@ check_bo(int fd1, uint32_t handle1, int fd2, uint32_t handle2)
char *ptr1, *ptr2;
int i;
- ptr1 = gem_mmap(fd1, handle1, BO_SIZE, PROT_READ | PROT_WRITE);
- ptr2 = gem_mmap(fd2, handle2, BO_SIZE, PROT_READ | PROT_WRITE);
+ ptr1 = gem_mmap__gtt(fd1, handle1, BO_SIZE, PROT_READ | PROT_WRITE);
+ ptr2 = gem_mmap__gtt(fd2, handle2, BO_SIZE, PROT_READ | PROT_WRITE);
igt_assert(ptr1);