]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/amd/pm: skip to set mp1 unload state in special case
authorYang Wang <KevinYang.Wang@amd.com>
Fri, 10 Jun 2022 03:48:04 +0000 (11:48 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 21 Jun 2022 21:55:32 +0000 (17:55 -0400)
commit51c45e450fc8529495bc85c2d8e309816cdcf959
treeaba9638ad2cd268d2a36bb7944232984105dfb00
parent8748de873fedf4d55bdd99bbb738ee7ddf329792
drm/amd/pm: skip to set mp1 unload state in special case

set mp1 unload state will cause the SMC FW can't accept any SMU message,
skip to set mp1 unload state to avoid following case fail:
- runtime pm case.
- gpu reset case.

Fixes: 72aeb6ee0c78 ("drm/amd/pm: fix driver reload SMC firmware fail issue for smu13")
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/amdgpu_smu.c