From bd85e4a041c13c0c8a6a9abc7d15d1ceede42cea Mon Sep 17 00:00:00 2001 From: Alex Deucher Date: Mon, 23 May 2016 15:53:56 -0400 Subject: [PATCH] radeonsi: fix the raster config setup for 1 RB iceland chips MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit I didn't realize there were 1 and 2 RB variants when this code was originally added. Reviewed-by: Marek Olšák Signed-off-by: Alex Deucher Cc: 11.1 11.2 12.0 --- src/gallium/drivers/radeonsi/si_state.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/gallium/drivers/radeonsi/si_state.c b/src/gallium/drivers/radeonsi/si_state.c index 5bf87a8961a..58cbac4a4c0 100644 --- a/src/gallium/drivers/radeonsi/si_state.c +++ b/src/gallium/drivers/radeonsi/si_state.c @@ -3712,7 +3712,10 @@ static void si_init_config(struct si_context *sctx) raster_config_1 = 0x0000002a; break; case CHIP_ICELAND: - raster_config = 0x00000002; + if (num_rb == 1) + raster_config = 0x00000000; + else + raster_config = 0x00000002; raster_config_1 = 0x00000000; break; case CHIP_CARRIZO: -- 2.30.2