drm/amdgpu: added supported smu 13.0.10 sw pptable
authorJohn Clements <john.clements@amd.com>
Mon, 25 Jul 2022 02:02:05 +0000 (10:02 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 29 Aug 2022 22:00:28 +0000 (18:00 -0400)
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>
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0.c

index 1d26cea..65045a9 100644 (file)
@@ -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;
                }
        }