summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/si.c
diff options
context:
space:
mode:
authorSunil Khatri <sunil.khatri@amd.com>2024-10-09 14:16:42 +0530
committerAlex Deucher <alexander.deucher@amd.com>2024-10-22 17:50:37 -0400
commit7fd12379bd1fb6544ea7e7a759f07384fbaf9ac7 (patch)
treed4e173723abea10c1fba06adba2b7ea1edf17acb /drivers/gpu/drm/amd/amdgpu/si.c
parentdf6e463d8f020b17c2494b6cc85d218af466e9f9 (diff)
drm/amdgpu: clean the dummy sw_init functions
Remove the dummy sw_init functions for all IP blocks. Signed-off-by: Sunil Khatri <sunil.khatri@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/si.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/si.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/si.c b/drivers/gpu/drm/amd/amdgpu/si.c
index b9934661a92e..3714c6d77f30 100644
--- a/drivers/gpu/drm/amd/amdgpu/si.c
+++ b/drivers/gpu/drm/amd/amdgpu/si.c
@@ -2148,11 +2148,6 @@ static int si_common_early_init(struct amdgpu_ip_block *ip_block)
return 0;
}
-static int si_common_sw_init(struct amdgpu_ip_block *ip_block)
-{
- return 0;
-}
-
static int si_common_sw_fini(struct amdgpu_ip_block *ip_block)
{
return 0;
@@ -2691,7 +2686,6 @@ static const struct amd_ip_funcs si_common_ip_funcs = {
.name = "si_common",
.early_init = si_common_early_init,
.late_init = NULL,
- .sw_init = si_common_sw_init,
.sw_fini = si_common_sw_fini,
.hw_init = si_common_hw_init,
.hw_fini = si_common_hw_fini,