mirror_ubuntu-kernels/drivers/gpu/drm/amd/pm
Mario Limonciello 267cace556 drm/amd: Fix shutdown (again) on some SMU v13.0.4/11 platforms
commit cd94d1b182 ("dm/amd/pm: Fix problems with reboot/shutdown for
some SMU 13.0.4/13.0.11 users") attempted to fix shutdown issues
that were reported since commit 31729e8c21 ("drm/amd/pm: fixes a
random hang in S4 for SMU v13.0.4/11") but caused issues for some
people.

Adjust the workaround flow to properly only apply in the S4 case:
-> For shutdown go through SMU_MSG_PrepareMp1ForUnload
-> For S4 go through SMU_MSG_GfxDeviceDriverReset and
   SMU_MSG_PrepareMp1ForUnload

Reported-and-tested-by: lectrode <electrodexsnet@gmail.com>
Closes: https://github.com/void-linux/void-packages/issues/50417
Cc: stable@vger.kernel.org
Fixes: cd94d1b182 ("dm/amd/pm: Fix problems with reboot/shutdown for some SMU 13.0.4/13.0.11 users")
Reviewed-by: Tim Huang <Tim.Huang@amd.com>
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2024-06-05 13:41:56 -04:00
..
inc drm/amdgpu/pm: Add support for MACO flag checking 2024-04-09 22:07:59 -04:00
legacy-dpm drm/amdgpu: add protype for print ip state 2024-04-26 17:22:39 -04:00
powerplay drm/amdgpu: add protype for print ip state 2024-04-26 17:22:39 -04:00
swsmu drm/amd: Fix shutdown (again) on some SMU v13.0.4/11 platforms 2024-06-05 13:41:56 -04:00
amdgpu_dpm_internal.c drm/amd/pm: add missing prototypes to amdgpu_dpm_internal 2022-02-07 18:03:50 -05:00
amdgpu_dpm.c drm/amdgpu/pm: Add support for MACO flag checking 2024-04-09 22:07:59 -04:00
amdgpu_pm.c drm/amdgpu/pm: Remove gpu_od if it's an empty directory 2024-04-23 23:22:46 -04:00
Makefile drm/amd/swsmu: add smu14 ip support 2023-10-13 10:59:55 -04:00