drm/amdgpu/pm: enable swsmu for SMU IP v13.0.4
authorTim Huang <tim.huang@amd.com>
Fri, 6 May 2022 14:13:18 +0000 (22:13 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 16 May 2022 14:02:57 +0000 (10:02 -0400)
Add the entry to set the ppt functions for SMU IP v13.0.4.

Signed-off-by: Tim Huang <tim.huang@amd.com>
Reviewed-by: Huang Rui <ray.huang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c

index 956062496202e2918342bd380dfedc34f309a543..ab32277f9108d97a2b5c4b5db64fe7b767977a27 100644 (file)
@@ -38,6 +38,7 @@
 #include "yellow_carp_ppt.h"
 #include "cyan_skillfish_ppt.h"
 #include "smu_v13_0_0_ppt.h"
+#include "smu_v13_0_4_ppt.h"
 #include "smu_v13_0_5_ppt.h"
 #include "smu_v13_0_7_ppt.h"
 #include "amd_pcie.h"
@@ -550,6 +551,9 @@ static int smu_set_funcs(struct amdgpu_device *adev)
        case IP_VERSION(13, 0, 8):
                yellow_carp_set_ppt_funcs(smu);
                break;
+       case IP_VERSION(13, 0, 4):
+               smu_v13_0_4_set_ppt_funcs(smu);
+               break;
        case IP_VERSION(13, 0, 5):
                smu_v13_0_5_set_ppt_funcs(smu);
                break;