File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -584,11 +584,6 @@ static bool acp_is_idle(void *handle)
584584 return true;
585585}
586586
587- static int acp_soft_reset (struct amdgpu_ip_block * ip_block )
588- {
589- return 0 ;
590- }
591-
592587static int acp_set_clockgating_state (void * handle ,
593588 enum amd_clockgating_state state )
594589{
@@ -617,7 +612,6 @@ static const struct amd_ip_funcs acp_ip_funcs = {
617612 .suspend = acp_suspend ,
618613 .resume = acp_resume ,
619614 .is_idle = acp_is_idle ,
620- .soft_reset = acp_soft_reset ,
621615 .set_clockgating_state = acp_set_clockgating_state ,
622616 .set_powergating_state = acp_set_powergating_state ,
623617 .dump_ip_state = NULL ,
Original file line number Diff line number Diff line change @@ -128,11 +128,6 @@ static bool isp_is_idle(void *handle)
128128 return true;
129129}
130130
131- static int isp_soft_reset (struct amdgpu_ip_block * ip_block )
132- {
133- return 0 ;
134- }
135-
136131static int isp_set_clockgating_state (void * handle ,
137132 enum amd_clockgating_state state )
138133{
@@ -152,7 +147,6 @@ static const struct amd_ip_funcs isp_ip_funcs = {
152147 .hw_init = isp_hw_init ,
153148 .hw_fini = isp_hw_fini ,
154149 .is_idle = isp_is_idle ,
155- .soft_reset = isp_soft_reset ,
156150 .set_clockgating_state = isp_set_clockgating_state ,
157151 .set_powergating_state = isp_set_powergating_state ,
158152};
Original file line number Diff line number Diff line change @@ -632,11 +632,6 @@ static bool amdgpu_vkms_is_idle(void *handle)
632632 return true;
633633}
634634
635- static int amdgpu_vkms_soft_reset (struct amdgpu_ip_block * ip_block )
636- {
637- return 0 ;
638- }
639-
640635static int amdgpu_vkms_set_clockgating_state (void * handle ,
641636 enum amd_clockgating_state state )
642637{
@@ -660,7 +655,6 @@ static const struct amd_ip_funcs amdgpu_vkms_ip_funcs = {
660655 .suspend = amdgpu_vkms_suspend ,
661656 .resume = amdgpu_vkms_resume ,
662657 .is_idle = amdgpu_vkms_is_idle ,
663- .soft_reset = amdgpu_vkms_soft_reset ,
664658 .set_clockgating_state = amdgpu_vkms_set_clockgating_state ,
665659 .set_powergating_state = amdgpu_vkms_set_powergating_state ,
666660 .dump_ip_state = NULL ,
Original file line number Diff line number Diff line change @@ -3186,11 +3186,6 @@ static int gfx_v6_0_wait_for_idle(struct amdgpu_ip_block *ip_block)
31863186 return - ETIMEDOUT ;
31873187}
31883188
3189- static int gfx_v6_0_soft_reset (struct amdgpu_ip_block * ip_block )
3190- {
3191- return 0 ;
3192- }
3193-
31943189static void gfx_v6_0_set_gfx_eop_interrupt_state (struct amdgpu_device * adev ,
31953190 enum amdgpu_interrupt_state state )
31963191{
@@ -3449,7 +3444,6 @@ static const struct amd_ip_funcs gfx_v6_0_ip_funcs = {
34493444 .resume = gfx_v6_0_resume ,
34503445 .is_idle = gfx_v6_0_is_idle ,
34513446 .wait_for_idle = gfx_v6_0_wait_for_idle ,
3452- .soft_reset = gfx_v6_0_soft_reset ,
34533447 .set_clockgating_state = gfx_v6_0_set_clockgating_state ,
34543448 .set_powergating_state = gfx_v6_0_set_powergating_state ,
34553449 .dump_ip_state = NULL ,
Original file line number Diff line number Diff line change @@ -1085,11 +1085,6 @@ static int gmc_v10_0_wait_for_idle(struct amdgpu_ip_block *ip_block)
10851085 return 0 ;
10861086}
10871087
1088- static int gmc_v10_0_soft_reset (struct amdgpu_ip_block * ip_block )
1089- {
1090- return 0 ;
1091- }
1092-
10931088static int gmc_v10_0_set_clockgating_state (void * handle ,
10941089 enum amd_clockgating_state state )
10951090{
@@ -1151,7 +1146,6 @@ const struct amd_ip_funcs gmc_v10_0_ip_funcs = {
11511146 .resume = gmc_v10_0_resume ,
11521147 .is_idle = gmc_v10_0_is_idle ,
11531148 .wait_for_idle = gmc_v10_0_wait_for_idle ,
1154- .soft_reset = gmc_v10_0_soft_reset ,
11551149 .set_clockgating_state = gmc_v10_0_set_clockgating_state ,
11561150 .set_powergating_state = gmc_v10_0_set_powergating_state ,
11571151 .get_clockgating_state = gmc_v10_0_get_clockgating_state ,
Original file line number Diff line number Diff line change @@ -993,11 +993,6 @@ static int gmc_v11_0_wait_for_idle(struct amdgpu_ip_block *ip_block)
993993 return 0 ;
994994}
995995
996- static int gmc_v11_0_soft_reset (struct amdgpu_ip_block * ip_block )
997- {
998- return 0 ;
999- }
1000-
1001996static int gmc_v11_0_set_clockgating_state (void * handle ,
1002997 enum amd_clockgating_state state )
1003998{
@@ -1038,7 +1033,6 @@ const struct amd_ip_funcs gmc_v11_0_ip_funcs = {
10381033 .resume = gmc_v11_0_resume ,
10391034 .is_idle = gmc_v11_0_is_idle ,
10401035 .wait_for_idle = gmc_v11_0_wait_for_idle ,
1041- .soft_reset = gmc_v11_0_soft_reset ,
10421036 .set_clockgating_state = gmc_v11_0_set_clockgating_state ,
10431037 .set_powergating_state = gmc_v11_0_set_powergating_state ,
10441038 .get_clockgating_state = gmc_v11_0_get_clockgating_state ,
Original file line number Diff line number Diff line change @@ -977,11 +977,6 @@ static int gmc_v12_0_wait_for_idle(struct amdgpu_ip_block *ip_block)
977977 return 0 ;
978978}
979979
980- static int gmc_v12_0_soft_reset (struct amdgpu_ip_block * ip_block )
981- {
982- return 0 ;
983- }
984-
985980static int gmc_v12_0_set_clockgating_state (void * handle ,
986981 enum amd_clockgating_state state )
987982{
@@ -1022,7 +1017,6 @@ const struct amd_ip_funcs gmc_v12_0_ip_funcs = {
10221017 .resume = gmc_v12_0_resume ,
10231018 .is_idle = gmc_v12_0_is_idle ,
10241019 .wait_for_idle = gmc_v12_0_wait_for_idle ,
1025- .soft_reset = gmc_v12_0_soft_reset ,
10261020 .set_clockgating_state = gmc_v12_0_set_clockgating_state ,
10271021 .set_powergating_state = gmc_v12_0_set_powergating_state ,
10281022 .get_clockgating_state = gmc_v12_0_get_clockgating_state ,
Original file line number Diff line number Diff line change @@ -1039,11 +1039,6 @@ static bool nv_common_is_idle(void *handle)
10391039 return true;
10401040}
10411041
1042- static int nv_common_soft_reset (struct amdgpu_ip_block * ip_block )
1043- {
1044- return 0 ;
1045- }
1046-
10471042static int nv_common_set_clockgating_state (void * handle ,
10481043 enum amd_clockgating_state state )
10491044{
@@ -1106,7 +1101,6 @@ static const struct amd_ip_funcs nv_common_ip_funcs = {
11061101 .suspend = nv_common_suspend ,
11071102 .resume = nv_common_resume ,
11081103 .is_idle = nv_common_is_idle ,
1109- .soft_reset = nv_common_soft_reset ,
11101104 .set_clockgating_state = nv_common_set_clockgating_state ,
11111105 .set_powergating_state = nv_common_set_powergating_state ,
11121106 .get_clockgating_state = nv_common_get_clockgating_state ,
Original file line number Diff line number Diff line change @@ -2649,11 +2649,6 @@ static bool si_common_is_idle(void *handle)
26492649 return true;
26502650}
26512651
2652- static int si_common_soft_reset (struct amdgpu_ip_block * ip_block )
2653- {
2654- return 0 ;
2655- }
2656-
26572652static int si_common_set_clockgating_state (void * handle ,
26582653 enum amd_clockgating_state state )
26592654{
@@ -2674,7 +2669,6 @@ static const struct amd_ip_funcs si_common_ip_funcs = {
26742669 .hw_fini = si_common_hw_fini ,
26752670 .resume = si_common_resume ,
26762671 .is_idle = si_common_is_idle ,
2677- .soft_reset = si_common_soft_reset ,
26782672 .set_clockgating_state = si_common_set_clockgating_state ,
26792673 .set_powergating_state = si_common_set_powergating_state ,
26802674 .dump_ip_state = NULL ,
Original file line number Diff line number Diff line change @@ -1341,11 +1341,6 @@ static bool soc15_common_is_idle(void *handle)
13411341 return true;
13421342}
13431343
1344- static int soc15_common_soft_reset (struct amdgpu_ip_block * ip_block )
1345- {
1346- return 0 ;
1347- }
1348-
13491344static void soc15_update_drm_clock_gating (struct amdgpu_device * adev , bool enable )
13501345{
13511346 uint32_t def , data ;
@@ -1496,7 +1491,6 @@ static const struct amd_ip_funcs soc15_common_ip_funcs = {
14961491 .suspend = soc15_common_suspend ,
14971492 .resume = soc15_common_resume ,
14981493 .is_idle = soc15_common_is_idle ,
1499- .soft_reset = soc15_common_soft_reset ,
15001494 .set_clockgating_state = soc15_common_set_clockgating_state ,
15011495 .set_powergating_state = soc15_common_set_powergating_state ,
15021496 .get_clockgating_state = soc15_common_get_clockgating_state ,
You can’t perform that action at this time.
0 commit comments