[Mesa-dev] [PATCH] radeonsi: Don't write to the PA_SC_RASTER_CONFIG register.

Christian König deathsimple at vodafone.de
Fri Aug 24 09:12:01 PDT 2012


On 24.08.2012 17:37, Michel Dänzer wrote:
> From: Michel Dänzer <michel.daenzer at amd.com>
>
> 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 file changed, 1 deletion(-)
>
> diff --git a/src/gallium/drivers/radeonsi/si_state.c b/src/gallium/drivers/radeonsi/si_state.c
> index 5f7f415..ee7da21 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-dev mailing list