From bb14abed18638c85b7892f435b9ac26d5b62edd4 Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Sun, 23 Jun 2019 09:26:59 -0500 Subject: [PATCH] anv: Make the workaround BO a whole page I'm not 100% sure how this ever worked because gem_create usually shoots you if the BO size isn't page-aligned. Reviewed-by: Chad Versace Reviewed-by: Lionel Landwerlin --- 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 bfba11fe8c9..c6645a8e843 100644 --- a/src/intel/vulkan/anv_device.c +++ b/src/intel/vulkan/anv_device.c @@ -2402,7 +2402,7 @@ VkResult anv_CreateDevice( goto fail_surface_state_pool; } - result = anv_bo_init_new(&device->workaround_bo, device, 1024); + result = anv_bo_init_new(&device->workaround_bo, device, 4096); if (result != VK_SUCCESS) goto fail_binding_table_pool; -- 2.30.2