From: Michel Dänzer Date: Fri, 24 Aug 2012 15:31:48 +0000 (+0200) Subject: radeonsi: Don't write to the PA_SC_RASTER_CONFIG register. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6ca64393c9f357160c8439bf7e73610641c6ded2;p=mesa.git 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 Reviewed-by: Christian König --- diff --git a/src/gallium/drivers/radeonsi/si_state.c b/src/gallium/drivers/radeonsi/si_state.c index fced24cc4ec..b7a3cf45b13 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]));