aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/iris/iris_batch.h
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2019-08-06 08:20:58 -0700
committerKenneth Graunke <[email protected]>2019-08-06 09:09:26 -0700
commit382f92a81436a78f059daae86b4dfd2845635f92 (patch)
tree0d123b6a206a9b976b503bcb0f2e0979e2dc08ee /src/gallium/drivers/iris/iris_batch.h
parent2af00b1fdd9ce58b9e953540e447fdce4d3b9502 (diff)
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.
Diffstat (limited to 'src/gallium/drivers/iris/iris_batch.h')
-rw-r--r--src/gallium/drivers/iris/iris_batch.h2
1 files changed, 1 insertions, 1 deletions
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,