Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 649663cf authored by Alex Deucher's avatar Alex Deucher
Browse files

drm/amdgpu/powerplay: partial revert of endian fixes



This fixes a warning on big endian. Bitfields need to
be handled properly.

Cc: Arnd Bergmann <arnd@arndb.de>
Acked-by: default avatarArnd Bergmann <arnd@arndb.de>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent fc94d32d
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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