mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-28 15:13:55 +08:00
drm/radeon: fix endian swap on hawaii clear state buffer setup
Need to swap on BE. Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com> Cc: stable@vger.kernel.org
This commit is contained in:
parent
1608627935
commit
a8947f5767
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user