From af0af75881ea99452086afd6907780de77af6e96 Mon Sep 17 00:00:00 2001 From: Alex Deucher Date: Thu, 24 Jan 2013 19:09:48 -0500 Subject: [PATCH] radeonsi: default PA_SC_RASTER_CONFIG to 0 That should work in all cases. Signed-off-by: Alex Deucher Note: this is a candidate for the 9.1 branch. --- src/gallium/drivers/radeonsi/si_state.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/gallium/drivers/radeonsi/si_state.c b/src/gallium/drivers/radeonsi/si_state.c index 6478e9a42dd..6e508323429 100644 --- a/src/gallium/drivers/radeonsi/si_state.c +++ b/src/gallium/drivers/radeonsi/si_state.c @@ -2662,12 +2662,14 @@ void si_init_config(struct r600_context *rctx) si_pm4_set_reg(pm4, R_028350_PA_SC_RASTER_CONFIG, 0x2a00126a); break; case CHIP_VERDE: - default: si_pm4_set_reg(pm4, R_028350_PA_SC_RASTER_CONFIG, 0x0000124a); break; case CHIP_OLAND: si_pm4_set_reg(pm4, R_028350_PA_SC_RASTER_CONFIG, 0x00000082); break; + default: + si_pm4_set_reg(pm4, R_028350_PA_SC_RASTER_CONFIG, 0x00000000); + break; } si_pm4_set_state(rctx, init, pm4); -- 2.30.2