aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi
diff options
context:
space:
mode:
authorAlex Deucher <[email protected]>2015-07-29 15:40:46 -0400
committerMarek Olšák <[email protected]>2015-08-14 15:02:29 +0200
commit767ad50a10d01274b1d1a877add12b5552ba6984 (patch)
treeb8eafd5351d5f36dbb1a4d5131e9586ed3e60475 /src/gallium/drivers/radeonsi
parent528a6ff5992e6710921d6e4157a8a51884bc277f (diff)
radeonsi: add support for FIJI (v4)
v2: incorporate comments from Marek v3: add missing fiji case in winsys init use tonga raster config (double check this) v4: rebase on harvest patch Reviewed-by: Marek Olšák <[email protected]> (v3) Reviewed-by: Christian König <[email protected]> (v3) Reviewed-by: David Zhang <[email protected]> (v3) Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi')
-rw-r--r--src/gallium/drivers/radeonsi/si_state.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeonsi/si_state.c b/src/gallium/drivers/radeonsi/si_state.c
index 34ef9e49d5c..21689e71b8b 100644
--- a/src/gallium/drivers/radeonsi/si_state.c
+++ b/src/gallium/drivers/radeonsi/si_state.c
@@ -3226,6 +3226,11 @@ static void si_init_config(struct si_context *sctx)
raster_config = 0x3a00161a;
raster_config_1 = 0x0000002e;
break;
+ case CHIP_FIJI:
+ /* Fiji should be same as Hawaii, but that causes corruption in some cases */
+ raster_config = 0x16000012; /* 0x3a00161a */
+ raster_config_1 = 0x0000002a; /* 0x0000002e */
+ break;
case CHIP_TONGA:
raster_config = 0x16000012;
raster_config_1 = 0x0000002a;