mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-26 07:30:17 +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:
@@ -74,7 +74,7 @@ bo_create (int fd, int tiling)
|
||||
|
||||
gem_set_tiling(fd, handle, tiling, 1024);
|
||||
|
||||
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);
|
||||
|
||||
gem_set_domain(fd, handle, I915_GEM_DOMAIN_GTT, I915_GEM_DOMAIN_GTT);
|
||||
|
||||
Reference in New Issue
Block a user