]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amdgpu: Remove powerdown_uvd member
authorDr. David Alan Gilbert <linux@treblig.org>
Mon, 3 Mar 2025 14:39:19 +0000 (14:39 +0000)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 5 Mar 2025 15:44:37 +0000 (10:44 -0500)
commit7b111aaae0ef810d26520e278bc9f7644158cb99
treef4f200e9d664b05473130f8be4808da1f62805fa
parent51cd1bcfac4f1f8fae45249e08929d57b1d17bc4
drm/amdgpu: Remove powerdown_uvd member

With phm_powerdown_uvd() gone in the previous patch, there's
now no longer anything that reads the powerdown_uvd member of the
pp_hwmgr_func.

Remove it.

There are a few assignments to it; a boring NULL which can just go,
and two functions, but those functions are called explicitly anyway
so the assignments to the member go.

One of those (smu7_powerdown_uvd) wasn't static previously;
make it static.

Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu10_hwmgr.c
drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_clockpowergating.c
drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_clockpowergating.h
drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.c
drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu8_hwmgr.c
drivers/gpu/drm/amd/pm/powerplay/inc/hwmgr.h