summaryrefslogtreecommitdiff
path: root/tests/gem_tiled_wc.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/gem_tiled_wc.c')
-rw-r--r--tests/gem_tiled_wc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/gem_tiled_wc.c b/tests/gem_tiled_wc.c
index 3eee7967..66b35c8f 100644
--- a/tests/gem_tiled_wc.c
+++ b/tests/gem_tiled_wc.c
@@ -65,7 +65,7 @@ create_bo(int fd)
gem_set_tiling(fd, handle, I915_TILING_X, WIDTH * sizeof(uint32_t));
/* Fill the BO with dwords starting at start_val */
- data = gem_mmap__gtt(fd, handle, SIZE, PROT_READ | PROT_WRITE);
+ data = __gem_mmap__gtt(fd, handle, SIZE, PROT_READ | PROT_WRITE);
igt_assert(data);
for (i = 0; i < WIDTH*HEIGHT; i++)
data[i] = i;
@@ -174,7 +174,7 @@ igt_simple_main
first_page = offset & ~(PAGE_SIZE-1);
last_page = (offset + len + PAGE_SIZE) & ~(PAGE_SIZE-1);
- linear = gem_mmap__wc(fd, handle, first_page, last_page - first_page, PROT_READ);
+ linear = __gem_mmap__wc(fd, handle, first_page, last_page - first_page, PROT_READ);
igt_assert(linear);
/* Translate from offsets in the read buffer to the swizzled