From: Kristian H. Kristensen Date: Sat, 23 Feb 2019 19:23:54 +0000 (-0800) Subject: freedreno/a6xx: Don't zero SO buffer addresses X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a5a19d1bc8d057845af07b14eb62d83c031fe662;p=mesa.git 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 --- 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);