diff options
author | Tim Huang <tim.huang@amd.com> | 2022-05-06 22:13:18 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2022-05-16 10:02:57 -0400 |
commit | 17f78bb4093f819344aa4a4ed3f363aa2a5f0342 (patch) | |
tree | 29127ef7fbf59753edc42812caf4ed420cf6f50e /drivers/gpu | |
parent | 55c894945bda8cbf8a57d97c0514b282e3960cc0 (diff) | |
download | linux-stable-17f78bb4093f819344aa4a4ed3f363aa2a5f0342.tar.gz linux-stable-17f78bb4093f819344aa4a4ed3f363aa2a5f0342.tar.bz2 linux-stable-17f78bb4093f819344aa4a4ed3f363aa2a5f0342.zip |
drm/amdgpu/pm: enable swsmu for SMU IP v13.0.4
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>
Diffstat (limited to 'drivers/gpu')
-rw-r--r-- | drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c b/drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c index 956062496202..ab32277f9108 100644 --- a/drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c +++ b/drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c @@ -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; |