drm/radeon: update cik_get_csb_buffer for hawaii
authorAlex Deucher <alexander.deucher@amd.com>
Wed, 14 Aug 2013 02:59:41 +0000 (22:59 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 8 Nov 2013 17:33:45 +0000 (12:33 -0500)
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>
drivers/gpu/drm/radeon/cik.c

index c949ad23c871452d351994abd3850330269e8582..ae92aa041c6a59b4174c05bbfef02fcd60f53d43 100644 (file)
@@ -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);