drm/amdgpu/powerplay: partial revert of endian fixes
Subsystems (2)
PATCH 1/1 drm/amdgpu/powerplay: partial revert of endian fixes
This fixes a warning on big endian. Bitfields need to be handled properly.
Cc Arnd Bergmann <[email protected]>
Signed-off-by Alex Deucher <[email protected]>
--- drivers/gpu/drm/amd/powerplay/hwmgr/ppatomctrl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/gpu/drm/amd/powerplay/hwmgr/ppatomctrl.c +2 -2
@@ -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
Signature · 6 lines
2.5.5 _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx
A message that is not in the archive (sent off-list or not yet received): 1469714446-13533-1-git-send-email-alexander.deucher-5C7GfCeVMHo@public.gmane.org
Arnd Bergmann
Acked-byQuoted 6 lines · CEST Alex Deucher
This fixes a warning on big endian. Bitfields need to be handled properly.
Cc Arnd Bergmann <[email protected]>Signed-off-by Alex Deucher <[email protected]>
Acked-by Arnd Bergmann <[email protected]>
Thanks!
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx