[PATCH 3/4] drm/amdgpu: added supported smu 13.0.10 sw pptable

Alex Deucher alexander.deucher at amd.com
Fri Aug 26 18:44:39 UTC 2022


From: John Clements <john.clements at amd.com>

added sw pptable id 6666 for smu 13.0.10

Signed-off-by: John Clements <john.clements at amd.com>
Signed-off-by: Likun Gao <Likun.Gao at amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang at amd.com>
Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
---
 drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0.c | 2 ++
 1 file changed, 2 insertions(+)

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 8e17bd5b52ab..94a2826236eb 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
@@ -500,6 +500,8 @@ int smu_v13_0_setup_pptable(struct smu_context *smu)
 				return -EINVAL;
 			}
 		}
+		else if (adev->ip_versions[MP1_HWIP][0] == IP_VERSION(13, 0, 10))
+			pptable_id = 6666;
 	}
 
 	/* force using vbios pptable in sriov mode */
-- 
2.37.1



More information about the amd-gfx mailing list