mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-06 01:49:46 +00:00
drm/radeon: fix typo in ci_stop_dpm()
commit ed96377132 upstream.
Need to use the RREG32_SMC() accessor since the register
is an smc indirect index.
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
4a48d51d65
commit
ecbed448b4
@@ -1161,7 +1161,7 @@ static int ci_stop_dpm(struct radeon_device *rdev)
|
||||
tmp &= ~GLOBAL_PWRMGT_EN;
|
||||
WREG32_SMC(GENERAL_PWRMGT, tmp);
|
||||
|
||||
tmp = RREG32(SCLK_PWRMGT_CNTL);
|
||||
tmp = RREG32_SMC(SCLK_PWRMGT_CNTL);
|
||||
tmp &= ~DYNAMIC_PM_EN;
|
||||
WREG32_SMC(SCLK_PWRMGT_CNTL, tmp);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user