drm/amd/pm: enable SCPM support for SMU
authorEvan Quan <evan.quan@amd.com>
Wed, 6 Apr 2022 21:44:44 +0000 (17:44 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 4 May 2022 13:58:07 +0000 (09:58 -0400)
commit9b5f9891c40b0ed0f34c7fbbe1cf521c19b4608c
tree421a27292d6f15010584a0f1c32574a7198f2f24
parentb37c41f2cb3254fdf36134e38a9f507933da2aaa
drm/amd/pm: enable SCPM support for SMU

With SCPM enabled, the pptable used will be signed. It cannot
be used directly by driver. To get the raw pptable, we need to
rely on the combo pptable(and its revelant SMU message).

Also, the pptable transferring(to SMU) will be performed by PSP.
Some SMU messages will be not available to driver any more.

Signed-off-by: Evan Quan <evan.quan@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/amdgpu_smu.c