Mesa (master): radeonsi: Don't write to the PA_SC_RASTER_CONFIG register.

Michel Dänzer daenzer at kemper.freedesktop.org
Tue Aug 28 18:29:46 UTC 2012


Module: Mesa
Branch: master
Commit: 6ca64393c9f357160c8439bf7e73610641c6ded2
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6ca64393c9f357160c8439bf7e73610641c6ded2

Author: Michel Dänzer <michel.daenzer at amd.com>
Date:   Fri Aug 24 17:31:48 2012 +0200

radeonsi: Don't write to the PA_SC_RASTER_CONFIG register.

It should be initialized by the kernel as necessary.

Signed-off-by: Michel Dänzer <michel.daenzer at amd.com>
Reviewed-by: Christian König <christian.koenig at amd.com>

---

 src/gallium/drivers/radeonsi/si_state.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/src/gallium/drivers/radeonsi/si_state.c b/src/gallium/drivers/radeonsi/si_state.c
index fced24c..b7a3cf4 100644
--- a/src/gallium/drivers/radeonsi/si_state.c
+++ b/src/gallium/drivers/radeonsi/si_state.c
@@ -286,7 +286,6 @@ static void si_set_viewport_state(struct pipe_context *ctx,
 	viewport->viewport = *state;
 	si_pm4_set_reg(pm4, R_0282D0_PA_SC_VPORT_ZMIN_0, 0x00000000);
 	si_pm4_set_reg(pm4, R_0282D4_PA_SC_VPORT_ZMAX_0, 0x3F800000);
-	si_pm4_set_reg(pm4, R_028350_PA_SC_RASTER_CONFIG, 0x00000000);
 	si_pm4_set_reg(pm4, R_02843C_PA_CL_VPORT_XSCALE_0, fui(state->scale[0]));
 	si_pm4_set_reg(pm4, R_028440_PA_CL_VPORT_XOFFSET_0, fui(state->translate[0]));
 	si_pm4_set_reg(pm4, R_028444_PA_CL_VPORT_YSCALE_0, fui(state->scale[1]));




More information about the mesa-commit mailing list