drm/amd/pm: relocate the power related headers
authorEvan Quan <evan.quan@amd.com>
Tue, 16 Nov 2021 05:30:53 +0000 (13:30 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 14 Jan 2022 22:51:14 +0000 (17:51 -0500)
commit837d542a09cd533055423dfca7e621a9c1d13c5b
treeff56aed3ac28491a9eae0a39e5c98ce5e423c985
parentebfc253335af81db2e40e6e8ed17cd76edf9080f
drm/amd/pm: relocate the power related headers

Instead of centralizing all headers in the same folder. Separate them into
different folders and place them among those source files those who really
need 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>
169 files changed:
drivers/gpu/drm/amd/pm/Makefile
drivers/gpu/drm/amd/pm/inc/aldebaran_ppsmc.h [deleted file]
drivers/gpu/drm/amd/pm/inc/amd_powerplay.h [deleted file]
drivers/gpu/drm/amd/pm/inc/amdgpu_smu.h [deleted file]
drivers/gpu/drm/amd/pm/inc/arcturus_ppsmc.h [deleted file]
drivers/gpu/drm/amd/pm/inc/cz_ppsmc.h [deleted file]
drivers/gpu/drm/amd/pm/inc/fiji_ppsmc.h [deleted file]
drivers/gpu/drm/amd/pm/inc/hardwaremanager.h [deleted file]
drivers/gpu/drm/amd/pm/inc/hwmgr.h [deleted file]
drivers/gpu/drm/amd/pm/inc/polaris10_pwrvirus.h [deleted file]
drivers/gpu/drm/amd/pm/inc/power_state.h [deleted file]
drivers/gpu/drm/amd/pm/inc/pp_debug.h [deleted file]
drivers/gpu/drm/amd/pm/inc/pp_endian.h [deleted file]
drivers/gpu/drm/amd/pm/inc/pp_thermal.h [deleted file]
drivers/gpu/drm/amd/pm/inc/ppinterrupt.h [deleted file]
drivers/gpu/drm/amd/pm/inc/rv_ppsmc.h [deleted file]
drivers/gpu/drm/amd/pm/inc/smu10.h [deleted file]
drivers/gpu/drm/amd/pm/inc/smu10_driver_if.h [deleted file]
drivers/gpu/drm/amd/pm/inc/smu11_driver_if.h [deleted file]
drivers/gpu/drm/amd/pm/inc/smu11_driver_if_arcturus.h [deleted file]
drivers/gpu/drm/amd/pm/inc/smu11_driver_if_cyan_skillfish.h [deleted file]
drivers/gpu/drm/amd/pm/inc/smu11_driver_if_navi10.h [deleted file]
drivers/gpu/drm/amd/pm/inc/smu11_driver_if_sienna_cichlid.h [deleted file]
drivers/gpu/drm/amd/pm/inc/smu11_driver_if_vangogh.h [deleted file]
drivers/gpu/drm/amd/pm/inc/smu12_driver_if.h [deleted file]
drivers/gpu/drm/amd/pm/inc/smu13_driver_if_aldebaran.h [deleted file]
drivers/gpu/drm/amd/pm/inc/smu13_driver_if_yellow_carp.h [deleted file]
drivers/gpu/drm/amd/pm/inc/smu7.h [deleted file]
drivers/gpu/drm/amd/pm/inc/smu71.h [deleted file]
drivers/gpu/drm/amd/pm/inc/smu71_discrete.h [deleted file]
drivers/gpu/drm/amd/pm/inc/smu72.h [deleted file]
drivers/gpu/drm/amd/pm/inc/smu72_discrete.h [deleted file]
drivers/gpu/drm/amd/pm/inc/smu73.h [deleted file]
drivers/gpu/drm/amd/pm/inc/smu73_discrete.h [deleted file]
drivers/gpu/drm/amd/pm/inc/smu74.h [deleted file]
drivers/gpu/drm/amd/pm/inc/smu74_discrete.h [deleted file]
drivers/gpu/drm/amd/pm/inc/smu75.h [deleted file]
drivers/gpu/drm/amd/pm/inc/smu75_discrete.h [deleted file]
drivers/gpu/drm/amd/pm/inc/smu7_common.h [deleted file]
drivers/gpu/drm/amd/pm/inc/smu7_discrete.h [deleted file]
drivers/gpu/drm/amd/pm/inc/smu7_fusion.h [deleted file]
drivers/gpu/drm/amd/pm/inc/smu7_ppsmc.h [deleted file]
drivers/gpu/drm/amd/pm/inc/smu8.h [deleted file]
drivers/gpu/drm/amd/pm/inc/smu8_fusion.h [deleted file]
drivers/gpu/drm/amd/pm/inc/smu9.h [deleted file]
drivers/gpu/drm/amd/pm/inc/smu9_driver_if.h [deleted file]
drivers/gpu/drm/amd/pm/inc/smu_11_0_cdr_table.h [deleted file]
drivers/gpu/drm/amd/pm/inc/smu_types.h [deleted file]
drivers/gpu/drm/amd/pm/inc/smu_ucode_xfer_cz.h [deleted file]
drivers/gpu/drm/amd/pm/inc/smu_ucode_xfer_vi.h [deleted file]
drivers/gpu/drm/amd/pm/inc/smu_v11_0.h [deleted file]
drivers/gpu/drm/amd/pm/inc/smu_v11_0_7_ppsmc.h [deleted file]
drivers/gpu/drm/amd/pm/inc/smu_v11_0_7_pptable.h [deleted file]
drivers/gpu/drm/amd/pm/inc/smu_v11_0_ppsmc.h [deleted file]
drivers/gpu/drm/amd/pm/inc/smu_v11_0_pptable.h [deleted file]
drivers/gpu/drm/amd/pm/inc/smu_v11_5_pmfw.h [deleted file]
drivers/gpu/drm/amd/pm/inc/smu_v11_5_ppsmc.h [deleted file]
drivers/gpu/drm/amd/pm/inc/smu_v11_8_pmfw.h [deleted file]
drivers/gpu/drm/amd/pm/inc/smu_v11_8_ppsmc.h [deleted file]
drivers/gpu/drm/amd/pm/inc/smu_v12_0.h [deleted file]
drivers/gpu/drm/amd/pm/inc/smu_v12_0_ppsmc.h [deleted file]
drivers/gpu/drm/amd/pm/inc/smu_v13_0.h [deleted file]
drivers/gpu/drm/amd/pm/inc/smu_v13_0_1_pmfw.h [deleted file]
drivers/gpu/drm/amd/pm/inc/smu_v13_0_1_ppsmc.h [deleted file]
drivers/gpu/drm/amd/pm/inc/smu_v13_0_pptable.h [deleted file]
drivers/gpu/drm/amd/pm/inc/smumgr.h [deleted file]
drivers/gpu/drm/amd/pm/inc/tonga_ppsmc.h [deleted file]
drivers/gpu/drm/amd/pm/inc/vega10_ppsmc.h [deleted file]
drivers/gpu/drm/amd/pm/inc/vega12/smu9_driver_if.h [deleted file]
drivers/gpu/drm/amd/pm/inc/vega12_ppsmc.h [deleted file]
drivers/gpu/drm/amd/pm/inc/vega20_ppsmc.h [deleted file]
drivers/gpu/drm/amd/pm/legacy-dpm/Makefile [new file with mode: 0644]
drivers/gpu/drm/amd/pm/legacy-dpm/cik_dpm.h [new file with mode: 0644]
drivers/gpu/drm/amd/pm/legacy-dpm/kv_dpm.c [new file with mode: 0644]
drivers/gpu/drm/amd/pm/legacy-dpm/kv_dpm.h [new file with mode: 0644]
drivers/gpu/drm/amd/pm/legacy-dpm/kv_smc.c [new file with mode: 0644]
drivers/gpu/drm/amd/pm/legacy-dpm/legacy_dpm.c [new file with mode: 0644]
drivers/gpu/drm/amd/pm/legacy-dpm/legacy_dpm.h [new file with mode: 0644]
drivers/gpu/drm/amd/pm/legacy-dpm/ppsmc.h [new file with mode: 0644]
drivers/gpu/drm/amd/pm/legacy-dpm/r600_dpm.h [new file with mode: 0644]
drivers/gpu/drm/amd/pm/legacy-dpm/si_dpm.c [new file with mode: 0644]
drivers/gpu/drm/amd/pm/legacy-dpm/si_dpm.h [new file with mode: 0644]
drivers/gpu/drm/amd/pm/legacy-dpm/si_smc.c [new file with mode: 0644]
drivers/gpu/drm/amd/pm/legacy-dpm/sislands_smc.h [new file with mode: 0644]
drivers/gpu/drm/amd/pm/powerplay/Makefile
drivers/gpu/drm/amd/pm/powerplay/cik_dpm.h [deleted file]
drivers/gpu/drm/amd/pm/powerplay/inc/amd_powerplay.h [new file with mode: 0644]
drivers/gpu/drm/amd/pm/powerplay/inc/cz_ppsmc.h [new file with mode: 0644]
drivers/gpu/drm/amd/pm/powerplay/inc/fiji_ppsmc.h [new file with mode: 0644]
drivers/gpu/drm/amd/pm/powerplay/inc/hardwaremanager.h [new file with mode: 0644]
drivers/gpu/drm/amd/pm/powerplay/inc/hwmgr.h [new file with mode: 0644]
drivers/gpu/drm/amd/pm/powerplay/inc/polaris10_pwrvirus.h [new file with mode: 0644]
drivers/gpu/drm/amd/pm/powerplay/inc/power_state.h [new file with mode: 0644]
drivers/gpu/drm/amd/pm/powerplay/inc/pp_debug.h [new file with mode: 0644]
drivers/gpu/drm/amd/pm/powerplay/inc/pp_endian.h [new file with mode: 0644]
drivers/gpu/drm/amd/pm/powerplay/inc/pp_thermal.h [new file with mode: 0644]
drivers/gpu/drm/amd/pm/powerplay/inc/ppinterrupt.h [new file with mode: 0644]
drivers/gpu/drm/amd/pm/powerplay/inc/rv_ppsmc.h [new file with mode: 0644]
drivers/gpu/drm/amd/pm/powerplay/inc/smu10.h [new file with mode: 0644]
drivers/gpu/drm/amd/pm/powerplay/inc/smu10_driver_if.h [new file with mode: 0644]
drivers/gpu/drm/amd/pm/powerplay/inc/smu11_driver_if.h [new file with mode: 0644]
drivers/gpu/drm/amd/pm/powerplay/inc/smu7.h [new file with mode: 0644]
drivers/gpu/drm/amd/pm/powerplay/inc/smu71.h [new file with mode: 0644]
drivers/gpu/drm/amd/pm/powerplay/inc/smu71_discrete.h [new file with mode: 0644]
drivers/gpu/drm/amd/pm/powerplay/inc/smu72.h [new file with mode: 0644]
drivers/gpu/drm/amd/pm/powerplay/inc/smu72_discrete.h [new file with mode: 0644]
drivers/gpu/drm/amd/pm/powerplay/inc/smu73.h [new file with mode: 0644]
drivers/gpu/drm/amd/pm/powerplay/inc/smu73_discrete.h [new file with mode: 0644]
drivers/gpu/drm/amd/pm/powerplay/inc/smu74.h [new file with mode: 0644]
drivers/gpu/drm/amd/pm/powerplay/inc/smu74_discrete.h [new file with mode: 0644]
drivers/gpu/drm/amd/pm/powerplay/inc/smu75.h [new file with mode: 0644]
drivers/gpu/drm/amd/pm/powerplay/inc/smu75_discrete.h [new file with mode: 0644]
drivers/gpu/drm/amd/pm/powerplay/inc/smu7_common.h [new file with mode: 0644]
drivers/gpu/drm/amd/pm/powerplay/inc/smu7_discrete.h [new file with mode: 0644]
drivers/gpu/drm/amd/pm/powerplay/inc/smu7_fusion.h [new file with mode: 0644]
drivers/gpu/drm/amd/pm/powerplay/inc/smu7_ppsmc.h [new file with mode: 0644]
drivers/gpu/drm/amd/pm/powerplay/inc/smu8.h [new file with mode: 0644]
drivers/gpu/drm/amd/pm/powerplay/inc/smu8_fusion.h [new file with mode: 0644]
drivers/gpu/drm/amd/pm/powerplay/inc/smu9.h [new file with mode: 0644]
drivers/gpu/drm/amd/pm/powerplay/inc/smu9_driver_if.h [new file with mode: 0644]
drivers/gpu/drm/amd/pm/powerplay/inc/smu_ucode_xfer_cz.h [new file with mode: 0644]
drivers/gpu/drm/amd/pm/powerplay/inc/smu_ucode_xfer_vi.h [new file with mode: 0644]
drivers/gpu/drm/amd/pm/powerplay/inc/smumgr.h [new file with mode: 0644]
drivers/gpu/drm/amd/pm/powerplay/inc/tonga_ppsmc.h [new file with mode: 0644]
drivers/gpu/drm/amd/pm/powerplay/inc/vega10_ppsmc.h [new file with mode: 0644]
drivers/gpu/drm/amd/pm/powerplay/inc/vega12/smu9_driver_if.h [new file with mode: 0644]
drivers/gpu/drm/amd/pm/powerplay/inc/vega12_ppsmc.h [new file with mode: 0644]
drivers/gpu/drm/amd/pm/powerplay/inc/vega20_ppsmc.h [new file with mode: 0644]
drivers/gpu/drm/amd/pm/powerplay/kv_dpm.c [deleted file]
drivers/gpu/drm/amd/pm/powerplay/kv_dpm.h [deleted file]
drivers/gpu/drm/amd/pm/powerplay/kv_smc.c [deleted file]
drivers/gpu/drm/amd/pm/powerplay/legacy_dpm.c [deleted file]
drivers/gpu/drm/amd/pm/powerplay/legacy_dpm.h [deleted file]
drivers/gpu/drm/amd/pm/powerplay/ppsmc.h [deleted file]
drivers/gpu/drm/amd/pm/powerplay/r600_dpm.h [deleted file]
drivers/gpu/drm/amd/pm/powerplay/si_dpm.c [deleted file]
drivers/gpu/drm/amd/pm/powerplay/si_dpm.h [deleted file]
drivers/gpu/drm/amd/pm/powerplay/si_smc.c [deleted file]
drivers/gpu/drm/amd/pm/powerplay/sislands_smc.h [deleted file]
drivers/gpu/drm/amd/pm/swsmu/inc/amdgpu_smu.h [new file with mode: 0644]
drivers/gpu/drm/amd/pm/swsmu/inc/pmfw_if/aldebaran_ppsmc.h [new file with mode: 0644]
drivers/gpu/drm/amd/pm/swsmu/inc/pmfw_if/arcturus_ppsmc.h [new file with mode: 0644]
drivers/gpu/drm/amd/pm/swsmu/inc/pmfw_if/smu11_driver_if_arcturus.h [new file with mode: 0644]
drivers/gpu/drm/amd/pm/swsmu/inc/pmfw_if/smu11_driver_if_cyan_skillfish.h [new file with mode: 0644]
drivers/gpu/drm/amd/pm/swsmu/inc/pmfw_if/smu11_driver_if_navi10.h [new file with mode: 0644]
drivers/gpu/drm/amd/pm/swsmu/inc/pmfw_if/smu11_driver_if_sienna_cichlid.h [new file with mode: 0644]
drivers/gpu/drm/amd/pm/swsmu/inc/pmfw_if/smu11_driver_if_vangogh.h [new file with mode: 0644]
drivers/gpu/drm/amd/pm/swsmu/inc/pmfw_if/smu12_driver_if.h [new file with mode: 0644]
drivers/gpu/drm/amd/pm/swsmu/inc/pmfw_if/smu13_driver_if_aldebaran.h [new file with mode: 0644]
drivers/gpu/drm/amd/pm/swsmu/inc/pmfw_if/smu13_driver_if_yellow_carp.h [new file with mode: 0644]
drivers/gpu/drm/amd/pm/swsmu/inc/pmfw_if/smu_v11_0_7_ppsmc.h [new file with mode: 0644]
drivers/gpu/drm/amd/pm/swsmu/inc/pmfw_if/smu_v11_0_ppsmc.h [new file with mode: 0644]
drivers/gpu/drm/amd/pm/swsmu/inc/pmfw_if/smu_v11_5_pmfw.h [new file with mode: 0644]
drivers/gpu/drm/amd/pm/swsmu/inc/pmfw_if/smu_v11_5_ppsmc.h [new file with mode: 0644]
drivers/gpu/drm/amd/pm/swsmu/inc/pmfw_if/smu_v11_8_pmfw.h [new file with mode: 0644]
drivers/gpu/drm/amd/pm/swsmu/inc/pmfw_if/smu_v11_8_ppsmc.h [new file with mode: 0644]
drivers/gpu/drm/amd/pm/swsmu/inc/pmfw_if/smu_v12_0_ppsmc.h [new file with mode: 0644]
drivers/gpu/drm/amd/pm/swsmu/inc/pmfw_if/smu_v13_0_1_pmfw.h [new file with mode: 0644]
drivers/gpu/drm/amd/pm/swsmu/inc/pmfw_if/smu_v13_0_1_ppsmc.h [new file with mode: 0644]
drivers/gpu/drm/amd/pm/swsmu/inc/smu_11_0_cdr_table.h [new file with mode: 0644]
drivers/gpu/drm/amd/pm/swsmu/inc/smu_types.h [new file with mode: 0644]
drivers/gpu/drm/amd/pm/swsmu/inc/smu_v11_0.h [new file with mode: 0644]
drivers/gpu/drm/amd/pm/swsmu/inc/smu_v11_0_7_pptable.h [new file with mode: 0644]
drivers/gpu/drm/amd/pm/swsmu/inc/smu_v11_0_pptable.h [new file with mode: 0644]
drivers/gpu/drm/amd/pm/swsmu/inc/smu_v12_0.h [new file with mode: 0644]
drivers/gpu/drm/amd/pm/swsmu/inc/smu_v13_0.h [new file with mode: 0644]
drivers/gpu/drm/amd/pm/swsmu/inc/smu_v13_0_pptable.h [new file with mode: 0644]
drivers/gpu/drm/amd/pm/swsmu/smu11/arcturus_ppt.c
drivers/gpu/drm/amd/pm/swsmu/smu13/aldebaran_ppt.c