Skip to content

Commit 0ef2a1e

Browse files
amd-sukhatrialexdeucher
authored andcommitted
drm/amdgpu: update the handle ptr in soft_reset
Update the *handle to amdgpu_ip_block ptr for all functions pointers of soft_reset. Signed-off-by: Sunil Khatri <[email protected]> Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
1 parent e47cb9d commit 0ef2a1e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

64 files changed

+107
-97
lines changed

drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -595,7 +595,7 @@ static int acp_wait_for_idle(void *handle)
595595
return 0;
596596
}
597597

598-
static int acp_soft_reset(void *handle)
598+
static int acp_soft_reset(struct amdgpu_ip_block *ip_block)
599599
{
600600
return 0;
601601
}

drivers/gpu/drm/amd/amdgpu/amdgpu_device.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5041,7 +5041,7 @@ static int amdgpu_device_ip_soft_reset(struct amdgpu_device *adev)
50415041
continue;
50425042
if (adev->ip_blocks[i].status.hang &&
50435043
adev->ip_blocks[i].version->funcs->soft_reset) {
5044-
r = adev->ip_blocks[i].version->funcs->soft_reset(adev);
5044+
r = adev->ip_blocks[i].version->funcs->soft_reset(&adev->ip_blocks[i]);
50455045
if (r)
50465046
return r;
50475047
}

drivers/gpu/drm/amd/amdgpu/amdgpu_isp.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ static int isp_wait_for_idle(void *handle)
160160
return 0;
161161
}
162162

163-
static int isp_soft_reset(void *handle)
163+
static int isp_soft_reset(struct amdgpu_ip_block *ip_block)
164164
{
165165
return 0;
166166
}

drivers/gpu/drm/amd/amdgpu/amdgpu_vkms.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -637,7 +637,7 @@ static int amdgpu_vkms_wait_for_idle(void *handle)
637637
return 0;
638638
}
639639

640-
static int amdgpu_vkms_soft_reset(void *handle)
640+
static int amdgpu_vkms_soft_reset(struct amdgpu_ip_block *ip_block)
641641
{
642642
return 0;
643643
}

drivers/gpu/drm/amd/amdgpu/cik.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2177,7 +2177,7 @@ static int cik_common_wait_for_idle(void *handle)
21772177
return 0;
21782178
}
21792179

2180-
static int cik_common_soft_reset(void *handle)
2180+
static int cik_common_soft_reset(struct amdgpu_ip_block *ip_block)
21812181
{
21822182
/* XXX hard reset?? */
21832183
return 0;

drivers/gpu/drm/amd/amdgpu/cik_ih.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -378,9 +378,9 @@ static int cik_ih_wait_for_idle(void *handle)
378378
return -ETIMEDOUT;
379379
}
380380

381-
static int cik_ih_soft_reset(void *handle)
381+
static int cik_ih_soft_reset(struct amdgpu_ip_block *ip_block)
382382
{
383-
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
383+
struct amdgpu_device *adev = ip_block->adev;
384384

385385
u32 srbm_soft_reset = 0;
386386
u32 tmp = RREG32(mmSRBM_STATUS);

drivers/gpu/drm/amd/amdgpu/cik_sdma.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ static void cik_sdma_set_ring_funcs(struct amdgpu_device *adev);
5454
static void cik_sdma_set_irq_funcs(struct amdgpu_device *adev);
5555
static void cik_sdma_set_buffer_funcs(struct amdgpu_device *adev);
5656
static void cik_sdma_set_vm_pte_funcs(struct amdgpu_device *adev);
57-
static int cik_sdma_soft_reset(void *handle);
57+
static int cik_sdma_soft_reset(struct amdgpu_ip_block *ip_block);
5858

5959
MODULE_FIRMWARE("amdgpu/bonaire_sdma.bin");
6060
MODULE_FIRMWARE("amdgpu/bonaire_sdma1.bin");
@@ -1056,10 +1056,10 @@ static int cik_sdma_wait_for_idle(void *handle)
10561056
return -ETIMEDOUT;
10571057
}
10581058

1059-
static int cik_sdma_soft_reset(void *handle)
1059+
static int cik_sdma_soft_reset(struct amdgpu_ip_block *ip_block)
10601060
{
10611061
u32 srbm_soft_reset = 0;
1062-
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
1062+
struct amdgpu_device *adev = ip_block->adev;
10631063
u32 tmp;
10641064

10651065
/* sdma0 */

drivers/gpu/drm/amd/amdgpu/cz_ih.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -374,10 +374,10 @@ static int cz_ih_wait_for_idle(void *handle)
374374
return -ETIMEDOUT;
375375
}
376376

377-
static int cz_ih_soft_reset(void *handle)
377+
static int cz_ih_soft_reset(struct amdgpu_ip_block *ip_block)
378378
{
379379
u32 srbm_soft_reset = 0;
380-
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
380+
struct amdgpu_device *adev = ip_block->adev;
381381
u32 tmp = RREG32(mmSRBM_STATUS);
382382

383383
if (tmp & SRBM_STATUS__IH_BUSY_MASK)

drivers/gpu/drm/amd/amdgpu/dce_v10_0.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2960,10 +2960,10 @@ static bool dce_v10_0_check_soft_reset(struct amdgpu_ip_block *ip_block)
29602960
return dce_v10_0_is_display_hung(adev);
29612961
}
29622962

2963-
static int dce_v10_0_soft_reset(void *handle)
2963+
static int dce_v10_0_soft_reset(struct amdgpu_ip_block *ip_block)
29642964
{
29652965
u32 srbm_soft_reset = 0, tmp;
2966-
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
2966+
struct amdgpu_device *adev = ip_block->adev;
29672967

29682968
if (dce_v10_0_is_display_hung(adev))
29692969
srbm_soft_reset |= SRBM_SOFT_RESET__SOFT_RESET_DC_MASK;

drivers/gpu/drm/amd/amdgpu/dce_v11_0.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3091,10 +3091,10 @@ static int dce_v11_0_wait_for_idle(void *handle)
30913091
return 0;
30923092
}
30933093

3094-
static int dce_v11_0_soft_reset(void *handle)
3094+
static int dce_v11_0_soft_reset(struct amdgpu_ip_block *ip_block)
30953095
{
30963096
u32 srbm_soft_reset = 0, tmp;
3097-
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
3097+
struct amdgpu_device *adev = ip_block->adev;
30983098

30993099
if (dce_v11_0_is_display_hung(adev))
31003100
srbm_soft_reset |= SRBM_SOFT_RESET__SOFT_RESET_DC_MASK;

drivers/gpu/drm/amd/amdgpu/dce_v6_0.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2848,7 +2848,7 @@ static int dce_v6_0_wait_for_idle(void *handle)
28482848
return 0;
28492849
}
28502850

2851-
static int dce_v6_0_soft_reset(void *handle)
2851+
static int dce_v6_0_soft_reset(struct amdgpu_ip_block *ip_block)
28522852
{
28532853
DRM_INFO("xxxx: dce_v6_0_soft_reset --- no impl!!\n");
28542854
return 0;

drivers/gpu/drm/amd/amdgpu/dce_v8_0.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2871,10 +2871,10 @@ static int dce_v8_0_wait_for_idle(void *handle)
28712871
return 0;
28722872
}
28732873

2874-
static int dce_v8_0_soft_reset(void *handle)
2874+
static int dce_v8_0_soft_reset(struct amdgpu_ip_block *ip_block)
28752875
{
28762876
u32 srbm_soft_reset = 0, tmp;
2877-
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
2877+
struct amdgpu_device *adev = ip_block->adev;
28782878

28792879
if (dce_v8_0_is_display_hung(adev))
28802880
srbm_soft_reset |= SRBM_SOFT_RESET__SOFT_RESET_DC_MASK;

drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7495,11 +7495,11 @@ static int gfx_v10_0_wait_for_idle(void *handle)
74957495
return -ETIMEDOUT;
74967496
}
74977497

7498-
static int gfx_v10_0_soft_reset(void *handle)
7498+
static int gfx_v10_0_soft_reset(struct amdgpu_ip_block *ip_block)
74997499
{
75007500
u32 grbm_soft_reset = 0;
75017501
u32 tmp;
7502-
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
7502+
struct amdgpu_device *adev = ip_block->adev;
75037503

75047504
/* GRBM_STATUS */
75057505
tmp = RREG32_SOC15(GC, 0, mmGRBM_STATUS);

drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4776,12 +4776,12 @@ int gfx_v11_0_request_gfx_index_mutex(struct amdgpu_device *adev,
47764776
return 0;
47774777
}
47784778

4779-
static int gfx_v11_0_soft_reset(void *handle)
4779+
static int gfx_v11_0_soft_reset(struct amdgpu_ip_block *ip_block)
47804780
{
47814781
u32 grbm_soft_reset = 0;
47824782
u32 tmp;
47834783
int r, i, j, k;
4784-
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
4784+
struct amdgpu_device *adev = ip_block->adev;
47854785

47864786
amdgpu_gfx_rlc_enter_safe_mode(adev, 0);
47874787

drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3190,7 +3190,7 @@ static int gfx_v6_0_wait_for_idle(void *handle)
31903190
return -ETIMEDOUT;
31913191
}
31923192

3193-
static int gfx_v6_0_soft_reset(void *handle)
3193+
static int gfx_v6_0_soft_reset(struct amdgpu_ip_block *ip_block)
31943194
{
31953195
return 0;
31963196
}

drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4540,11 +4540,11 @@ static int gfx_v7_0_wait_for_idle(void *handle)
45404540
return -ETIMEDOUT;
45414541
}
45424542

4543-
static int gfx_v7_0_soft_reset(void *handle)
4543+
static int gfx_v7_0_soft_reset(struct amdgpu_ip_block *ip_block)
45444544
{
45454545
u32 grbm_soft_reset = 0, srbm_soft_reset = 0;
45464546
u32 tmp;
4547-
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
4547+
struct amdgpu_device *adev = ip_block->adev;
45484548

45494549
/* GRBM_STATUS */
45504550
tmp = RREG32(mmGRBM_STATUS);

drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5024,9 +5024,9 @@ static int gfx_v8_0_pre_soft_reset(struct amdgpu_ip_block *ip_block)
50245024
return 0;
50255025
}
50265026

5027-
static int gfx_v8_0_soft_reset(void *handle)
5027+
static int gfx_v8_0_soft_reset(struct amdgpu_ip_block *ip_block)
50285028
{
5029-
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
5029+
struct amdgpu_device *adev = ip_block->adev;
50305030
u32 grbm_soft_reset = 0, srbm_soft_reset = 0;
50315031
u32 tmp;
50325032

drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4108,11 +4108,11 @@ static int gfx_v9_0_wait_for_idle(void *handle)
41084108
return -ETIMEDOUT;
41094109
}
41104110

4111-
static int gfx_v9_0_soft_reset(void *handle)
4111+
static int gfx_v9_0_soft_reset(struct amdgpu_ip_block *ip_block)
41124112
{
41134113
u32 grbm_soft_reset = 0;
41144114
u32 tmp;
4115-
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
4115+
struct amdgpu_device *adev = ip_block->adev;
41164116

41174117
/* GRBM_STATUS */
41184118
tmp = RREG32_SOC15(GC, 0, mmGRBM_STATUS);

drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2423,11 +2423,11 @@ static int gfx_v9_4_3_wait_for_idle(void *handle)
24232423
return -ETIMEDOUT;
24242424
}
24252425

2426-
static int gfx_v9_4_3_soft_reset(void *handle)
2426+
static int gfx_v9_4_3_soft_reset(struct amdgpu_ip_block *ip_block)
24272427
{
24282428
u32 grbm_soft_reset = 0;
24292429
u32 tmp;
2430-
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
2430+
struct amdgpu_device *adev = ip_block->adev;
24312431

24322432
/* GRBM_STATUS */
24332433
tmp = RREG32_SOC15(GC, GET_INST(GC, 0), regGRBM_STATUS);

drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1088,7 +1088,7 @@ static int gmc_v10_0_wait_for_idle(void *handle)
10881088
return 0;
10891089
}
10901090

1091-
static int gmc_v10_0_soft_reset(void *handle)
1091+
static int gmc_v10_0_soft_reset(struct amdgpu_ip_block *ip_block)
10921092
{
10931093
return 0;
10941094
}

drivers/gpu/drm/amd/amdgpu/gmc_v11_0.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -996,7 +996,7 @@ static int gmc_v11_0_wait_for_idle(void *handle)
996996
return 0;
997997
}
998998

999-
static int gmc_v11_0_soft_reset(void *handle)
999+
static int gmc_v11_0_soft_reset(struct amdgpu_ip_block *ip_block)
10001000
{
10011001
return 0;
10021002
}

drivers/gpu/drm/amd/amdgpu/gmc_v12_0.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -980,7 +980,7 @@ static int gmc_v12_0_wait_for_idle(void *handle)
980980
return 0;
981981
}
982982

983-
static int gmc_v12_0_soft_reset(void *handle)
983+
static int gmc_v12_0_soft_reset(struct amdgpu_ip_block *ip_block)
984984
{
985985
return 0;
986986
}

drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -973,9 +973,9 @@ static int gmc_v6_0_wait_for_idle(void *handle)
973973

974974
}
975975

976-
static int gmc_v6_0_soft_reset(void *handle)
976+
static int gmc_v6_0_soft_reset(struct amdgpu_ip_block *ip_block)
977977
{
978-
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
978+
struct amdgpu_device *adev = ip_block->adev;
979979
u32 srbm_soft_reset = 0;
980980
u32 tmp = RREG32(mmSRBM_STATUS);
981981

drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1167,9 +1167,9 @@ static int gmc_v7_0_wait_for_idle(void *handle)
11671167

11681168
}
11691169

1170-
static int gmc_v7_0_soft_reset(void *handle)
1170+
static int gmc_v7_0_soft_reset(struct amdgpu_ip_block *ip_block)
11711171
{
1172-
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
1172+
struct amdgpu_device *adev = ip_block->adev;
11731173
u32 srbm_soft_reset = 0;
11741174
u32 tmp = RREG32(mmSRBM_STATUS);
11751175

drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1330,9 +1330,9 @@ static int gmc_v8_0_pre_soft_reset(struct amdgpu_ip_block *ip_block)
13301330
return 0;
13311331
}
13321332

1333-
static int gmc_v8_0_soft_reset(void *handle)
1333+
static int gmc_v8_0_soft_reset(struct amdgpu_ip_block *ip_block)
13341334
{
1335-
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
1335+
struct amdgpu_device *adev = ip_block->adev;
13361336
u32 srbm_soft_reset;
13371337

13381338
if (!adev->gmc.srbm_soft_reset)

drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2461,7 +2461,7 @@ static int gmc_v9_0_wait_for_idle(void *handle)
24612461
return 0;
24622462
}
24632463

2464-
static int gmc_v9_0_soft_reset(void *handle)
2464+
static int gmc_v9_0_soft_reset(struct amdgpu_ip_block *ip_block)
24652465
{
24662466
/* XXX for emulation.*/
24672467
return 0;

drivers/gpu/drm/amd/amdgpu/iceland_ih.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -368,10 +368,10 @@ static int iceland_ih_wait_for_idle(void *handle)
368368
return -ETIMEDOUT;
369369
}
370370

371-
static int iceland_ih_soft_reset(void *handle)
371+
static int iceland_ih_soft_reset(struct amdgpu_ip_block *ip_block)
372372
{
373373
u32 srbm_soft_reset = 0;
374-
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
374+
struct amdgpu_device *adev = ip_block->adev;
375375
u32 tmp = RREG32(mmSRBM_STATUS);
376376

377377
if (tmp & SRBM_STATUS__IH_BUSY_MASK)

drivers/gpu/drm/amd/amdgpu/ih_v6_0.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -670,7 +670,7 @@ static int ih_v6_0_wait_for_idle(void *handle)
670670
return -ETIMEDOUT;
671671
}
672672

673-
static int ih_v6_0_soft_reset(void *handle)
673+
static int ih_v6_0_soft_reset(struct amdgpu_ip_block *ip_block)
674674
{
675675
/* todo */
676676
return 0;

drivers/gpu/drm/amd/amdgpu/ih_v6_1.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -649,7 +649,7 @@ static int ih_v6_1_wait_for_idle(void *handle)
649649
return -ETIMEDOUT;
650650
}
651651

652-
static int ih_v6_1_soft_reset(void *handle)
652+
static int ih_v6_1_soft_reset(struct amdgpu_ip_block *ip_block)
653653
{
654654
/* todo */
655655
return 0;

drivers/gpu/drm/amd/amdgpu/ih_v7_0.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -639,7 +639,7 @@ static int ih_v7_0_wait_for_idle(void *handle)
639639
return -ETIMEDOUT;
640640
}
641641

642-
static int ih_v7_0_soft_reset(void *handle)
642+
static int ih_v7_0_soft_reset(struct amdgpu_ip_block *ip_block)
643643
{
644644
/* todo */
645645
return 0;

drivers/gpu/drm/amd/amdgpu/navi10_ih.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -644,7 +644,7 @@ static int navi10_ih_wait_for_idle(void *handle)
644644
return -ETIMEDOUT;
645645
}
646646

647-
static int navi10_ih_soft_reset(void *handle)
647+
static int navi10_ih_soft_reset(struct amdgpu_ip_block *ip_block)
648648
{
649649
/* todo */
650650
return 0;

drivers/gpu/drm/amd/amdgpu/nv.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1053,7 +1053,7 @@ static int nv_common_wait_for_idle(void *handle)
10531053
return 0;
10541054
}
10551055

1056-
static int nv_common_soft_reset(void *handle)
1056+
static int nv_common_soft_reset(struct amdgpu_ip_block *ip_block)
10571057
{
10581058
return 0;
10591059
}

drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -944,10 +944,10 @@ static int sdma_v2_4_wait_for_idle(void *handle)
944944
return -ETIMEDOUT;
945945
}
946946

947-
static int sdma_v2_4_soft_reset(void *handle)
947+
static int sdma_v2_4_soft_reset(struct amdgpu_ip_block *ip_block)
948948
{
949949
u32 srbm_soft_reset = 0;
950-
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
950+
struct amdgpu_device *adev = ip_block->adev;
951951
u32 tmp = RREG32(mmSRBM_STATUS2);
952952

953953
if (tmp & SRBM_STATUS2__SDMA_BUSY_MASK) {

drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1290,9 +1290,9 @@ static int sdma_v3_0_post_soft_reset(void *handle)
12901290
return 0;
12911291
}
12921292

1293-
static int sdma_v3_0_soft_reset(void *handle)
1293+
static int sdma_v3_0_soft_reset(struct amdgpu_ip_block *ip_block)
12941294
{
1295-
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
1295+
struct amdgpu_device *adev = ip_block->adev;
12961296
u32 srbm_soft_reset = 0;
12971297
u32 tmp;
12981298

drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2049,7 +2049,7 @@ static int sdma_v4_0_wait_for_idle(void *handle)
20492049
return -ETIMEDOUT;
20502050
}
20512051

2052-
static int sdma_v4_0_soft_reset(void *handle)
2052+
static int sdma_v4_0_soft_reset(struct amdgpu_ip_block *ip_block)
20532053
{
20542054
/* todo */
20552055

0 commit comments

Comments
 (0)