summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2014-08-05 11:00:08 -0700
committerEric Anholt <[email protected]>2014-08-11 14:45:32 -0700
commit7050ab510decce2606ffcd0298b3c7fb13a1401e (patch)
tree2e5caf2b9d6c72d52a3a55c6637dbc6bb68a2701 /src/gallium
parented5cb5d7d5d3d3cfeafcf67b2020044da9825abe (diff)
vc4: Clarify some values implicitly chosen for binning config.
These #defines are 0, but it should help make math above make more sense.
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/vc4/vc4_draw.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gallium/drivers/vc4/vc4_draw.c b/src/gallium/drivers/vc4/vc4_draw.c
index a76880cbb7f..2fb57aaede7 100644
--- a/src/gallium/drivers/vc4/vc4_draw.c
+++ b/src/gallium/drivers/vc4/vc4_draw.c
@@ -67,7 +67,10 @@ vc4_start_draw(struct vc4_context *vc4)
cl_reloc(vc4, &vc4->bcl, vc4->tile_state, 0);
cl_u8(&vc4->bcl, tilew);
cl_u8(&vc4->bcl, tileh);
- cl_u8(&vc4->bcl, VC4_BIN_CONFIG_AUTO_INIT_TSDA);
+ cl_u8(&vc4->bcl,
+ VC4_BIN_CONFIG_AUTO_INIT_TSDA |
+ VC4_BIN_CONFIG_ALLOC_BLOCK_SIZE_32 |
+ VC4_BIN_CONFIG_ALLOC_INIT_BLOCK_SIZE_32);
cl_u8(&vc4->bcl, VC4_PACKET_START_TILE_BINNING);