public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: linux@treblig.org
To: alexander.deucher@amd.com, Felix.Kuehling@amd.com,
	christian.koenig@amd.com, harry.wentland@amd.com,
	sunpeng.li@amd.com, siqueira@igalia.com, austin.zheng@amd.com,
	jun.lei@amd.com, kenneth.feng@amd.com,
	linux-kernel@vger.kernel.org
Cc: airlied@gmail.com, simona@ffwll.ch,
	amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org,
	"Dr. David Alan Gilbert" <linux@treblig.org>
Subject: [PATCH 0/6] drm/amdgpu: Deadcode - the P's
Date: Mon,  3 Mar 2025 14:39:16 +0000	[thread overview]
Message-ID: <20250303143922.36342-1-linux@treblig.org> (raw)

From: "Dr. David Alan Gilbert" <linux@treblig.org>

Hi,
  Here's another blob of deadcoding in the amdgpu's;
this set is all the symbols I noticed that start with 'P'.
  Most, as normal are whole function removals,
  but I also nuke the powerdown_uvd member in one patch.

Dave

Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>


Dr. David Alan Gilbert (6):
  drm/amdgpu: Remove ppatomfwctrl deadcode
  drm/amdgpu: Remove phm_powerdown_uvd
  drm/amdgpu: Remove powerdown_uvd member
  drm/amdgpu: Remove unused pre_surface_trace
  drm/amdgpu: Remove unused print__rq_dlg_params_st
  drm/amdgpu: Remove unused pqm_get_kernel_queue

 drivers/gpu/drm/amd/amdkfd/kfd_priv.h         |   2 -
 .../amd/amdkfd/kfd_process_queue_manager.c    |  13 --
 .../gpu/drm/amd/display/dc/core/dc_debug.c    | 120 ------------------
 .../display/dc/dml/display_rq_dlg_helpers.c   |  11 --
 .../display/dc/dml/display_rq_dlg_helpers.h   |   1 -
 .../amd/display/include/logger_interface.h    |   5 -
 .../amd/pm/powerplay/hwmgr/hardwaremanager.c  |  10 --
 .../drm/amd/pm/powerplay/hwmgr/ppatomfwctrl.c |  78 ------------
 .../drm/amd/pm/powerplay/hwmgr/ppatomfwctrl.h |   3 -
 .../drm/amd/pm/powerplay/hwmgr/smu10_hwmgr.c  |   1 -
 .../powerplay/hwmgr/smu7_clockpowergating.c   |   2 +-
 .../powerplay/hwmgr/smu7_clockpowergating.h   |   1 -
 .../drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.c   |   1 -
 .../drm/amd/pm/powerplay/hwmgr/smu8_hwmgr.c   |   1 -
 .../amd/pm/powerplay/inc/hardwaremanager.h    |   1 -
 drivers/gpu/drm/amd/pm/powerplay/inc/hwmgr.h  |   1 -
 16 files changed, 1 insertion(+), 250 deletions(-)

-- 
2.48.1


             reply	other threads:[~2025-03-03 14:39 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-03-03 14:39 linux [this message]
2025-03-03 14:39 ` [PATCH 1/6] drm/amdgpu: Remove ppatomfwctrl deadcode linux
2025-03-03 14:39 ` [PATCH 2/6] drm/amdgpu: Remove phm_powerdown_uvd linux
2025-03-03 14:39 ` [PATCH 3/6] drm/amdgpu: Remove powerdown_uvd member linux
2025-03-03 14:39 ` [PATCH 4/6] drm/amdgpu: Remove unused pre_surface_trace linux
2025-03-03 14:39 ` [PATCH 5/6] drm/amdgpu: Remove unused print__rq_dlg_params_st linux
2025-03-03 14:39 ` [PATCH 6/6] drm/amdgpu: Remove unused pqm_get_kernel_queue linux
2025-03-03 16:41   ` Alex Deucher

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250303143922.36342-1-linux@treblig.org \
    --to=linux@treblig.org \
    --cc=Felix.Kuehling@amd.com \
    --cc=airlied@gmail.com \
    --cc=alexander.deucher@amd.com \
    --cc=amd-gfx@lists.freedesktop.org \
    --cc=austin.zheng@amd.com \
    --cc=christian.koenig@amd.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=harry.wentland@amd.com \
    --cc=jun.lei@amd.com \
    --cc=kenneth.feng@amd.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=simona@ffwll.ch \
    --cc=siqueira@igalia.com \
    --cc=sunpeng.li@amd.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox