mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 00/14] Remove unused structure amd_pp_display_configuration
@ 2017-07-24 13:35 Ricardo Ribalda Delgado
  2017-07-24 13:35 ` [PATCH 01/14] amdgpu: powerplay: Remove unused function Ricardo Ribalda Delgado
                   ` (13 more replies)
  0 siblings, 14 replies; 20+ messages in thread
From: Ricardo Ribalda Delgado @ 2017-07-24 13:35 UTC (permalink / raw)
  To: Alex Deucher, Christian König, David Airlie, Rex Zhu,
	Tom St Denis, Eric Huang, Huang Rui, Dan Carpenter,
	Edward O'Callaghan, Kees Cook, Andrew F. Davis,
	Hawking Zhang, Baoyou Xie, Masahiro Yamada, Colin Ian King,
	Nils Wallménius, Joe Perches, amd-gfx, dri-devel,
	linux-kernel
  Cc: Ricardo Ribalda Delgado

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

^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2017-07-26 14:44 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-24 13:35 [PATCH 00/14] Remove unused structure amd_pp_display_configuration Ricardo Ribalda Delgado
2017-07-24 13:35 ` [PATCH 01/14] amdgpu: powerplay: Remove unused function Ricardo Ribalda Delgado
2017-07-24 14:01   ` Harry Wentland
2017-07-24 14:06     ` Ricardo Ribalda Delgado
2017-07-24 15:45       ` Harry Wentland
2017-07-26 13:47         ` Ricardo Ribalda Delgado
2017-07-26 14:44           ` Harry Wentland
2017-07-24 13:35 ` [PATCH 02/14] " Ricardo Ribalda Delgado
2017-07-24 13:35 ` [PATCH 03/14] amdgpu: powerplay: cz_hwmgr: Fix invalid error message Ricardo Ribalda Delgado
2017-07-24 13:35 ` [PATCH 04/14] amdgpu: powerplay: smu7_hwmgr: Assume display_config is zero Ricardo Ribalda Delgado
2017-07-24 13:35 ` [PATCH 05/14] amdgpu: powerplay: fiji_smc: " Ricardo Ribalda Delgado
2017-07-24 13:35 ` [PATCH 06/14] amdgpu: powerplay: iceland_smc: " Ricardo Ribalda Delgado
2017-07-24 13:35 ` [PATCH 07/14] amdgpu: powerplay: polaris10_smc: " Ricardo Ribalda Delgado
2017-07-24 13:35 ` [PATCH 08/14] amdgpu: powerplay: tonga_smc: " Ricardo Ribalda Delgado
2017-07-24 13:35 ` [PATCH 09/14] amdgpu: powerplay: rv_hwmgr: " Ricardo Ribalda Delgado
2017-07-24 13:35 ` [PATCH 10/14] amdgpu: powerplay: vega10_hwmgr: " Ricardo Ribalda Delgado
2017-07-24 13:35 ` [PATCH 11/14] amdgpu: ci_dpm: Assume pm_display_cfg " Ricardo Ribalda Delgado
2017-07-24 13:35 ` [PATCH 12/14] amdgpu: powerplay: hwmgr: Remove unused field Ricardo Ribalda Delgado
2017-07-24 13:35 ` [PATCH 13/14] amdgpu: amdgpu_dpm: " Ricardo Ribalda Delgado
2017-07-24 13:35 ` [PATCH 14/14] amdgpu: powerplay: Remove unused structure Ricardo Ribalda Delgado

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®