diff options
author | Kristian H. Kristensen <[email protected]> | 2019-02-23 11:23:54 -0800 |
---|---|---|
committer | Kristian H. Kristensen <[email protected]> | 2019-02-28 10:43:53 -0800 |
commit | a5a19d1bc8d057845af07b14eb62d83c031fe662 (patch) | |
tree | 09976318f1ad2e3dab130f2a525ac7079a510162 /src/gallium | |
parent | 7dee91610550c00eb2c5e01f1f55474dca9338bd (diff) |
freedreno/a6xx: Don't zero SO buffer addresses
Just disable SO in VPC_SO_BUF_CNTL. Less noise in dumps.
Signed-off-by: Kristian H. Kristensen <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/drivers/freedreno/a6xx/fd6_emit.c | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/src/gallium/drivers/freedreno/a6xx/fd6_emit.c b/src/gallium/drivers/freedreno/a6xx/fd6_emit.c index f0e6e54785d..9fdc352c699 100644 --- a/src/gallium/drivers/freedreno/a6xx/fd6_emit.c +++ b/src/gallium/drivers/freedreno/a6xx/fd6_emit.c @@ -1175,47 +1175,9 @@ t7 opcode: CP_WAIT_FOR_IDLE (26) (1 dwords) OUT_RING(ring, CP_SET_DRAW_STATE__1_ADDR_LO(0)); OUT_RING(ring, CP_SET_DRAW_STATE__2_ADDR_HI(0)); - OUT_PKT4(ring, REG_A6XX_VPC_SO_BUFFER_BASE_LO(0), 3); - OUT_RING(ring, 0x00000000); /* VPC_SO_BUFFER_BASE_LO_0 */ - OUT_RING(ring, 0x00000000); /* VPC_SO_BUFFER_BASE_HI_0 */ - OUT_RING(ring, 0x00000000); /* VPC_SO_BUFFER_SIZE_0 */ - - OUT_PKT4(ring, REG_A6XX_VPC_SO_FLUSH_BASE_LO(0), 2); - OUT_RING(ring, 0x00000000); /* VPC_SO_FLUSH_BASE_LO_0 */ - OUT_RING(ring, 0x00000000); /* VPC_SO_FLUSH_BASE_HI_0 */ - OUT_PKT4(ring, REG_A6XX_VPC_SO_BUF_CNTL, 1); OUT_RING(ring, 0x00000000); /* VPC_SO_BUF_CNTL */ - OUT_PKT4(ring, REG_A6XX_VPC_SO_BUFFER_OFFSET(0), 1); - OUT_RING(ring, 0x00000000); /* UNKNOWN_E2AB */ - - OUT_PKT4(ring, REG_A6XX_VPC_SO_BUFFER_BASE_LO(1), 3); - OUT_RING(ring, 0x00000000); - OUT_RING(ring, 0x00000000); - OUT_RING(ring, 0x00000000); - - OUT_PKT4(ring, REG_A6XX_VPC_SO_BUFFER_OFFSET(1), 6); - OUT_RING(ring, 0x00000000); - OUT_RING(ring, 0x00000000); - OUT_RING(ring, 0x00000000); - OUT_RING(ring, 0x00000000); - OUT_RING(ring, 0x00000000); - OUT_RING(ring, 0x00000000); - - OUT_PKT4(ring, REG_A6XX_VPC_SO_BUFFER_OFFSET(2), 6); - OUT_RING(ring, 0x00000000); - OUT_RING(ring, 0x00000000); - OUT_RING(ring, 0x00000000); - OUT_RING(ring, 0x00000000); - OUT_RING(ring, 0x00000000); - OUT_RING(ring, 0x00000000); - - OUT_PKT4(ring, REG_A6XX_VPC_SO_BUFFER_OFFSET(3), 3); - OUT_RING(ring, 0x00000000); - OUT_RING(ring, 0x00000000); - OUT_RING(ring, 0x00000000); - OUT_PKT4(ring, REG_A6XX_SP_HS_CTRL_REG0, 1); OUT_RING(ring, 0x00000000); |