aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2019-06-23 09:26:59 -0500
committerJason Ekstrand <[email protected]>2019-07-10 19:35:23 +0000
commitbb14abed18638c85b7892f435b9ac26d5b62edd4 (patch)
tree9e3cc30ab7f4a2c232293e8481d1239f79c14b6a
parent6a2ff217b8a7f126771ce73783be4e2fa4eac5c2 (diff)
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 <[email protected]> Reviewed-by: Lionel Landwerlin <[email protected]>
-rw-r--r--src/intel/vulkan/anv_device.c2
1 files changed, 1 insertions, 1 deletions
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;