From bbb6875f35c783d4f350dc9fbf2e2904b3d47a5a Mon Sep 17 00:00:00 2001 From: Kristian Høgsberg Kristensen Date: Thu, 3 Dec 2015 23:58:05 -0800 Subject: vk: Map uncached, coherent memory as write-combine This gives us the required characteristics for the memory type. --- src/vulkan/anv_private.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/vulkan/anv_private.h') 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); -- cgit v1.2.3