]> git.ipfire.org Git - thirdparty/linux.git/commit
drm/amd/pm: apply SMU 13.0.10 workaround during MP1 unload
authorYang Wang <kevinyang.wang@amd.com>
Thu, 21 May 2026 14:36:37 +0000 (22:36 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 3 Jun 2026 17:53:11 +0000 (13:53 -0400)
commit4e8ee1afeedb8d24dd22cdd5ae9f98a6d76ebe4b
tree67695c283257e71a4f9827735e6c4cc5ed21bb8d
parent79a9f51ab989af7136908072b493d642f8e9c4bb
drm/amd/pm: apply SMU 13.0.10 workaround during MP1 unload

On SMU v13.0.10, sending PrepareMp1ForUnload with the default
parameter may leave the device in an inaccessible state. This can
affect runtime power management and partial PnP flows.
e.g: kexec, driver unload, boco/d3cold.

Pass the required workaround parameter 0x55, when preparing MP1 for
unload on SMU v13.0.10, keep the existing behavior for other SMU
versions.

Closes: https://gitlab.freedesktop.org/drm/amd/-/work_items/5133
Signed-off-by: Yang Wang <kevinyang.wang@amd.com>
Reviewed-by: Kenneth Feng <kenneth.feng@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_0_ppt.c