projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fc94d32
)
drm/amdgpu/powerplay: partial revert of endian fixes
author
Alex Deucher
<
[email protected]
>
Thu, 28 Jul 2016 13:46:28 +0000
(09:46 -0400)
committer
Alex Deucher
<
[email protected]
>
Fri, 29 Jul 2016 18:36:46 +0000
(14:36 -0400)
This fixes a warning on big endian. Bitfields need to
be handled properly.
Cc: Arnd Bergmann <
[email protected]
>
Acked-by: Arnd Bergmann <
[email protected]
>
Signed-off-by: Alex Deucher <
[email protected]
>
drivers/gpu/drm/amd/powerplay/hwmgr/ppatomctrl.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/amd/powerplay/hwmgr/ppatomctrl.c
b/drivers/gpu/drm/amd/powerplay/hwmgr/ppatomctrl.c
index e2aece361eb0f68c14300f2807f18cc909358dc4..26f3e30d0fefde6a77628b1429ea4f952cb900ba 100644
(file)
--- a/
drivers/gpu/drm/amd/powerplay/hwmgr/ppatomctrl.c
+++ b/
drivers/gpu/drm/amd/powerplay/hwmgr/ppatomctrl.c
@@
-1289,9
+1289,9
@@
int atomctrl_set_ac_timing_ai(struct pp_hwmgr *hwmgr, uint32_t memory_clock,
int result;
memory_clock_parameters.asDPMMCReg.ulClock.ulClockFreq =
-
cpu_to_le32(memory_clock & SET_CLOCK_FREQ_MASK)
;
+
memory_clock & SET_CLOCK_FREQ_MASK
;
memory_clock_parameters.asDPMMCReg.ulClock.ulComputeClockFlag =
-
cpu_to_le32(ADJUST_MC_SETTING_PARAM)
;
+
ADJUST_MC_SETTING_PARAM
;
memory_clock_parameters.asDPMMCReg.ucMclkDPMState = level;
result = cgs_atom_exec_cmd_table