From 382f92a81436a78f059daae86b4dfd2845635f92 Mon Sep 17 00:00:00 2001 From: Kenneth Graunke Date: Tue, 6 Aug 2019 08:20:58 -0700 Subject: [PATCH] iris: Increase BATCH_SZ to 64kB This seems to improve performance by roughly ~1% across the board. Thanks to Rafael Antognolli and Dan Walsh for their help tuning. --- src/gallium/drivers/iris/iris_batch.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/iris/iris_batch.h b/src/gallium/drivers/iris/iris_batch.h index 64a047d1b37..557ba8dbfea 100644 --- a/src/gallium/drivers/iris/iris_batch.h +++ b/src/gallium/drivers/iris/iris_batch.h @@ -39,7 +39,7 @@ #define MAX_BATCH_SIZE (256 * 1024) /* Our target batch size - flush approximately at this point. */ -#define BATCH_SZ (20 * 1024) +#define BATCH_SZ (64 * 1024) enum iris_batch_name { IRIS_BATCH_RENDER, -- 2.30.2