From 7050ab510decce2606ffcd0298b3c7fb13a1401e Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Tue, 5 Aug 2014 11:00:08 -0700 Subject: [PATCH] vc4: Clarify some values implicitly chosen for binning config. These #defines are 0, but it should help make math above make more sense. --- src/gallium/drivers/vc4/vc4_draw.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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); -- 2.30.2