mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-15 22:41:38 +00:00
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>
This commit is contained in:
committed by
Alex Deucher
parent
df6e463d8f
commit
7fd12379bd
@@ -33,11 +33,6 @@
|
||||
#include "isp_v4_1_0.h"
|
||||
#include "isp_v4_1_1.h"
|
||||
|
||||
static int isp_sw_init(struct amdgpu_ip_block *ip_block)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int isp_sw_fini(struct amdgpu_ip_block *ip_block)
|
||||
{
|
||||
return 0;
|
||||
@@ -174,7 +169,6 @@ static const struct amd_ip_funcs isp_ip_funcs = {
|
||||
.name = "isp_ip",
|
||||
.early_init = isp_early_init,
|
||||
.late_init = NULL,
|
||||
.sw_init = isp_sw_init,
|
||||
.sw_fini = isp_sw_fini,
|
||||
.hw_init = isp_hw_init,
|
||||
.hw_fini = isp_hw_fini,
|
||||
|
||||
@@ -2124,11 +2124,6 @@ static int cik_common_early_init(struct amdgpu_ip_block *ip_block)
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int cik_common_sw_init(struct amdgpu_ip_block *ip_block)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int cik_common_sw_fini(struct amdgpu_ip_block *ip_block)
|
||||
{
|
||||
return 0;
|
||||
@@ -2195,7 +2190,6 @@ static const struct amd_ip_funcs cik_common_ip_funcs = {
|
||||
.name = "cik_common",
|
||||
.early_init = cik_common_early_init,
|
||||
.late_init = NULL,
|
||||
.sw_init = cik_common_sw_init,
|
||||
.sw_fini = cik_common_sw_fini,
|
||||
.hw_init = cik_common_hw_init,
|
||||
.hw_fini = cik_common_hw_fini,
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user