projects
/
platform
/
kernel
/
linux-rpi3.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6abafb7
)
drm/radeon: fix typo in ci_stop_dpm()
author
Alex Deucher
<alexander.deucher@amd.com>
Tue, 8 Jul 2014 22:25:25 +0000
(18:25 -0400)
committer
Alex Deucher
<alexander.deucher@amd.com>
Thu, 10 Jul 2014 21:01:30 +0000
(17:01 -0400)
Need to use the RREG32_SMC() accessor since the register
is an smc indirect index.
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/radeon/ci_dpm.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/radeon/ci_dpm.c
b/drivers/gpu/drm/radeon/ci_dpm.c
index
10dae41
..
584090a
100644
(file)
--- a/
drivers/gpu/drm/radeon/ci_dpm.c
+++ b/
drivers/gpu/drm/radeon/ci_dpm.c
@@
-1179,7
+1179,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);