From: Jason Ekstrand Date: Sun, 23 Jun 2019 14:26:59 +0000 (-0500) Subject: anv: Make the workaround BO a whole page X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bb14abed18638c85b7892f435b9ac26d5b62edd4;p=mesa.git 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 --- 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;