Enable power features for Renoir

Submitted by Alex Deucher on Aug. 21, 2019, 10:23 p.m.

Details

Reviewer None
Submitted Aug. 21, 2019, 10:23 p.m.
Last Updated Aug. 21, 2019, 10:25 p.m.
Revision 1

Cover Letter(s)

Revision 1
      This patch set adds initial power management support for
renoir.

Aaron Liu (15):
  drm/amd/powerplay: add smu12_driver_if.h (v3)
  drm/amdgpu/powerplay: add initial renoir_ppt.c for renoir (v3)
  drm/amdgpu/powerplay: add smu_v12_0.c & smu_v12_0.h for renoir
  drm/amdgpu/powerplay: add smu ip block for renoir (v2)
  drm/amdgpu/powerplay: add power up/down SDMA interfaces for renoir
  drm/amd/powerplay: udpate smu_v12_0_check_fw_version (v2)
  drm/amdgpu: add set_gfx_cgpg implement (v2)
  drm/amdgpu: add and enable gfxoff feature
  drm/amd/powerplay: fix checking gfxoff status for rn
  drm/amd/powerplay: using valid mapping check for rn
  drm/amd/powerplay: add smu tables for rn
  drm/amd/powerplay: init smu tables for rn
  drm/amd/powerplay: add DPMCLOCKS table implementation
  drm/amdgpu: update gc/sdma goldensetting for rn
  Revert "drm/amdgpu: disable gfxoff for the moment on renoir"

Alex Deucher (1):
  drm/amdgpu/powerplay: Add smu_v12_0_ppsmc.h (v2)

Huang Rui (3):
  drm/amdgpu: skip dpm init for renoir
  drm/amd/powerplay: powerup sdma/vcn for all apu series
  drm/amdgpu: disable gfxoff for the moment on renoir

Leo Liu (1):
  drm/amdgpu/powerplay: add Renoir VCN power management

Prike Liang (15):
  drm/amdgpu: enable gfx clock gating for rn
  drm/amdgpu: enable mmhub clock gating for rn
  drm/amdgpu: enable sdma clock gating for rn
  drm/amdgpu: enable BIF clock gating for rn
  drm/amdgpu: enable HDP clock gating for rn
  drm/amdgpu: enable rom clock gating for rn
  drm/amdgpu: enable vcn clock gating for rn
  drm/amdgpu: enable IH clock gating for rn
  drm/amdgpu: enable athub clock gating for rn
  drm/amdgpu: enable DF clock gating for rn
  drm/amdgpu/mmhub1: set mmhub clock gating for rn
  drm/amdgpu/sdma4: set sdma clock gating for rn
  drm/amdgpu: enable SDMA power gating for rn
  drm/amd/powerplay: enable renoir dpm feature
  drm/amd/powerplay: Disable renoir smu feature retrive for the moment

Thong Thai (2):
  Revert "drm/amdgpu: use direct loading on renoir vcn for the moment"
  drm/amdgpu: enable VCN DPG for Renoir

 drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c       |   9 +-
 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c         |  12 +-
 drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c       |   1 +
 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c        |   5 +-
 drivers/gpu/drm/amd/amdgpu/soc15.c            |  31 +-
 drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c         |   9 +-
 drivers/gpu/drm/amd/powerplay/Makefile        |   2 +-
 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c    |  35 +-
 .../gpu/drm/amd/powerplay/inc/amdgpu_smu.h    |  20 +-
 .../drm/amd/powerplay/inc/smu12_driver_if.h   | 217 +++++++++++
 drivers/gpu/drm/amd/powerplay/inc/smu_types.h |  44 +++
 drivers/gpu/drm/amd/powerplay/inc/smu_v12_0.h |  42 +++
 .../drm/amd/powerplay/inc/smu_v12_0_ppsmc.h   | 106 ++++++
 drivers/gpu/drm/amd/powerplay/renoir_ppt.c    | 173 +++++++++
 drivers/gpu/drm/amd/powerplay/renoir_ppt.h    |  28 ++
 drivers/gpu/drm/amd/powerplay/smu_v11_0.c     |   2 +-
 drivers/gpu/drm/amd/powerplay/smu_v12_0.c     | 350 ++++++++++++++++++
 17 files changed, 1060 insertions(+), 26 deletions(-)
 create mode 100644 drivers/gpu/drm/amd/powerplay/inc/smu12_driver_if.h
 create mode 100644 drivers/gpu/drm/amd/powerplay/inc/smu_v12_0.h
 create mode 100644 drivers/gpu/drm/amd/powerplay/inc/smu_v12_0_ppsmc.h
 create mode 100644 drivers/gpu/drm/amd/powerplay/renoir_ppt.c
 create mode 100644 drivers/gpu/drm/amd/powerplay/renoir_ppt.h
 create mode 100644 drivers/gpu/drm/amd/powerplay/smu_v12_0.c
    

Revisions

Patches download mbox

# Name Submitter State A F R T
[01/37] drm/amdgpu/powerplay: Add smu_v12_0_ppsmc.h (v2) Alex Deucher Accepted
[02/37] drm/amd/powerplay: add smu12_driver_if.h (v3) Alex Deucher Accepted 2
[03/37] drm/amdgpu/powerplay: add initial renoir_ppt.c for renoir (v3) Alex Deucher Accepted 1
[04/37] drm/amdgpu/powerplay: add smu_v12_0.c & smu_v12_0.h for renoir Alex Deucher Accepted 1
[05/37] drm/amdgpu/powerplay: add smu ip block for renoir (v2) Alex Deucher Accepted 1
[06/37] drm/amdgpu/powerplay: add power up/down SDMA interfaces for renoir Alex Deucher Accepted 1
[07/37] drm/amdgpu: skip dpm init for renoir Alex Deucher Accepted 1
[08/37] drm/amdgpu/powerplay: add Renoir VCN power management Alex Deucher Accepted 4
[09/37] drm/amd/powerplay: powerup sdma/vcn for all apu series Alex Deucher Accepted 1
[10/37] drm/amd/powerplay: udpate smu_v12_0_check_fw_version (v2) Alex Deucher Accepted 2
[11/37] drm/amdgpu: add set_gfx_cgpg implement (v2) Alex Deucher Accepted 2
[12/37] drm/amdgpu: add and enable gfxoff feature Alex Deucher Accepted 3
[13/37] drm/amd/powerplay: fix checking gfxoff status for rn Alex Deucher Accepted 2
[14/37] drm/amd/powerplay: using valid mapping check for rn Alex Deucher Accepted 3
[15/37] drm/amd/powerplay: add smu tables for rn Alex Deucher Accepted 3
[16/37] drm/amd/powerplay: init smu tables for rn Alex Deucher Accepted 3
[17/37] drm/amd/powerplay: add DPMCLOCKS table implementation Alex Deucher Accepted 3
[18/37] drm/amdgpu: disable gfxoff for the moment on renoir Alex Deucher New 1
[19/37] drm/amdgpu: enable gfx clock gating for rn Alex Deucher Accepted 1
[20/37] drm/amdgpu: enable mmhub clock gating for rn Alex Deucher Accepted 1
[21/37] drm/amdgpu: enable sdma clock gating for rn Alex Deucher Accepted 1
[22/37] drm/amdgpu: enable BIF clock gating for rn Alex Deucher Accepted 1
[23/37] drm/amdgpu: enable HDP clock gating for rn Alex Deucher Accepted 1
[24/37] drm/amdgpu: enable rom clock gating for rn Alex Deucher Accepted 1
[25/37] drm/amdgpu: enable vcn clock gating for rn Alex Deucher Accepted 1
[26/37] drm/amdgpu: enable IH clock gating for rn Alex Deucher Accepted 1
[27/37] drm/amdgpu: enable athub clock gating for rn Alex Deucher Accepted 1
[28/37] drm/amdgpu: enable DF clock gating for rn Alex Deucher Accepted 1
[29/37] drm/amdgpu/mmhub1: set mmhub clock gating for rn Alex Deucher Accepted 1
[30/37] drm/amdgpu/sdma4: set sdma clock gating for rn Alex Deucher Accepted 1
[31/37] drm/amdgpu: enable SDMA power gating for rn Alex Deucher Accepted 1
[32/37] drm/amd/powerplay: enable renoir dpm feature Alex Deucher Accepted 1
[33/37] drm/amd/powerplay: Disable renoir smu feature retrive for the moment Alex Deucher Accepted 1
[34/37] drm/amdgpu: update gc/sdma goldensetting for rn Alex Deucher Accepted 1
[35/37] Revert "drm/amdgpu: disable gfxoff for the moment on renoir" Alex Deucher New 2
[36/37] Revert "drm/amdgpu: use direct loading on renoir vcn for the moment" Alex Deucher Accepted 1
[37/37] drm/amdgpu: enable VCN DPG for Renoir Alex Deucher New 2