drm/amd/pm: Notify PMFW about driver unload cases
authorLijo Lazar <lijo.lazar@amd.com>
Fri, 10 Mar 2023 06:03:37 +0000 (11:33 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 9 Jun 2023 13:55:05 +0000 (09:55 -0400)
commit7214c08c168046aadf15e3d731ee673f26c77213
treee4363819c68dfeb06bd6455418d0bb35ef0bd536
parentfe9e5f56feb287b3f14b0a5892061a1da2b89b5b
drm/amd/pm: Notify PMFW about driver unload cases

On SMU v13.0.6 APUs, FW will need to take some actions if driver is going
to halt RLC. Notify PMFW that driver is not going to manage device so
that FW takes care of the required actions.

Signed-off-by: Lijo Lazar <lijo.lazar@amd.com>
Reviewed-by: Le Ma <le.ma@amd.com>
Reviewed-by: Asad Kamal <asad.kamal@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_6_ppt.c