diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2015-10-09 16:47:05 +0300 |
---|---|---|
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2015-10-09 16:47:05 +0300 |
commit | 9792e7b58095dc03e63c105c494308ed771168f6 (patch) | |
tree | d907a9b8d63479c208bcb51a1117c0aa03e155e2 /tests/gem_tiled_pread_basic.c | |
parent | bfea74a9f64a900bcb90f946b38746781017449f (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_tiled_pread_basic.c')
-rw-r--r-- | tests/gem_tiled_pread_basic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/gem_tiled_pread_basic.c b/tests/gem_tiled_pread_basic.c index 421e35eb..407808bb 100644 --- a/tests/gem_tiled_pread_basic.c +++ b/tests/gem_tiled_pread_basic.c @@ -72,7 +72,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(fd, handle, sizeof(linear), PROT_READ | PROT_WRITE); + data = gem_mmap__gtt(fd, handle, sizeof(linear), PROT_READ | PROT_WRITE); for (i = 0; i < WIDTH*HEIGHT; i++) data[i] = i; munmap(data, sizeof(linear)); |