Users have been reporting that momentary fluctuations can trigger a shutdown. Link: https://gitlab.freedesktop.org/drm/amd/-/issues/1267 Link: https://gitlab.freedesktop.org/drm/amd/-/issues/2779 This behavior has been fixed in kernel 6.5, and this series brings the solution to the stable kernel. Evan Quan (2): drm/amd/pm: expose swctf threshold setting for legacy powerplay drm/amd/pm: avoid unintentional shutdown due to temperature momentary fluctuation drivers/gpu/drm/amd/amdgpu/amdgpu.h | 3 ++ drivers/gpu/drm/amd/pm/inc/amdgpu_dpm.h | 2 + .../gpu/drm/amd/pm/powerplay/amd_powerplay.c | 48 +++++++++++++++++++ .../amd/pm/powerplay/hwmgr/hardwaremanager.c | 4 +- .../drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.c | 2 + .../drm/amd/pm/powerplay/hwmgr/smu_helper.c | 27 ++++------- .../drm/amd/pm/powerplay/hwmgr/vega10_hwmgr.c | 10 ++++ .../drm/amd/pm/powerplay/hwmgr/vega12_hwmgr.c | 4 ++ .../drm/amd/pm/powerplay/hwmgr/vega20_hwmgr.c | 4 ++ drivers/gpu/drm/amd/pm/powerplay/inc/hwmgr.h | 2 + .../drm/amd/pm/powerplay/inc/power_state.h | 1 + drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c | 34 +++++++++++++ drivers/gpu/drm/amd/pm/swsmu/inc/amdgpu_smu.h | 2 + .../gpu/drm/amd/pm/swsmu/smu11/smu_v11_0.c | 9 +--- .../gpu/drm/amd/pm/swsmu/smu13/smu_v13_0.c | 9 +--- 15 files changed, 128 insertions(+), 33 deletions(-) -- 2.34.1