projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2af00b1
)
iris: Increase BATCH_SZ to 64kB
author
Kenneth Graunke
<kenneth@whitecape.org>
Tue, 6 Aug 2019 15:20:58 +0000
(08:20 -0700)
committer
Kenneth 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
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/iris/iris_batch.h
b/src/gallium/drivers/iris/iris_batch.h
index 64a047d1b3797d757238fcc38e50df2d6a3873f8..557ba8dbfeaed43a978f90ed2a389d45133503fd 100644
(file)
--- 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,