diff options
Diffstat (limited to 'tests/gem_tiled_wb.c')
-rw-r--r-- | tests/gem_tiled_wb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/gem_tiled_wb.c b/tests/gem_tiled_wb.c index 654628ec..0a30a481 100644 --- a/tests/gem_tiled_wb.c +++ b/tests/gem_tiled_wb.c @@ -71,7 +71,7 @@ create_bo(int fd) /* Write throught the fence to tiled the data. * We then manually detile on reading back through the mmap(wc). */ - 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; @@ -179,7 +179,7 @@ igt_simple_main last_page = (offset + len + PAGE_SIZE) & ~(PAGE_SIZE-1); offset -= first_page; - linear = gem_mmap__cpu(fd, handle, first_page, last_page - first_page, PROT_READ); + linear = __gem_mmap__cpu(fd, handle, first_page, last_page - first_page, PROT_READ); igt_assert(linear); |