mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-07-23 18:06:18 +00:00
igt/gem_userptr_blits/dmabuf: Map the right pointer for !llc
References: https://bugs.freedesktop.org/show_bug.cgi?id=85354#c2 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
parent
eae9f724f2
commit
e497600fb7
@ -687,7 +687,7 @@ static void *umap(int fd, uint32_t handle)
|
||||
} else {
|
||||
uint32_t tmp = gem_create(fd, sizeof(linear));
|
||||
copy(fd, tmp, handle, 0);
|
||||
ptr = gem_mmap__cpu(fd, handle, sizeof(linear), PROT_READ);
|
||||
ptr = gem_mmap__cpu(fd, tmp, sizeof(linear), PROT_READ);
|
||||
gem_close(fd, tmp);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user