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 @@ -1204,20 +1204,14 @@ static int vcn_v5_0_0_ring_reset(struct amdgpu_ring *ring,
1204
1204
if (!(adev -> vcn .supported_reset & AMDGPU_RESET_TYPE_PER_QUEUE ))
1205
1205
return - EOPNOTSUPP ;
1206
1206
1207
- drm_sched_wqueue_stop ( & ring -> sched );
1207
+ amdgpu_ring_reset_helper_begin ( ring , timedout_fence );
1208
1208
r = vcn_v5_0_0_stop (vinst );
1209
1209
if (r )
1210
1210
return r ;
1211
1211
r = vcn_v5_0_0_start (vinst );
1212
1212
if (r )
1213
1213
return r ;
1214
-
1215
- r = amdgpu_ring_test_helper (ring );
1216
- if (r )
1217
- return r ;
1218
- amdgpu_fence_driver_force_completion (ring );
1219
- drm_sched_wqueue_start (& ring -> sched );
1220
- return 0 ;
1214
+ return amdgpu_ring_reset_helper_end (ring , timedout_fence );
1221
1215
}
1222
1216
1223
1217
static const struct amdgpu_ring_funcs vcn_v5_0_0_unified_ring_vm_funcs = {
You can’t perform that action at this time.
0 commit comments