drm/amd/powerplay: add function force_clk_levels for navi10
authorKevin Wang <kevin1.wang@amd.com>
Fri, 19 Apr 2019 02:31:18 +0000 (10:31 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 21 Jun 2019 23:59:29 +0000 (18:59 -0500)
commitdb439ca21b81f0c1f1b0f1f1b6f0efc8af3a0cf4
tree849bfe31a0aea3760563e2e65c2e059df0959b58
parent3366561767209326d3a6d4d2c727788beca7fcea
drm/amd/powerplay: add function force_clk_levels for navi10

add sysfs interface of force_clk_levels sysfs for navi10.

Signed-off-by: Kevin Wang <kevin1.wang@amd.com>
Reviewed-by: Huang Rui <ray.huang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h
drivers/gpu/drm/amd/powerplay/navi10_ppt.c
drivers/gpu/drm/amd/powerplay/vega20_ppt.c