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

Commit a8947f57 authored by Alex Deucher's avatar Alex Deucher Committed by Christian König
Browse files

drm/radeon: fix endian swap on hawaii clear state buffer setup



Need to swap on BE.

Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Reviewed-by: default avatarChristian König <christian.koenig@amd.com>
Cc: stable@vger.kernel.org
parent 16086279
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -6542,8 +6542,8 @@ void cik_get_csb_buffer(struct radeon_device *rdev, volatile u32 *buffer)
		buffer[count++] = cpu_to_le32(0x00000000);
		break;
	case CHIP_HAWAII:
		buffer[count++] = 0x3a00161a;
		buffer[count++] = 0x0000002e;
		buffer[count++] = cpu_to_le32(0x3a00161a);
		buffer[count++] = cpu_to_le32(0x0000002e);
		break;
	default:
		buffer[count++] = cpu_to_le32(0x00000000);