sna: Fix cast from u64 to pointer for 32-bit hosts
Missing chunk from
commit 42330fbae8
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date: Sun Sep 22 14:39:57 2013 +0100
sna: Track CPU/GTT maps independently
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
parent
bee26a8e2e
commit
e4850bbbcc
|
|
@ -5063,7 +5063,7 @@ retry:
|
|||
VG(VALGRIND_MAKE_MEM_DEFINED(mmap_arg.addr_ptr, bytes(bo)));
|
||||
|
||||
DBG(("%s: caching CPU vma for %d\n", __FUNCTION__, bo->handle));
|
||||
return bo->map__cpu = (void *)(mmap_arg.addr_ptr);
|
||||
return bo->map__cpu = (void *)(uintptr_t)mmap_arg.addr_ptr;
|
||||
}
|
||||
|
||||
uint32_t kgem_bo_flink(struct kgem *kgem, struct kgem_bo *bo)
|
||||
|
|
|
|||
Loading…
Reference in New Issue