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 @@ -1979,20 +1979,14 @@ static int vcn_v4_0_ring_reset(struct amdgpu_ring *ring,
1979
1979
if (!(adev -> vcn .supported_reset & AMDGPU_RESET_TYPE_PER_QUEUE ))
1980
1980
return - EOPNOTSUPP ;
1981
1981
1982
- drm_sched_wqueue_stop ( & ring -> sched );
1982
+ amdgpu_ring_reset_helper_begin ( ring , timedout_fence );
1983
1983
r = vcn_v4_0_stop (vinst );
1984
1984
if (r )
1985
1985
return r ;
1986
1986
r = vcn_v4_0_start (vinst );
1987
1987
if (r )
1988
1988
return r ;
1989
-
1990
- r = amdgpu_ring_test_helper (ring );
1991
- if (r )
1992
- return r ;
1993
- amdgpu_fence_driver_force_completion (ring );
1994
- drm_sched_wqueue_start (& ring -> sched );
1995
- return 0 ;
1989
+ return amdgpu_ring_reset_helper_end (ring , timedout_fence );
1996
1990
}
1997
1991
1998
1992
static struct amdgpu_ring_funcs vcn_v4_0_unified_ring_vm_funcs = {
You can’t perform that action at this time.
0 commit comments