[PATCH 00/10] Enable auto wattman feature on Polaris

Rex Zhu Rex.Zhu at amd.com
Thu Feb 8 09:14:09 UTC 2018


Enable auto wattman on polaris.
Manual set wattman feature related parameters on other smu7 asics.

In manual dpm mode, auto wattman feature was disabled.
user can change auto wattman related parameters through sysfs
pp_power_profile_mode.

Rex Zhu (10):
  drm/amd/amdgpu: Add query vram width in CGS query system info
  drm/amdgpu: Add a pp feature mask bit for autowattman
  drm/amd/pp: Add new smu callback function
  drm/amd/pp: Implement update_dpm_settings on Polaris
  drm/amd/pp: Implement get_power_profile_mode on smu7
  drm/amd/pp: Implement set_power_profile_mode on smu7
  drm/amd/pp: Add new hw interface for auto wattman feature.
  drm/amd/pp: Implement auto wattman feature on Smu7
  drm/amd/pp: Restore power profile mode in auto dpm level on smu7
  drm/amd/pp: Enable auto automan feature on Polaris

 drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c            |   3 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c            |   2 +-
 drivers/gpu/drm/amd/include/cgs_common.h           |   1 +
 drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.c        |  39 +++
 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c   | 358 ++++++++++++++++++++-
 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.h   |  26 ++
 drivers/gpu/drm/amd/powerplay/inc/hwmgr.h          |   6 +
 drivers/gpu/drm/amd/powerplay/inc/smumgr.h         |   1 +
 .../drm/amd/powerplay/smumgr/polaris10_smumgr.c    | 104 ++++++
 drivers/gpu/drm/amd/powerplay/smumgr/smumgr.c      |   8 +
 10 files changed, 545 insertions(+), 3 deletions(-)

-- 
1.9.1



More information about the amd-gfx mailing list