Commit 6627d845 authored by Likun Gao's avatar Likun Gao Committed by Alex Deucher

drm/amd/swsmu: support SMU_14_0_2 ppt_funcs

Add smu v14_0_2 ppt fucs support.

v2: squash in updates (Alex)
Signed-off-by: default avatarLikun Gao <Likun.Gao@amd.com>
Reviewed-by: default avatarKenneth Feng <kenneth.feng@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 3e55845c
...@@ -45,6 +45,7 @@ ...@@ -45,6 +45,7 @@
#include "smu_v13_0_6_ppt.h" #include "smu_v13_0_6_ppt.h"
#include "smu_v13_0_7_ppt.h" #include "smu_v13_0_7_ppt.h"
#include "smu_v14_0_0_ppt.h" #include "smu_v14_0_0_ppt.h"
#include "smu_v14_0_2_ppt.h"
#include "amd_pcie.h" #include "amd_pcie.h"
/* /*
...@@ -715,6 +716,10 @@ static int smu_set_funcs(struct amdgpu_device *adev) ...@@ -715,6 +716,10 @@ static int smu_set_funcs(struct amdgpu_device *adev)
case IP_VERSION(14, 0, 1): case IP_VERSION(14, 0, 1):
smu_v14_0_0_set_ppt_funcs(smu); smu_v14_0_0_set_ppt_funcs(smu);
break; break;
case IP_VERSION(14, 0, 2):
case IP_VERSION(14, 0, 3):
smu_v14_0_2_set_ppt_funcs(smu);
break;
default: default:
return -EINVAL; return -EINVAL;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment