]> git.baikalelectronics.ru Git - kernel.git/commitdiff
drm/amd/pm: skip loading pptable from driver on secure board for smu_v13_0_10
authorKenneth Feng <kenneth.feng@amd.com>
Mon, 26 Sep 2022 09:15:04 +0000 (17:15 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 19 Oct 2022 02:09:31 +0000 (22:09 -0400)
skip loading pptable from driver on secure board since it's loaded from psp.

Signed-off-by: Kenneth Feng <kenneth.feng@amd.com>
Reviewed-by: Guan Yu <Guan.Yu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0.c

index d9323293179a09b483f6e5b00bdb65918fef4887..c4552ade8d441b4853b349bda40572f8a4d755a2 100644 (file)
@@ -211,7 +211,8 @@ int smu_v13_0_init_pptable_microcode(struct smu_context *smu)
                return 0;
 
        if ((adev->ip_versions[MP1_HWIP][0] == IP_VERSION(13, 0, 7)) ||
-           (adev->ip_versions[MP1_HWIP][0] == IP_VERSION(13, 0, 0)))
+           (adev->ip_versions[MP1_HWIP][0] == IP_VERSION(13, 0, 0)) ||
+           (adev->ip_versions[MP1_HWIP][0] == IP_VERSION(13, 0, 10)))
                return 0;
 
        /* override pptable_id from driver parameter */