commit | 1507418667f8b0893c90fa8bd4ff965cd4bc14ea | [log] [tgz] |
---|---|---|
author | Likun Gao <Likun.Gao@amd.com> | Wed Jan 23 13:37:39 2019 +0800 |
committer | Alex Deucher <alexander.deucher@amd.com> | Tue Mar 19 15:04:00 2019 -0500 |
tree | 2fc6b1ac9ceacaf981aca2192ca6c011c84847ef | |
parent | c16df976a2fe2ea145bf20343efb3e74f073e9e7 [diff] |
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>