[PATCH 00/14] Remove unused structure amd_pp_display_configuration
From: Ricardo Ribalda Delgado
Date: Mon Jul 24 2017 - 09:35:55 EST
While trying to fix the error message
amdgpu: [powerplay] min_core_set_clock not set
on my carizzo board. I Realized that the structure display_config was never
set and therefore a lot of code could be simplified.
Also due to display_config never set, the error message was invalid.
Other people referencing it:
http://www.mikejonesey.co.uk/linux/optimisation/amd-carrizo-powerplay-this-function-not-implement
Ricardo Ribalda Delgado (14):
amdgpu: powerplay: Remove unused function
amdgpu: powerplay: Remove unused function
amdgpu: powerplay: cz_hwmgr: Fix invalid error message.
amdgpu: powerplay: smu7_hwmgr: Assume display_config is zero
amdgpu: powerplay: fiji_smc: Assume display_config is zero
amdgpu: powerplay: iceland_smc: Assume display_config is zero
amdgpu: powerplay: polaris10_smc: Assume display_config is zero
amdgpu: powerplay: tonga_smc: Assume display_config is zero
amdgpu: powerplay: rv_hwmgr: Assume display_config is zero
amdgpu: powerplay: vega10_hwmgr: Assume display_config is zero
amdgpu: ci_dpm: Assume pm_display_cfg is zero
amdgpu: powerplay: hwmgr: Remove unused field
amdgpu: amdgpu_dpm: Remove unused field
amdgpu: powerplay: Remove unused structure
drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h | 1 -
drivers/gpu/drm/amd/amdgpu/ci_dpm.c | 6 ---
drivers/gpu/drm/amd/powerplay/amd_powerplay.c | 21 -----------
.../gpu/drm/amd/powerplay/eventmgr/eventtasks.c | 1 -
drivers/gpu/drm/amd/powerplay/hwmgr/cz_hwmgr.c | 20 +++-------
.../gpu/drm/amd/powerplay/hwmgr/hardwaremanager.c | 25 -------------
drivers/gpu/drm/amd/powerplay/hwmgr/rv_hwmgr.c | 2 -
drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c | 10 ++---
drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c | 18 +++------
drivers/gpu/drm/amd/powerplay/inc/amd_powerplay.h | 43 ----------------------
.../gpu/drm/amd/powerplay/inc/hardwaremanager.h | 3 --
drivers/gpu/drm/amd/powerplay/inc/hwmgr.h | 1 -
drivers/gpu/drm/amd/powerplay/smumgr/fiji_smc.c | 5 +--
drivers/gpu/drm/amd/powerplay/smumgr/iceland_smc.c | 3 +-
.../gpu/drm/amd/powerplay/smumgr/polaris10_smc.c | 5 +--
drivers/gpu/drm/amd/powerplay/smumgr/tonga_smc.c | 3 +-
16 files changed, 20 insertions(+), 147 deletions(-)
--
2.13.2