diff options
author | Alex Deucher <[email protected]> | 2016-05-23 15:53:56 -0400 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2016-06-01 09:59:57 -0400 |
commit | bd85e4a041c13c0c8a6a9abc7d15d1ceede42cea (patch) | |
tree | 8687119a0ba4444fa824199c094652424b357138 /src/gallium | |
parent | 6400144041da541e81d88679f5535f04ccabbbc4 (diff) |
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 <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Cc: 11.1 11.2 12.0 <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_state.c | 5 |
1 files changed, 4 insertions, 1 deletions
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: |