diff options
author | Kristian Høgsberg Kristensen <[email protected]> | 2015-12-03 23:58:05 -0800 |
---|---|---|
committer | Kristian Høgsberg Kristensen <[email protected]> | 2015-12-04 09:51:47 -0800 |
commit | bbb6875f35c783d4f350dc9fbf2e2904b3d47a5a (patch) | |
tree | 3a92815ebd7af2607228900674c98e1ef32c2517 /src/vulkan/anv_private.h | |
parent | c3c61d210f0929a71e031dfb3830bf39cee583a4 (diff) |
vk: Map uncached, coherent memory as write-combine
This gives us the required characteristics for the memory type.
Diffstat (limited to 'src/vulkan/anv_private.h')
-rw-r--r-- | src/vulkan/anv_private.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vulkan/anv_private.h b/src/vulkan/anv_private.h index 7c8cf241624..cc0281a0d9a 100644 --- a/src/vulkan/anv_private.h +++ b/src/vulkan/anv_private.h @@ -597,7 +597,7 @@ struct anv_device { }; void* anv_gem_mmap(struct anv_device *device, - uint32_t gem_handle, uint64_t offset, uint64_t size); + uint32_t gem_handle, uint64_t offset, uint64_t size, uint32_t flags); void anv_gem_munmap(void *p, uint64_t size); uint32_t anv_gem_create(struct anv_device *device, size_t size); void anv_gem_close(struct anv_device *device, int gem_handle); |