Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bbfe90bd authored by Alex Deucher's avatar Alex Deucher
Browse files

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: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 2d40038d
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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);