zink bump batch state limit a bit

this should yield better throughput

Reviewed-by: Adam Jackson <ajax@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18664>
This commit is contained in:
Mike Blumenkrantz
2022-09-01 09:15:06 -04:00
committed by Marge Bot
parent 83c76b8efb
commit 7172fb56d9
+1 -1
View File
@@ -491,7 +491,7 @@ zink_end_batch(struct zink_context *ctx, struct zink_batch *batch)
struct zink_screen *screen = zink_screen(ctx->base.screen);
struct zink_batch_state *bs;
if (ctx->oom_flush || ctx->batch_states_count > 10) {
if (ctx->oom_flush || ctx->batch_states_count > 25) {
assert(!ctx->batch_states_count || ctx->batch_states);
while (ctx->batch_states) {
bs = ctx->batch_states;