Skip to content

Various SMU7 power management fixes

Timur Kristóf amd-gfx 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest9 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9drm/amd/pm/ci: Use highest MCLK on CI when MCLK DPM is disableddrivers/gpu/drm/amd/pm/powerplay/smumgr/ci_smumgr.c+8 -00 replies
2/9drm/amd/pm/ci: Disable MCLK DPM on problematic CI ASICsdrivers/gpu/drm/amd/pm/powerplay/hwmgr/hwmgr.c+15 -00 replies
3/9drm/amd/pm/smu7: Fix SMU7 voltage dependency on display clockdrivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.c drivers/gpu/drm/amd/pm/powerplay/inc/hwmgr.h+86 -30 replies
4/9drm/amd/pm/smu7: Remove non-functional SMU7 voltage dependency on DALdrivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.c drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu_helper.c drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu_helper.h +1 more+0 -960 replies
5/9drm/amd/pm/ci: Fix powertune defaults for Hawaii 0x67B0drivers/gpu/drm/amd/pm/powerplay/smumgr/ci_smumgr.c+1 -10 replies
6/9drm/amd/pm/ci: Clear EnabledForActivity field for memory levelsdrivers/gpu/drm/amd/pm/powerplay/smumgr/ci_smumgr.c+1 -10 replies
7/9drm/amd/pm/ci: Fill DW8 fields from SMCdrivers/gpu/drm/amd/pm/powerplay/smumgr/ci_smumgr.c+1 -20 replies
8/9drm/amd/pm/smu7: Add SCLK cap for quirky Hawaii boarddrivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.c drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.h+27 -40 replies
9/9drm/amdgpu/uvd4.2: Don't initialize UVD 4.2 when DPM is disableddrivers/gpu/drm/amd/amdgpu/uvd_v4_2.c+5 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/9] Various SMU7 power management fixes

This series fixes various issues that I found on two GPUs:

R9 390X (Hawaii, Asus ROG branded):
Add SCLK cap to fix stability issues, fix PCI ID typo. And a few minor fixes affecting CI GPUs.

R9 M380 (Bonaire, found in an iMac from 2015):
Disable MCLK switching, use highest MCLK.

Additionally, fix possible black screen on boot caused by a non-functional implementation of the voltage dependency on the display clock. The fix affects all GPUs with SMU7, hopefully improving stability for CI, VI and Polaris GPUs.

Looking forward to reviews and feedback!

Timur Kristóf (9):
drm/amd/pm/ci: Use highest MCLK on CI when MCLK DPM is disabled drm/amd/pm/ci: Disable MCLK DPM on problematic CI ASICs drm/amd/pm/smu7: Fix SMU7 voltage dependency on display clock drm/amd/pm/smu7: Remove non-functional SMU7 voltage dependency on DAL drm/amd/pm/ci: Fix powertune defaults for Hawaii 0x67B0 drm/amd/pm/ci: Clear EnabledForActivity field for memory levels drm/amd/pm/ci: Fill DW8 fields from SMC
drm/amd/pm/smu7: Add SCLK cap for quirky Hawaii board drm/amdgpu/uvd4.2: Don't initialize UVD 4.2 when DPM is disabled

 drivers/gpu/drm/amd/amdgpu/uvd_v4_2.c         |   5 +
 .../gpu/drm/amd/pm/powerplay/hwmgr/hwmgr.c    |  15 +++
 .../drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.c   | 123 ++++++++++++++++--
 .../drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.h   |   1 +
 .../drm/amd/pm/powerplay/hwmgr/smu_helper.c   |  84 ------------
 .../drm/amd/pm/powerplay/hwmgr/smu_helper.h   |   2 -
 drivers/gpu/drm/amd/pm/powerplay/inc/hwmgr.h  |   2 +-
 .../drm/amd/pm/powerplay/smumgr/ci_smumgr.c   |  15 ++-
 8 files changed, 142 insertions(+), 105 deletions(-)
Signature · 1 line
2.53.0