summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/cik.c
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2013-08-13 22:59:41 -0400
committerAlex Deucher <alexander.deucher@amd.com>2013-11-08 12:33:45 -0500
commitbbfe90bd4e3e5033e10bda3453c0055a9193c5d7 (patch)
tree0d2981d89ca163cfaefdb2adbcc4e1c306ed74c1 /drivers/gpu/drm/radeon/cik.c
parent2d40038d3f99a489fc1ef6c03d5a600de34c552f (diff)
downloadtalos-obmc-linux-bbfe90bd4e3e5033e10bda3453c0055a9193c5d7.tar.gz
talos-obmc-linux-bbfe90bd4e3e5033e10bda3453c0055a9193c5d7.zip
drm/radeon: update cik_get_csb_buffer for hawaii
Set the PA_SC_RASTER_CONFIG[_1] registers for hawaii. The rest is the same as the other asics. Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/cik.c')
-rw-r--r--drivers/gpu/drm/radeon/cik.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/cik.c b/drivers/gpu/drm/radeon/cik.c
index c949ad23c871..ae92aa041c6a 100644
--- a/drivers/gpu/drm/radeon/cik.c
+++ b/drivers/gpu/drm/radeon/cik.c
@@ -6316,6 +6316,10 @@ void cik_get_csb_buffer(struct radeon_device *rdev, volatile u32 *buffer)
buffer[count++] = cpu_to_le32(0x00000000); /* XXX */
buffer[count++] = cpu_to_le32(0x00000000);
break;
+ case CHIP_HAWAII:
+ buffer[count++] = 0x3a00161a;
+ buffer[count++] = 0x0000002e;
+ break;
default:
buffer[count++] = cpu_to_le32(0x00000000);
buffer[count++] = cpu_to_le32(0x00000000);
OpenPOWER on IntegriCloud