Skip to content

drm/amd/powerplay: Introduce iceland powerplay support

Huang Rui amd-gfx 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest15 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/15drm/amd/powerplay: add SMU71 header files for iceland (v2)drivers/gpu/drm/amd/powerplay/inc/smu71.h drivers/gpu/drm/amd/powerplay/inc/smu71_discrete.h+1141 -00 replies
2/15drm/amd/powerplay: add iceland SMU manangerdrivers/gpu/drm/amd/powerplay/smumgr/Makefile drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.h +1 more+783 -10 replies
3/15drm/amdgpu: add new definition in bif headerdrivers/gpu/drm/amd/include/asic_reg/bif/bif_5_0_d.h+1 -00 replies
4/15drm/amd/powerplay: add iceland_dyn_defaults headerdrivers/gpu/drm/amd/powerplay/hwmgr/iceland_dyn_defaults.h+41 -00 replies
5/15drm/amdgpu: make amdgpu_cgs_call_acpi_method as staticdrivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c+1 -10 replies
6/15drm/amdgpu: fix incorrect type of info_iddrivers/gpu/drm/amd/include/cgs_common.h+5 -50 replies
7/15drm/amdgpu: add query device id and revision id into system info entry at CGSdrivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c drivers/gpu/drm/amd/include/cgs_common.h+9 -10 replies
8/15drm/amd/powerplay: add iceland HW managerdrivers/gpu/drm/amd/powerplay/hwmgr/Makefile drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.c drivers/gpu/drm/amd/powerplay/hwmgr/iceland_clockpowergating.c +7 more+7423 -11 reply
9/15drm/amdgpu: enable iceland powerplay manuallydrivers/gpu/drm/amd/amdgpu/amdgpu_powerplay.c+3 -10 replies
10/15drm/amd/powerplay: rename smum header guardsdrivers/gpu/drm/amd/amdgpu/iceland_smum.h+2 -20 replies
11/15drm/amd/powerplay: fix the incorrect checking conditiondrivers/gpu/drm/amd/powerplay/hwmgr/iceland_hwmgr.c+1 -10 replies
12/15drm/amd/powerplay: add deep sleep initializationdrivers/gpu/drm/amd/powerplay/hwmgr/iceland_hwmgr.c+34 -00 replies
13/15drm/amd/powerplay: set the platform capability flags for icelanddrivers/gpu/drm/amd/powerplay/hwmgr/iceland_hwmgr.c+51 -00 replies
14/15drm/amd/powerplay: add enabling voltage controller backdrivers/gpu/drm/amd/powerplay/hwmgr/iceland_hwmgr.c+0 -20 replies
15/15drm/amd/powerplay: add DPM running checking backdrivers/gpu/drm/amd/powerplay/hwmgr/iceland_hwmgr.c+0 -20 replies

Reviews trailers per patch

13 of 15 patches have a Reviewed-by or Acked-by.

PatchAlex DeucherKen Wang
1/15
2/15R-b
3/15
4/15R-b
5/15R-b
6/15R-b
7/15R-b
8/15R-b
9/15R-b
10/15R-b
11/15R-b
12/15R-b
13/15R-b
14/15R-b
15/15R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [Part II PATCH 00/15] drm/amd/powerplay: Introduce iceland powerplay support

From: Huang Rui <[email protected]>

Hi all,

Part I: https://lists.freedesktop.org/archives/amd-gfx/2016-July/000569.html

After add the prep (Part I) of iceland powerplay, this part (Part II) introduces iceland powerplay support, and there is two sub-part:

1) Patch 1 - 9: add SMU and HW manager function support.
2) Patch 10 - 15: resolve the DPM issue.

Thanks,
Rui

Huang Rui (15):
drm/amd/powerplay: add SMU71 header files for iceland (v2) drm/amd/powerplay: add iceland SMU mananger
drm/amdgpu: add new definition in bif header drm/amd/powerplay: add iceland_dyn_defaults header drm/amdgpu: make amdgpu_cgs_call_acpi_method as static drm/amdgpu: fix incorrect type of info_id
drm/amdgpu: add query device id and revision id into system info entry
at CGS
drm/amd/powerplay: add iceland HW manager
drm/amdgpu: enable iceland powerplay manually drm/amd/powerplay: rename smum header guards drm/amd/powerplay: fix the incorrect checking condition drm/amd/powerplay: add deep sleep initialization drm/amd/powerplay: set the platform capability flags for iceland drm/amd/powerplay: add enabling voltage controller back drm/amd/powerplay: add DPM running checking back

 drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c            |   10 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_powerplay.c      |    4 +-
 drivers/gpu/drm/amd/amdgpu/iceland_smum.h          |    4 +-
 .../gpu/drm/amd/include/asic_reg/bif/bif_5_0_d.h   |    1 +
 drivers/gpu/drm/amd/include/cgs_common.h           |   12 +-
 drivers/gpu/drm/amd/powerplay/hwmgr/Makefile       |    4 +-
 drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.c        |    4 +
 .../amd/powerplay/hwmgr/iceland_clockpowergating.c |  119 +
 .../amd/powerplay/hwmgr/iceland_clockpowergating.h |   38 +
 .../drm/amd/powerplay/hwmgr/iceland_dyn_defaults.h |   41 +
 .../gpu/drm/amd/powerplay/hwmgr/iceland_hwmgr.c    | 5698 ++++++++++++++++++++
 .../gpu/drm/amd/powerplay/hwmgr/iceland_hwmgr.h    |  424 ++
 .../drm/amd/powerplay/hwmgr/iceland_powertune.c    |  491 ++
 .../drm/amd/powerplay/hwmgr/iceland_powertune.h    |   74 +
 .../gpu/drm/amd/powerplay/hwmgr/iceland_thermal.c  |  595 ++
 .../gpu/drm/amd/powerplay/hwmgr/iceland_thermal.h  |   58 +
 drivers/gpu/drm/amd/powerplay/inc/smu71.h          |  510 ++
 drivers/gpu/drm/amd/powerplay/inc/smu71_discrete.h |  631 +++
 drivers/gpu/drm/amd/powerplay/smumgr/Makefile      |    3 +-
 .../gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c  |  713 +++
 .../gpu/drm/amd/powerplay/smumgr/iceland_smumgr.h  |   64 +
 drivers/gpu/drm/amd/powerplay/smumgr/smumgr.c      |    4 +
 22 files changed, 9490 insertions(+), 12 deletions(-)
 create mode 100644 drivers/gpu/drm/amd/powerplay/hwmgr/iceland_clockpowergating.c
 create mode 100644 drivers/gpu/drm/amd/powerplay/hwmgr/iceland_clockpowergating.h
 create mode 100644 drivers/gpu/drm/amd/powerplay/hwmgr/iceland_dyn_defaults.h
 create mode 100644 drivers/gpu/drm/amd/powerplay/hwmgr/iceland_hwmgr.c
 create mode 100644 drivers/gpu/drm/amd/powerplay/hwmgr/iceland_hwmgr.h
 create mode 100644 drivers/gpu/drm/amd/powerplay/hwmgr/iceland_powertune.c
 create mode 100644 drivers/gpu/drm/amd/powerplay/hwmgr/iceland_powertune.h
 create mode 100644 drivers/gpu/drm/amd/powerplay/hwmgr/iceland_thermal.c
 create mode 100644 drivers/gpu/drm/amd/powerplay/hwmgr/iceland_thermal.h
 create mode 100644 drivers/gpu/drm/amd/powerplay/inc/smu71.h
 create mode 100644 drivers/gpu/drm/amd/powerplay/inc/smu71_discrete.h
 create mode 100644 drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c
 create mode 100644 drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.h
Signature · 6 lines
2.7.4

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx