diff options
| author | Likun Gao <[email protected]> | 2019-01-23 05:37:39 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2019-03-19 20:04:00 +0000 |
| commit | 1507418667f8b0893c90fa8bd4ff965cd4bc14ea (patch) | |
| tree | 2fc6b1ac9ceacaf981aca2192ca6c011c84847ef /drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c | |
| parent | drm/amd/powerplay: adjust power state when set od_clk (diff) | |
| download | kernel-1507418667f8b0893c90fa8bd4ff965cd4bc14ea.tar.gz kernel-1507418667f8b0893c90fa8bd4ff965cd4bc14ea.zip | |
drm/amd/powerplay: dpm clk can be set only when performance level is manual
Add condition to make dpm clk can not be set when perfomance level isn't
equal to manual.
Add mutex lock to smu when set dpm clk.
Signed-off-by: Likun Gao <[email protected]>
Reviewed-by: Huang Rui <[email protected]>
Reviewed-by: Kevin Wang <[email protected]>
Acked-by: Alex Deucher <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c')
0 files changed, 0 insertions, 0 deletions
