Skip to content

Commit

Permalink
drm/amd/pm: skip loading pptable from driver on secure board for smu_…
Browse files Browse the repository at this point in the history
…v13_0_10

[ Upstream commit f700486 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
  • Loading branch information
Kenneth Feng authored and gregkh committed Nov 10, 2022
1 parent d7414b6 commit b8e145c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0.c
Expand Up @@ -210,7 +210,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 */
Expand Down

0 comments on commit b8e145c

Please sign in to comment.