]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/powerplay: move powerplay table operation out of smu_v11_0.c
authorLikun Gao <Likun.Gao@amd.com>
Tue, 2 Jun 2020 08:29:08 +0000 (16:29 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 1 Jul 2020 05:59:17 +0000 (01:59 -0400)
commitc3014437f8669ba89bfae63b9c6f32ee9de21ede
tree6fc773c21f9fd0dc3aa280e183dce5957bc7f664
parente050b764ad3a3e2d524029b9d9e7d521378274e0
drm/amd/powerplay: move powerplay table operation out of smu_v11_0.c

move smu_v11_0_get_max_power_limit and smu_v11_0_set_thermal_range
function from smu_v11_0.c to asic specific _ppt.c to avoid powerplay
table conflict with different ASIC with smu11.

Signed-off-by: Likun Gao <Likun.Gao@amd.com>
Reviewed-by: Kenneth Feng <kenneth.feng@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/arcturus_ppt.c
drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h
drivers/gpu/drm/amd/powerplay/inc/smu_v11_0.h
drivers/gpu/drm/amd/powerplay/navi10_ppt.c
drivers/gpu/drm/amd/powerplay/smu_internal.h
drivers/gpu/drm/amd/powerplay/smu_v11_0.c