diff options
author | Alex Deucher <alexdeucher@gmail.com> | 2014-04-02 08:42:48 -0400 |
---|---|---|
committer | Christian König <christian.koenig@amd.com> | 2014-04-03 12:41:02 +0200 |
commit | a8947f576728a66bd3aac629bd8ca021a010c808 (patch) | |
tree | 81f7736335300a11b47ce8c8d826c17f6eb721cd /drivers/gpu/drm/radeon/cik.c | |
parent | 16086279353cbfecbb3ead474072dced17b97ddc (diff) | |
download | op-kernel-dev-a8947f576728a66bd3aac629bd8ca021a010c808.zip op-kernel-dev-a8947f576728a66bd3aac629bd8ca021a010c808.tar.gz |
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
Diffstat (limited to 'drivers/gpu/drm/radeon/cik.c')
-rw-r--r-- | drivers/gpu/drm/radeon/cik.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/radeon/cik.c b/drivers/gpu/drm/radeon/cik.c index 62fefbb..581f9e0 100644 --- a/drivers/gpu/drm/radeon/cik.c +++ b/drivers/gpu/drm/radeon/cik.c @@ -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); |