mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-24 15:50:37 +02:00
v3dv: increase limit for active event objects
Fixes:ecb01d53fd("v3dv: refactor events") Fixes: dEQP-VK.api.command_buffers.execute_large_primary Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com> Reviewed-by: Eric Engestrom <eric@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19458> (cherry picked from commit4c861cf22a)
This commit is contained in:
parent
ef0210c517
commit
7f3657fbe3
2 changed files with 5 additions and 2 deletions
|
|
@ -2326,7 +2326,7 @@
|
|||
"description": "v3dv: increase limit for active event objects",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "ecb01d53fdb413121ce2a8f36ad67e51898eec00"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -231,8 +231,11 @@ v3dv_event_allocate_resources(struct v3dv_device *device)
|
|||
|
||||
/* BO with event states. Make sure we always align to a page size (4096)
|
||||
* to ensure we use all the memory the kernel will allocate for the BO.
|
||||
*
|
||||
* CTS has tests that require over 8192 active events (yes, really) so
|
||||
* let's make sure we allow for that.
|
||||
*/
|
||||
const uint32_t bo_size = 4096;
|
||||
const uint32_t bo_size = 3 * 4096;
|
||||
struct v3dv_bo *bo = v3dv_bo_alloc(device, bo_size, "events", true);
|
||||
if (!bo) {
|
||||
result = vk_error(device, VK_ERROR_OUT_OF_DEVICE_MEMORY);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue