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:
committed by
Marge Bot
parent
83c76b8efb
commit
7172fb56d9
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user