From: Alex Deucher Date: Mon, 23 May 2016 19:53:56 +0000 (-0400) Subject: radeonsi: fix the raster config setup for 1 RB iceland chips X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bd85e4a041c13c0c8a6a9abc7d15d1ceede42cea;p=mesa.git radeonsi: fix the raster config setup for 1 RB iceland chips 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 --- 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: