radeonsi: Don't write to the PA_SC_RASTER_CONFIG register.
authorMichel Dänzer <michel.daenzer@amd.com>
Fri, 24 Aug 2012 15:31:48 +0000 (17:31 +0200)
committerMichel Dänzer <michel@daenzer.net>
Tue, 28 Aug 2012 18:24:52 +0000 (20:24 +0200)
It should be initialized by the kernel as necessary.

Signed-off-by: Michel Dänzer <michel.daenzer@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
src/gallium/drivers/radeonsi/si_state.c

index fced24cc4ec86eba2e121ac5008054615cec7ae6..b7a3cf45b13a2b00d1c3093b8dea924e68f5cf6b 100644 (file)
@@ -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]));