mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-23 14:23:03 +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:
@@ -688,7 +688,7 @@ static void *umap(int fd, uint32_t handle)
|
||||
void *ptr;
|
||||
|
||||
if (gem_has_llc(fd)) {
|
||||
ptr = gem_mmap(fd, handle, sizeof(linear), PROT_READ | PROT_WRITE);
|
||||
ptr = gem_mmap__gtt(fd, handle, sizeof(linear), PROT_READ | PROT_WRITE);
|
||||
} else {
|
||||
uint32_t tmp = gem_create(fd, sizeof(linear));
|
||||
copy(fd, tmp, handle, 0);
|
||||
|
||||
Reference in New Issue
Block a user