1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/gpu/drm/amd/pm/swsmu
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/amd/swsmu: add smu v14_0_2 support 2024-04-16 22:39:16 -04:00
smu11 amd-drm-next-6.10-2024-04-13: 2024-04-17 15:48:59 +10:00
smu12 drm/amdgpu: check PS, WS index 2024-01-15 18:35:37 -05:00
smu13 drm/amd: Fix shutdown (again) on some SMU v13.0.4/11 platforms 2024-06-05 13:41:56 -04:00
smu14 drm/amd/pm: remove deprecated I2C_CLASS_SPD support from newly added SMU_14_0_2 2024-05-29 17:08:08 -04:00
amdgpu_smu.c drm/amd/swsmu: support SMU_14_0_2 ppt_funcs 2024-04-16 22:39:16 -04:00
Makefile drm/amd/swsmu: add smu14 ip support 2023-10-13 10:59:55 -04:00
smu_cmn.c drm/amd/pm: Add special handling for RAS messages 2024-04-09 22:13:50 -04:00
smu_cmn.h drm/amdgpu/pm: Use macro definitions in the smu IH process function 2024-01-29 15:46:55 -05:00
smu_internal.h drm/amd/pm: setup the framework to support Wifi RFI mitigation feature 2023-12-13 15:23:50 -05:00