From: Kenneth Graunke Date: Tue, 6 Aug 2019 15:20:58 +0000 (-0700) Subject: iris: Increase BATCH_SZ to 64kB X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=382f92a81436a78f059daae86b4dfd2845635f92;p=mesa.git 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. --- 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,