File tree Expand file tree Collapse file tree 1 file changed +2
-8
lines changed
drivers/gpu/drm/amd/amdgpu Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -1477,20 +1477,14 @@ static int vcn_v4_0_5_ring_reset(struct amdgpu_ring *ring,
1477
1477
if (!(adev -> vcn .supported_reset & AMDGPU_RESET_TYPE_PER_QUEUE ))
1478
1478
return - EOPNOTSUPP ;
1479
1479
1480
- drm_sched_wqueue_stop ( & ring -> sched );
1480
+ amdgpu_ring_reset_helper_begin ( ring , timedout_fence );
1481
1481
r = vcn_v4_0_5_stop (vinst );
1482
1482
if (r )
1483
1483
return r ;
1484
1484
r = vcn_v4_0_5_start (vinst );
1485
1485
if (r )
1486
1486
return r ;
1487
-
1488
- r = amdgpu_ring_test_helper (ring );
1489
- if (r )
1490
- return r ;
1491
- amdgpu_fence_driver_force_completion (ring );
1492
- drm_sched_wqueue_start (& ring -> sched );
1493
- return 0 ;
1487
+ return amdgpu_ring_reset_helper_end (ring , timedout_fence );
1494
1488
}
1495
1489
1496
1490
static struct amdgpu_ring_funcs vcn_v4_0_5_unified_ring_vm_funcs = {
You can’t perform that action at this time.
0 commit comments