drm/amd/swsmu: add smu14 ip support
authorKenneth Feng <kenneth.feng@amd.com>
Wed, 26 Apr 2023 06:02:25 +0000 (14:02 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 13 Oct 2023 14:59:55 +0000 (10:59 -0400)
commitfe6cd9152464ed086fbeb45b6118ca386ee7aca2
tree409e93fbfa5ed302c55390856966569737705d57
parentcd6d69dd9be2b0e586accf82943e9f5b5c592c96
drm/amd/swsmu: add smu14 ip support

Add initial swSMU support for smu 14 series ASIC.

v2: squash in build fixes and updates (Li Ma)
    fix warnings (Alex)
v3: squash in updates (Alex)
v4: squash in updates (Alex)
v5: squash in avg/current power updates (Alex)

Signed-off-by: Li Ma <li.ma@amd.com>
Signed-off-by: Kenneth Feng <kenneth.feng@amd.com>
Signed-off-by: Likun Gao <Likun.Gao@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/Makefile
drivers/gpu/drm/amd/pm/swsmu/Makefile
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
drivers/gpu/drm/amd/pm/swsmu/inc/amdgpu_smu.h
drivers/gpu/drm/amd/pm/swsmu/inc/smu_types.h
drivers/gpu/drm/amd/pm/swsmu/inc/smu_v14_0.h [new file with mode: 0644]
drivers/gpu/drm/amd/pm/swsmu/smu14/Makefile [new file with mode: 0644]
drivers/gpu/drm/amd/pm/swsmu/smu14/smu_v14_0.c [new file with mode: 0644]
drivers/gpu/drm/amd/pm/swsmu/smu14/smu_v14_0_0_ppt.c [new file with mode: 0644]
drivers/gpu/drm/amd/pm/swsmu/smu14/smu_v14_0_0_ppt.h [new file with mode: 0644]