[PATCH 0/3] Obey amdgpu.runpm even on BOCO systems

Mario Limonciello mario.limonciello at amd.com
Tue Nov 28 18:52:35 UTC 2023


I've found that on a system that supports BOCO when I try to override
it that it still uses BOCO.  This is because module parameter use is
intermingled with automatic detection.

This series moves automatic detection after module parameter use
and makes all callers obey the result.

Mario Limonciello (3):
  drm/amd: Fix handling of amdgpu.runpm on systems with BOCO
  drm/amd: Introduce new enum for BAMACO
  drm/amd: Drop calls for checking "support" for BACO/BOCO/PX

 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c    |  7 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c       | 34 ++++----
 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c       | 80 +++++++++++--------
 drivers/gpu/drm/amd/pm/inc/amdgpu_dpm.h       |  1 +
 drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c     |  3 +-
 .../gpu/drm/amd/pm/swsmu/smu11/smu_v11_0.c    |  2 +-
 .../gpu/drm/amd/pm/swsmu/smu13/smu_v13_0.c    |  5 +-
 7 files changed, 77 insertions(+), 55 deletions(-)

-- 
2.34.1



More information about the amd-gfx mailing list