aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/gpu/drm
diff options
context:
space:
mode:
authorKenneth Feng <kenneth.feng@amd.com>2022-09-26 17:15:04 +0800
committerAlex Deucher <alexander.deucher@amd.com>2022-10-18 22:09:31 -0400
commitf700486cd1f2bf381671d1c2c7dc9000db10c50e (patch)
treef9cfee2e75b5a509e121997b40b931250796b46f /drivers/gpu/drm
parentdrm/amd/amdgpu: enable gfx clock gating features on smu_v13_0_10 (diff)
downloadwireguard-linux-f700486cd1f2bf381671d1c2c7dc9000db10c50e.tar.xz
wireguard-linux-f700486cd1f2bf381671d1c2c7dc9000db10c50e.zip
drm/amd/pm: skip loading pptable from driver on secure board for smu_v13_0_10
skip loading pptable from driver on secure board since it's loaded from psp. Signed-off-by: Kenneth Feng <kenneth.feng@amd.com> Reviewed-by: Guan Yu <Guan.Yu@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm')
-rw-r--r--drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0.c b/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0.c
index d9323293179a..c4552ade8d44 100644
--- a/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0.c
+++ b/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0.c
@@ -211,7 +211,8 @@ int smu_v13_0_init_pptable_microcode(struct smu_context *smu)
return 0;
if ((adev->ip_versions[MP1_HWIP][0] == IP_VERSION(13, 0, 7)) ||
- (adev->ip_versions[MP1_HWIP][0] == IP_VERSION(13, 0, 0)))
+ (adev->ip_versions[MP1_HWIP][0] == IP_VERSION(13, 0, 0)) ||
+ (adev->ip_versions[MP1_HWIP][0] == IP_VERSION(13, 0, 10)))
return 0;
/* override pptable_id from driver parameter */