From 7fa0fceabaa614e893b1ff0f635bd1b6c1fb237c Mon Sep 17 00:00:00 2001 From: Lionel Landwerlin Date: Mon, 20 Mar 2023 13:57:15 +0200 Subject: [PATCH] anv: increase workaround BO so that we can hold a full 4Kb page of 0s At the beginning of the buffer is located the driver identifier for error states. Signed-off-by: Lionel Landwerlin Reviewed-by: Kenneth Graunke Part-of: --- src/intel/vulkan/anv_device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/intel/vulkan/anv_device.c b/src/intel/vulkan/anv_device.c index c8f3c0d..5fd736f 100644 --- a/src/intel/vulkan/anv_device.c +++ b/src/intel/vulkan/anv_device.c @@ -3227,7 +3227,7 @@ VkResult anv_CreateDevice( goto fail_binding_table_pool; } - result = anv_device_alloc_bo(device, "workaround", 4096, + result = anv_device_alloc_bo(device, "workaround", 8192, ANV_BO_ALLOC_CAPTURE | ANV_BO_ALLOC_MAPPED, 0 /* explicit_address */, -- 2.7.4