summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
diff options
context:
space:
mode:
authorLikun Gao <Likun.Gao@amd.com>2019-01-23 13:37:39 +0800
committerAlex Deucher <alexander.deucher@amd.com>2019-03-19 15:04:00 -0500
commit1507418667f8b0893c90fa8bd4ff965cd4bc14ea (patch)
tree2fc6b1ac9ceacaf981aca2192ca6c011c84847ef /drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
parentc16df976a2fe2ea145bf20343efb3e74f073e9e7 (diff)
downloadlinux-1507418667f8b0893c90fa8bd4ff965cd4bc14ea.tar.bz2
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 <Likun.Gao@amd.com> Reviewed-by: Huang Rui <ray.huang@amd.com> Reviewed-by: Kevin Wang <kevin1.wang@amd.com> Acked-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c')
0 files changed, 0 insertions, 0 deletions