linux/drivers/gpu/drm/amd/pm
Asad Kamal 93eca5a03b drm/amd/pm: add 5s custom timeout for unload messages
The default SMU message timeout may be too short for the
PrepareMp1ForUnload message on smu_v15_0_8, leading to spurious
-ETIME errors under load or slow firmware response conditions.

Introduce SMU_V15_0_8_MSG_TIMEOUT_US (5 seconds) and apply it to:
  - smu_v15_0_8_notify_unload(): switch from smu_cmn_send_smc_msg()
    to smu_cmn_send_smc_msg_with_params_ext() to pass the explicit
    timeout.
v2: Use c2pmsgctl and args directly (Lijo)

Signed-off-by: Asad Kamal <asad.kamal@amd.com>
Reviewed-by: Lijo Lazar <lijo.lazar@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2026-08-25 18:46:05 -04:00
..
inc drm/amd/pm: fix torn gpu metrics reads 2026-07-28 20:00:06 -04:00
legacy-dpm drm/amdgpu: Remove is_idle (trivial cases) 2026-08-25 18:25:28 -04:00
powerplay drm/amdgpu: Remove is_idle (trivial cases) 2026-08-25 18:25:28 -04:00
swsmu drm/amd/pm: add 5s custom timeout for unload messages 2026-08-25 18:46:05 -04:00
amdgpu_dpm_internal.c drm/amd/pm: Remove unneeded legacy DPM related code. 2025-09-15 16:52:50 -04:00
amdgpu_dpm.c drm/amd/pm: refactor user PPT policy save and restore 2026-08-06 09:26:34 -04:00
amdgpu_pm.c drm/amd/pm: Simplify SoC power printing in debugfs 2026-08-12 09:36:09 -04:00
Makefile drm/amd: Enable SMU 15_0_0 support 2026-01-08 11:41:42 -05:00