1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/gpu/drm/amd/pm/swsmu/smu13
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
..
aldebaran_ppt.c drm/amd/pm: Update uclk/sclk limit report format 2024-04-09 22:10:56 -04:00
aldebaran_ppt.h drm/amd/smu: Update SMU13 support for SMU 13.0.0 2022-05-04 09:58:46 -04:00
Makefile drm/amd/pm: Add SMU 13.0.6 support 2023-03-07 14:22:41 -05:00
smu_v13_0.c drm/amdgpu/pm: Check AMDGPU_RUNPM_BAMACO when setting baco state 2024-04-09 22:08:27 -04:00
smu_v13_0_0_ppt.c drm/amd/pm: fix the high voltage issue after unload 2024-04-09 23:26:32 -04:00
smu_v13_0_0_ppt.h drm/amd/smu: Update SMU13 support for SMU 13.0.0 2022-05-04 09:58:46 -04:00
smu_v13_0_4_ppt.c drm/amd: Fix shutdown (again) on some SMU v13.0.4/11 platforms 2024-06-05 13:41:56 -04:00
smu_v13_0_4_ppt.h drm/amdgpu/pm: add swsmu ppt implementation for SMU IP v13.0.4 2022-05-16 10:02:57 -04:00
smu_v13_0_5_ppt.c drm/amdgpu: add VCN sensor value for SMU 13.0.5 2024-03-20 13:38:15 -04:00
smu_v13_0_5_ppt.h drm/amd/pm: enable more Pstates profile levels for SMU v13.0.5 2023-06-15 11:06:58 -04:00
smu_v13_0_6_ppt.c drm/amdgpu: add interface to update umc v12_0 ecc status 2024-04-26 17:22:41 -04:00
smu_v13_0_6_ppt.h drm/amd/pm: Add SMU 13.0.6 support 2023-03-07 14:22:41 -05:00
smu_v13_0_7_ppt.c drm/amdgpu/pm: Change the member function name in pp_hwmgr_func and pptable_funcs 2024-04-09 22:07:50 -04:00
smu_v13_0_7_ppt.h drm/amd/pm: add SMU_13_0_7 ppt_funcs for SMU_13_0_7 2022-05-05 16:53:07 -04:00
yellow_carp_ppt.c drm/amdgpu: add VCN sensor value for yellow carp 2024-03-20 13:38:15 -04:00
yellow_carp_ppt.h drm/amd/pm: enable more Pstates profile levels for yellow_carp 2023-06-09 12:49:53 -04:00