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 <lionel.g.landwerlin@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21645>
This commit is contained in:
Lionel Landwerlin 2023-03-20 13:57:15 +02:00 committed by Marge Bot
parent 1f8ede792e
commit 7fa0fceaba

View file

@ -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 */,