From: Kristian H. Kristensen Date: Tue, 16 Jun 2020 18:38:06 +0000 (-0700) Subject: freedreno/a6xx: Don't write REG_A6XX_RB_SRGB_CNTL in restore X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2580e4f921036bd63aa74d8343d1e05818ecf6cd;p=mesa.git freedreno/a6xx: Don't write REG_A6XX_RB_SRGB_CNTL in restore We configure this as part of MRT set up. Part-of: --- diff --git a/src/gallium/drivers/freedreno/a6xx/fd6_emit.c b/src/gallium/drivers/freedreno/a6xx/fd6_emit.c index 70c464b4afe..ed6dcf3239e 100644 --- a/src/gallium/drivers/freedreno/a6xx/fd6_emit.c +++ b/src/gallium/drivers/freedreno/a6xx/fd6_emit.c @@ -1159,9 +1159,6 @@ fd6_emit_restore(struct fd_batch *batch, struct fd_ringbuffer *ring) WRITE(REG_A6XX_RB_UNKNOWN_8811, 0x00000010); WRITE(REG_A6XX_PC_MODE_CNTL, 0x1f); - OUT_PKT4(ring, REG_A6XX_RB_SRGB_CNTL, 1); - OUT_RING(ring, 0); - WRITE(REG_A6XX_GRAS_UNKNOWN_8101, 0); WRITE(REG_A6XX_GRAS_SAMPLE_CNTL, 0); WRITE(REG_A6XX_GRAS_UNKNOWN_8110, 0x2);