Setting performance mode to "profile_peak" freezes the full APU (Vangogh)
We've noticed that, irrespective of kernel version (5.13, 6.0, 6.3, etc), when setting profile mode to profile_peak
, the APU freezes in a way it's not even possible to collect logs. The follow command reproduces it reliably for me:
while (true); do echo profile_peak > /sys/class/drm/card0/device/power_dpm_force_performance_level; sleep 1; echo auto > /sys/class/drm/card0/device/power_dpm_force_performance_level; sleep 1; done
It also can be reproduced by using the ioctl (AMDGPU_CTX_OP_SET_STABLE_PSTATE
) to set the profile_peak
mode.
I'll add more details in the comments, and @bnieuwenhuizen / @lostgoat / @hakzsam are pretty much aware (and affected) and can elaborate about the usecase of this feature.
EDIT: forgot to mention the full path for the file power_dpm_force_performance_level
- thanks @mwen for the heads-up!