aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/pm/swsmu
diff options
context:
space:
mode:
authorJohn Clements <john.clements@amd.com>2022-07-25 10:02:05 +0800
committerAlex Deucher <alexander.deucher@amd.com>2022-08-29 18:00:28 -0400
commitd9ec10c30e65df832180159217939918383e6b5f (patch)
treea563758ebf8d7da059c19f0820be1899ecab82bc /drivers/gpu/drm/amd/pm/swsmu
parentdrm/amd/pm: add smu_v13_0_10 driver if version (diff)
downloadlinux-dev-d9ec10c30e65df832180159217939918383e6b5f.tar.xz
linux-dev-d9ec10c30e65df832180159217939918383e6b5f.zip
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 <john.clements@amd.com> Signed-off-by: Likun Gao <Likun.Gao@amd.com> Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/pm/swsmu')
-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;
}
}