From 87787c4a877dc4968724e4b2279eef1647b12ec9 Mon Sep 17 00:00:00 2001 From: Paulo Zanoni Date: Tue, 18 Jun 2024 15:26:16 -0700 Subject: [PATCH] anv/xe: fix declaration of memory flags for integrated non-LLC platforms MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Makes Cyberpunk, Hitman and Total War Warhammer 3 run on LNL. Fixes: c9e41f25a1bd ("anv: Add heaps for Xe KMD in platforms without LLC") Reviewed-by: José Roberto de Souza Reviewed-by: Jordan Justen Signed-off-by: Paulo Zanoni Part-of: --- src/intel/vulkan/xe/anv_device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/intel/vulkan/xe/anv_device.c b/src/intel/vulkan/xe/anv_device.c index 97b1fb46446..379567cd9f1 100644 --- a/src/intel/vulkan/xe/anv_device.c +++ b/src/intel/vulkan/xe/anv_device.c @@ -164,7 +164,7 @@ anv_xe_physical_device_init_memory_types(struct anv_physical_device *device) device->memory.types[device->memory.type_count++] = (struct anv_memory_type) { .propertyFlags = VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT | VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT | - VK_MEMORY_PROPERTY_HOST_COHERENT_BIT, + VK_MEMORY_PROPERTY_HOST_COHERENT_BIT | VK_MEMORY_PROPERTY_HOST_CACHED_BIT, .heapIndex = 0, };