mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-27 16:10:28 +00:00
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>
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user