projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1608627
)
drm/radeon: fix endian swap on hawaii clear state buffer setup
author
Alex Deucher
<alexdeucher@gmail.com>
Wed, 2 Apr 2014 12:42:48 +0000
(08:42 -0400)
committer
Christian König
<christian.koenig@amd.com>
Thu, 3 Apr 2014 10:41:02 +0000
(12:41 +0200)
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
drivers/gpu/drm/radeon/cik.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpu/drm/radeon/cik.c
b/drivers/gpu/drm/radeon/cik.c
index 62fefbbaf263c5a6d73b56e4c876680cd2a8a1dc..581f9e06d354d447af263fbfcd1b513eb1a98016 100644
(file)
--- 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);