From 7172fb56d965bab45194de6cc7a14e1d733aeeab Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Thu, 1 Sep 2022 09:15:06 -0400 Subject: [PATCH] zink bump batch state limit a bit this should yield better throughput Reviewed-by: Adam Jackson Part-of: --- src/gallium/drivers/zink/zink_batch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/zink/zink_batch.c b/src/gallium/drivers/zink/zink_batch.c index 3935b02f77a..d4e09d1ae12 100644 --- a/src/gallium/drivers/zink/zink_batch.c +++ b/src/gallium/drivers/zink/zink_batch.c @@ -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;