Thanks for pulling this together, Timur and Alex. I just tried compiling
the series of 5 patches and it crashes my FirePro W4170M driver during boot:

[   41.095779] amdgpu 0000:01:00.0: [drm] *ERROR* UVD Firmware validate
fail (-22).
[   41.095788] amdgpu 0000:01:00.0: resume of IP block <uvd_v3_1> failed -22
[   41.095792] amdgpu 0000:01:00.0: amdgpu_device_ip_resume failed (-22).

I think it may be required after all to run the entire compute clocks
pipeline, or at least a bit more of it. I've been successfully running this
patch for the past few weeks:
https://github.com/luisfonsivevo/linux/commit/9b6090a4c145c988158d507c7b659c8765d9f7da
(I'm not allowed to create forks on the freedesktop GitLab)


On Tue, May 19, 2026 at 10:42 AM Timur Kristóf <[email protected]>
wrote:

> Fix various issues with the clocks stuck on SI
> laptop dGPUs:
>
> * vblank mistake when there are no displays connected
> * forgot to notify SMU about DC->AC switch
> * inconsistent values in VBIOS
>
> While we are at it, also implement the DC->AC notification
> for SMU7 as well, which is supposed to work the same way.
>
> Jeremy Klarenbeek (2):
>   drm/amd/pm/si: Fix updating clock limits from power states
>   drm/amd/pm/si: Notify the SMC when switching to AC
>
> Timur Kristóf (3):
>   drm/amd/pm/si: Disregard vblank time when no displays are connected
>   drm/amd/pm: Rename enable_bapm() to notify_ac_dc()
>   drm/amd/pm/smu7: Notify SMU7 of DC->AC switch
>
>  .../gpu/drm/amd/include/kgd_pp_interface.h    |  2 +-
>  drivers/gpu/drm/amd/pm/amdgpu_dpm.c           |  8 +--
>  drivers/gpu/drm/amd/pm/legacy-dpm/kv_dpm.c    |  6 +--
>  drivers/gpu/drm/amd/pm/legacy-dpm/si_dpm.c    | 50 ++++++++++++++-----
>  .../gpu/drm/amd/pm/powerplay/amd_powerplay.c  | 12 +++++
>  .../drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.c   | 15 ++++++
>  drivers/gpu/drm/amd/pm/powerplay/inc/hwmgr.h  |  1 +
>  7 files changed, 74 insertions(+), 20 deletions(-)
>
> --
> 2.54.0
>
>

Reply via email to