]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/pm: validate SMU feature enable message for getting feature enabled mask
authorPrike Liang <Prike.Liang@amd.com>
Fri, 11 Feb 2022 03:28:47 +0000 (11:28 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 22 Feb 2022 19:44:36 +0000 (14:44 -0500)
commit5c395d56a8c9d031e4a8825a22cb0099d7d07ff9
treefc2ccd5cc28c91df6a836ac6a953b4769ec56fe3
parentc8a6026aa5a663d23ef6fe634b541f9b0fb305dd
drm/amd/pm: validate SMU feature enable message for getting feature enabled mask

There's always miss the SMU feature enabled checked in the NPI phase,
so let validate the SMU feature enable message directly rather than
add more and more MP1 version check.

Signed-off-by: Prike Liang <Prike.Liang@amd.com>
Signed-off-by: Lijo Lazar <Lijo.Lazar@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/swsmu/smu11/cyan_skillfish_ppt.c
drivers/gpu/drm/amd/pm/swsmu/smu12/renoir_ppt.c
drivers/gpu/drm/amd/pm/swsmu/smu_cmn.c