From: Huang Rui <Ray.Huang@xxxxxxx> 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 -- 2.7.4