]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/powerplay: unify swSMU index to asic specific index mapping
authorEvan Quan <evan.quan@amd.com>
Mon, 6 Jul 2020 08:11:31 +0000 (16:11 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 21 Jul 2020 19:37:37 +0000 (15:37 -0400)
commit8ba2be7b69386078c37268a12c1cfa1923b90ee7
treee1579aca1d6a73058bcce80f20362706ef97211e
parentb6f9641885362e19e3d7e9028d2663f5a2999920
drm/amd/powerplay: unify swSMU index to asic specific index mapping

By this we can drop redundant code.

Signed-off-by: Evan Quan <evan.quan@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
12 files changed:
drivers/gpu/drm/amd/powerplay/Makefile
drivers/gpu/drm/amd/powerplay/amdgpu_smu.c
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/renoir_ppt.c
drivers/gpu/drm/amd/powerplay/sienna_cichlid_ppt.c
drivers/gpu/drm/amd/powerplay/smu_cmn.c [new file with mode: 0644]
drivers/gpu/drm/amd/powerplay/smu_cmn.h [new file with mode: 0644]
drivers/gpu/drm/amd/powerplay/smu_v11_0.c
drivers/gpu/drm/amd/powerplay/smu_v12_0.c