diff options
author | John Clements <john.clements@amd.com> | 2022-07-25 10:02:05 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2022-08-29 18:00:28 -0400 |
commit | d9ec10c30e65df832180159217939918383e6b5f (patch) | |
tree | a563758ebf8d7da059c19f0820be1899ecab82bc /drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0.c | |
parent | 8e039cd176c61a9770e1956038c93738efc800f7 (diff) | |
download | linux-stable-d9ec10c30e65df832180159217939918383e6b5f.tar.gz linux-stable-d9ec10c30e65df832180159217939918383e6b5f.tar.bz2 linux-stable-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/smu13/smu_v13_0.c')
-rw-r--r-- | drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0.c | 2 |
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; } } |