iris: Increase BATCH_SZ to 64kB
authorKenneth Graunke <kenneth@whitecape.org>
Tue, 6 Aug 2019 15:20:58 +0000 (08:20 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Tue, 6 Aug 2019 16:09:26 +0000 (09:09 -0700)
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

index 64a047d1b3797d757238fcc38e50df2d6a3873f8..557ba8dbfeaed43a978f90ed2a389d45133503fd 100644 (file)
@@ -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,