summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSunil Khatri <sunil.khatri@amd.com>2024-09-30 13:50:15 +0530
committerAlex Deucher <alexander.deucher@amd.com>2024-10-01 17:42:53 -0400
commit904c402e971af450789be8f59e4d8ef52fc69cde (patch)
tree5f028f72da5a833baae7425c03d0cfc8d324eb80
parentaa894be10b950122db84558cd441206861b29bab (diff)
downloadlwn-904c402e971af450789be8f59e4d8ef52fc69cde.tar.gz
lwn-904c402e971af450789be8f59e4d8ef52fc69cde.zip
drm/amdgpu: remove the dummy fn acp_early_init
acp_early_init is a dummy function and is not being used and hence removed. 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>
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c
index 08f5a8614356..8c85d7a9e0b0 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c
@@ -585,11 +585,6 @@ static int acp_resume(void *handle)
return 0;
}
-static int acp_early_init(struct amdgpu_ip_block *ip_block)
-{
- return 0;
-}
-
static bool acp_is_idle(void *handle)
{
return true;
@@ -624,7 +619,7 @@ static int acp_set_powergating_state(void *handle,
static const struct amd_ip_funcs acp_ip_funcs = {
.name = "acp_ip",
- .early_init = acp_early_init,
+ .early_init = NULL,
.late_init = NULL,
.sw_init = acp_sw_init,
.sw_fini = acp_sw_fini,