From cb69a130790f893609d10f86effb3c33cb62bca5 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Tue, 5 Mar 2024 13:05:37 -0500 Subject: [PATCH] nvk: bump NVK_PUSH_MAX_SYNCS to 256 technically this needs to be MUCH higher since there's no limitation on the number of semaphore waits that can be submitted, but this is enough to handle zink usage fixes KHR-GL46.sparse_buffer_tests.BufferStorageTest cc: mesa-stable Part-of: (cherry picked from commit 9a53e3b1fd2db1cdc83531e54b4775b6f071c615) --- .pick_status.json | 2 +- src/nouveau/vulkan/nvk_queue_drm_nouveau.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.pick_status.json b/.pick_status.json index 92e2e8f500b..91a929c2193 100644 --- a/.pick_status.json +++ b/.pick_status.json @@ -924,7 +924,7 @@ "description": "nvk: bump NVK_PUSH_MAX_SYNCS to 256", "nominated": true, "nomination_type": 0, - "resolution": 0, + "resolution": 1, "main_sha": null, "because_sha": null, "notes": null diff --git a/src/nouveau/vulkan/nvk_queue_drm_nouveau.c b/src/nouveau/vulkan/nvk_queue_drm_nouveau.c index 3c7653a48c0..86252bf2c7e 100644 --- a/src/nouveau/vulkan/nvk_queue_drm_nouveau.c +++ b/src/nouveau/vulkan/nvk_queue_drm_nouveau.c @@ -20,7 +20,7 @@ #include -#define NVK_PUSH_MAX_SYNCS 16 +#define NVK_PUSH_MAX_SYNCS 256 #define NVK_PUSH_MAX_BINDS 4096 #define NVK_PUSH_MAX_PUSH 1024