freedreno: a2xx: fix VERTEX_REUSE/DEALLOC on a20x
authorJonathan Marek <jonathan@marek.ca>
Tue, 18 Dec 2018 23:11:04 +0000 (18:11 -0500)
committerRob Clark <robdclark@gmail.com>
Mon, 21 Jan 2019 14:22:22 +0000 (09:22 -0500)
commit02ab85afd8b63b90190c086b56c23c7151dbc5c5
tree3fbc12eb61235a8545cf2ee30c23aecfcc628ec1
parent0286a11b7e5ecb7f428a0eaab014a33bd444ea0d
freedreno: a2xx: fix VERTEX_REUSE/DEALLOC on a20x

On a20x, set VGT_VERTEX_REUSE_BLOCK_CNTL to 2 and don't change it. Small
rearrangement on a220 to reduce the size of draw commands.

Only set DEALLOC_CNTL on a20x because the correct a220 value is not known.

Signed-off-by: Jonathan Marek <jonathan@marek.ca>
Reviewed-by: Rob Clark <robdclark@gmail.com>
src/gallium/drivers/freedreno/a2xx/fd2_draw.c
src/gallium/drivers/freedreno/a2xx/fd2_emit.c
src/gallium/drivers/freedreno/a2xx/fd2_gmem.c