Commit dc907e0b authored by Alex Deucher's avatar Alex Deucher Committed by Kamal Mostafa

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

commit a8947f57 upstream.

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>
Signed-off-by: default avatarKamal Mostafa <kamal@canonical.com>
parent 107fcf4f
......@@ -6318,8 +6318,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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment