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 LTS kernel. Evan Quan (4): drm/amd/pm: fulfill swsmu peak profiling mode shader/memory clock settings drm/amd/pm: expose swctf threshold setting for legacy powerplay drm/amd/pm: fulfill powerplay peak profiling mode shader/memory clock settings drm/amd/pm: avoid unintentional shutdown due to temperature momentary fluctuation drivers/gpu/drm/amd/amdgpu/amdgpu.h | 3 + .../gpu/drm/amd/include/kgd_pp_interface.h | 2 + drivers/gpu/drm/amd/pm/inc/amdgpu_dpm.h | 2 + .../gpu/drm/amd/pm/powerplay/amd_powerplay.c | 58 +++++++++++++- .../amd/pm/powerplay/hwmgr/hardwaremanager.c | 4 +- .../drm/amd/pm/powerplay/hwmgr/smu10_hwmgr.c | 16 +++- .../drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.c | 78 +++++++++++++++---- .../drm/amd/pm/powerplay/hwmgr/smu8_hwmgr.c | 16 +++- .../drm/amd/pm/powerplay/hwmgr/smu_helper.c | 27 +++---- .../drm/amd/pm/powerplay/hwmgr/vega10_hwmgr.c | 41 ++++++++-- .../drm/amd/pm/powerplay/hwmgr/vega12_hwmgr.c | 26 +++++++ .../drm/amd/pm/powerplay/hwmgr/vega20_hwmgr.c | 24 +++--- drivers/gpu/drm/amd/pm/powerplay/inc/hwmgr.h | 4 + .../drm/amd/pm/powerplay/inc/power_state.h | 1 + drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c | 42 ++++++++++ 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 +-- 18 files changed, 293 insertions(+), 71 deletions(-) -- 2.34.1