aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Clements <[email protected]>2022-07-25 10:02:05 +0800
committerAlex Deucher <[email protected]>2022-08-29 18:00:28 -0400
commitd9ec10c30e65df832180159217939918383e6b5f (patch)
treea563758ebf8d7da059c19f0820be1899ecab82bc
parent8e039cd176c61a9770e1956038c93738efc800f7 (diff)
drm/amdgpu: added supported smu 13.0.10 sw pptable
added sw pptable id 6666 for smu 13.0.10 v2: fix checkpatch error (Alex) Signed-off-by: John Clements <[email protected]> Signed-off-by: Likun Gao <[email protected]> Reviewed-by: Hawking Zhang <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
-rw-r--r--drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0.c2
1 files changed, 2 insertions, 0 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 1d26cea183c1..65045a955ab2 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
@@ -494,6 +494,8 @@ int smu_v13_0_setup_pptable(struct smu_context *smu)
dev_err(adev->dev, "Unsupported pptable id %d\n", pptable_id);
return -EINVAL;
}
+ } else if (adev->ip_versions[MP1_HWIP][0] == IP_VERSION(13, 0, 10)) {
+ pptable_id = 6666;
}
}