Updates for SW SMU driver

Submitted by Huang, Ray on Feb. 25, 2019, 12:12 p.m.

Details

Reviewer None
Submitted Feb. 25, 2019, 12:12 p.m.
Last Updated Feb. 25, 2019, 12:14 p.m.
Revision 1

Cover Letter(s)

Revision 1
      Hi all,

These series are the updates for SW SMU driver. It adds more interfaces for
sysfs and hwmon and fix some coding errors. And add suspend/resume function, for
now, it already passed S3 test with SW SMU.

Thanks,
Ray

Chengming Gui (7):
  drm/amd/powerplay: implement power1_cap and power1_cap_max interface
    for SMU11.
  drm/amd/powerplay: add STABLE_PSTATE_SCLK and STABLE_PSTATE_MCLK when
    read sensor for SMU11
  drm/amd/powerplay: implement pwm1 hwmon interface for SMU11
  drm/amd/powerplay: implement pwm1_enable hwmon interface for SMU11
  drm/amd/powerplay: implement fan1_enable hwmon interface for SMU11
    (v2)
  drm/amd/powerplay: add smu_late_init for SMU11.
  drm/amd/powerplay: add is_dpm_running for SMU11

Huang Rui (5):
  drm/amd/powerplay: fix smc messsage index report
  drm/amd/powerplay: fix byte alignment issue of smu11 pptable
  drm/amd/powerplay: move setting allowed mask and feature enabling
    together
  drm/amd/powerplay: fix the issue of checking on message mapping
  drm/amd/powerplay: use REG32_PCIE wrapper instead for sw smu

Kevin Wang (1):
  drm/amd/powerplay: debugfs don't check powerplay when SW SMU is
    enabled.

Likun Gao (13):
  drm/amd/powerplay: add fan rpm limit interface for hwmon
  drm/amd/powerplay: add fan input interface for hwmon
  drm/amd/powerplay: set fan target interface for hwmon
  drm/amd/powerplay: get eclk/vclk/dclk for smu11
  drm/amd/powerplay: set dpm table of vclk/dclk/eclk for smu11 (v2)
  drm/amd/powerplay: add limit of pp_feature for smu
  drm/amd/powerplay: add od condition for power limit
  drm/amd/powerplay: add suspend and resume function for smu
  drm/amd/powerplay: add condition for smc table hw init
  drm/amd/powerplay: support sysfs to get socclk, fclk, dcefclk
  drm/amd/powerplay: support sysfs to set socclk, fclk, dcefclk
  drm/amd/powerplay: add override pcie parameters
  drm/amd/powerplay: support sysfs to set/get pcie

 drivers/gpu/drm/amd/amdgpu/amdgpu.h                |   4 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c         |   2 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c            |   2 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c             | 143 ++++++---
 drivers/gpu/drm/amd/amdgpu/kv_dpm.c                |   2 +-
 drivers/gpu/drm/amd/amdgpu/soc15.c                 |   2 +-
 drivers/gpu/drm/amd/powerplay/amd_powerplay.c      |   2 +-
 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c         | 262 +++++++++------
 drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h     |  61 +++-
 .../gpu/drm/amd/powerplay/inc/smu_v11_0_pptable.h  |   6 +-
 drivers/gpu/drm/amd/powerplay/smu_v11_0.c          | 357 +++++++++++++++++----
 drivers/gpu/drm/amd/powerplay/vega20_ppt.c         | 317 ++++++++++++++++--
 12 files changed, 914 insertions(+), 246 deletions(-)
    

Revisions

Patches download mbox

# Name Submitter State A F R T
[01/26] drm/amd/powerplay: debugfs don't check powerplay when SW SMU is enabled. Huang, Ray Accepted 1
[02/26] drm/amd/powerplay: add fan rpm limit interface for hwmon Huang, Ray Accepted 2
[03/26] drm/amd/powerplay: add fan input interface for hwmon Huang, Ray Accepted 2
[04/26] drm/amd/powerplay: implement power1_cap and power1_cap_max interface for SMU11. Huang, Ray New 3
[05/26] drm/amd/powerplay: add STABLE_PSTATE_SCLK and STABLE_PSTATE_MCLK when read sensor for SMU11 Huang, Ray Accepted 2
[06/26] drm/amd/powerplay: implement pwm1 hwmon interface for SMU11 Huang, Ray New 1
[07/26] drm/amd/powerplay: implement pwm1_enable hwmon interface for SMU11 Huang, Ray New 2
[08/26] drm/amd/powerplay: implement fan1_enable hwmon interface for SMU11 (v2) Huang, Ray New 2
[09/26] drm/amd/powerplay: set fan target interface for hwmon Huang, Ray Accepted 2
[10/26] drm/amd/powerplay: get eclk/vclk/dclk for smu11 Huang, Ray Accepted 1
[11/26] drm/amd/powerplay: set dpm table of vclk/dclk/eclk for smu11 (v2) Huang, Ray Accepted 1
[12/26] drm/amd/powerplay: add smu_late_init for SMU11. Huang, Ray Accepted 1
[13/26] drm/amd/powerplay: add limit of pp_feature for smu Huang, Ray New 1
[14/26] drm/amd/powerplay: add od condition for power limit Huang, Ray New 1
[15/26] drm/amd/powerplay: add is_dpm_running for SMU11 Huang, Ray New 1
[16/26] drm/amd/powerplay: add suspend and resume function for smu Huang, Ray Accepted 1
[17/26] drm/amd/powerplay: add condition for smc table hw init Huang, Ray New 1
[18/26] drm/amd/powerplay: support sysfs to get socclk, fclk, dcefclk Huang, Ray Accepted 1
[19/26] drm/amd/powerplay: support sysfs to set socclk, fclk, dcefclk Huang, Ray Accepted 1
[20/26] drm/amd/powerplay: add override pcie parameters Huang, Ray Accepted 2
[21/26] drm/amd/powerplay: support sysfs to set/get pcie Huang, Ray Accepted 1
[22/26] drm/amd/powerplay: fix smc messsage index report Huang, Ray Accepted 1
[23/26] drm/amd/powerplay: fix byte alignment issue of smu11 pptable Huang, Ray Accepted 1 1
[24/26] drm/amd/powerplay: move setting allowed mask and feature enabling together Huang, Ray Accepted 1
[25/26] drm/amd/powerplay: fix the issue of checking on message mapping Huang, Ray Accepted
[26/26] drm/amd/powerplay: use REG32_PCIE wrapper instead for sw smu Huang, Ray Accepted 2