drm/amd/powerplay: add sys interface for set sclk_od/mclk_od for smu
authorLikun Gao <Likun.Gao@amd.com>
Fri, 18 Jan 2019 08:15:14 +0000 (16:15 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 19 Mar 2019 20:04:00 +0000 (15:04 -0500)
commite9c5b46e3c50f58403aeca6d6419b9235d2518b2
tree4a784a14f84124d565f48a6c0c1949b15b1ff5ad
parent31535a40802dc96d6ad3aabd957a7283c6996685
drm/amd/powerplay: add sys interface for set sclk_od/mclk_od for smu

Add sys interface for set pp_sclk_od and pp_mclk_od for smu.

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>
drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h
drivers/gpu/drm/amd/powerplay/vega20_ppt.c