drm/amd/pm: create a new holder for those APIs used only by legacy ASICs(si/kv)
authorEvan Quan <evan.quan@amd.com>
Thu, 11 Nov 2021 06:19:33 +0000 (14:19 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 14 Jan 2022 22:51:14 +0000 (17:51 -0500)
commit84176663e70d93836d30d2a480a4201c7f790b42
tree0c3b3577e8238a03553edef343fccd55c0e25d6e
parent28a31774b050261371953401e8072ae15200c91e
drm/amd/pm: create a new holder for those APIs used only by legacy ASICs(si/kv)

Those APIs are used only by legacy ASICs(si/kv). They cannot be
shared by other ASICs. So, we create a new holder for them.

Signed-off-by: Evan Quan <evan.quan@amd.com>
Reviewed-by: Lijo Lazar <lijo.lazar@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
13 files changed:
drivers/gpu/drm/amd/amdgpu/dce_v10_0.c
drivers/gpu/drm/amd/amdgpu/dce_v11_0.c
drivers/gpu/drm/amd/amdgpu/dce_v6_0.c
drivers/gpu/drm/amd/amdgpu/dce_v8_0.c
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c
drivers/gpu/drm/amd/include/kgd_pp_interface.h
drivers/gpu/drm/amd/pm/amdgpu_dpm.c
drivers/gpu/drm/amd/pm/inc/amdgpu_dpm.h
drivers/gpu/drm/amd/pm/powerplay/Makefile
drivers/gpu/drm/amd/pm/powerplay/kv_dpm.c
drivers/gpu/drm/amd/pm/powerplay/legacy_dpm.c [new file with mode: 0644]
drivers/gpu/drm/amd/pm/powerplay/legacy_dpm.h [new file with mode: 0644]
drivers/gpu/drm/amd/pm/powerplay/si_dpm.c