Add initial support for SMU (System Management Unit) version 13.0.4. The SMU handles power management and other tasks on the GPU. Patch 1 adds large new header files so I didn't send them to the list. Alex Deucher (1): drm/amdgpu/soc21: add mode2 asic reset for SMU IP v13.0.4 Huang Rui (1): drm/amdgpu/pm: add smu v13.0.4 driver SMU if headers Tim Huang (5): drm/amdgpu/pm: add EnableGfxImu message dummy map for SMU IP v13.0.4 drm/amdgpu/pm: add some common ppt functions for SMU IP v13.0.x drm/amdgpu/pm: add swsmu ppt implementation for SMU IP v13.0.4 drm/amdgpu/pm: enable swsmu for SMU IP v13.0.4 drm/amdgpu/pm: add GFXOFF control IP version check for SMU IP v13.0.4 Xiaojian Du (1): drm/amdgpu/discovery: add SMU v13.0.4 into the IP discovery list drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c | 1 + drivers/gpu/drm/amd/amdgpu/soc21.c | 7 + drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c | 4 + .../inc/pmfw_if/smu13_driver_if_v13_0_4.h | 267 +++++ .../pm/swsmu/inc/pmfw_if/smu_v13_0_4_pmfw.h | 137 +++ .../pm/swsmu/inc/pmfw_if/smu_v13_0_4_ppsmc.h | 138 +++ drivers/gpu/drm/amd/pm/swsmu/inc/smu_types.h | 3 +- drivers/gpu/drm/amd/pm/swsmu/inc/smu_v13_0.h | 9 +- drivers/gpu/drm/amd/pm/swsmu/smu13/Makefile | 3 +- .../gpu/drm/amd/pm/swsmu/smu13/smu_v13_0.c | 107 +- .../drm/amd/pm/swsmu/smu13/smu_v13_0_4_ppt.c | 1044 +++++++++++++++++ .../drm/amd/pm/swsmu/smu13/smu_v13_0_4_ppt.h | 28 + 12 files changed, 1731 insertions(+), 17 deletions(-) create mode 100644 drivers/gpu/drm/amd/pm/swsmu/inc/pmfw_if/smu13_driver_if_v13_0_4.h create mode 100644 drivers/gpu/drm/amd/pm/swsmu/inc/pmfw_if/smu_v13_0_4_pmfw.h create mode 100644 drivers/gpu/drm/amd/pm/swsmu/inc/pmfw_if/smu_v13_0_4_ppsmc.h create mode 100644 drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_4_ppt.c create mode 100644 drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_4_ppt.h -- 2.35.3