OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
17ed9be
)
drm/amd/powerplay: fix regresstion issue can't set manual dpm mode.
author
Rex Zhu
<Rex.Zhu@amd.com>
Tue, 24 Jan 2017 09:47:36 +0000
(17:47 +0800)
committer
Alex Deucher
<alexander.deucher@amd.com>
Fri, 27 Jan 2017 17:20:43 +0000
(12:20 -0500)
Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c
b/drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c
index
6c661bb
..
0a6c833
100644
(file)
--- a/
drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c
+++ b/
drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c
@@
-2625,6
+2625,9
@@
static int smu7_force_dpm_level(struct pp_hwmgr *hwmgr,
smu7_force_clock_level(hwmgr, PP_MCLK, 1<<mclk_mask);
smu7_force_clock_level(hwmgr, PP_PCIE, 1<<pcie_mask);
break;
+ case AMD_DPM_FORCED_LEVEL_MANUAL:
+ hwmgr->dpm_level = level;
+ break;
case AMD_DPM_FORCED_LEVEL_PROFILE_EXIT:
default:
break;