Lines Matching refs:s_fence
55 amdgpu_ring_soft_recovery(ring, job->vmid, s_job->s_fence->parent)) { in amdgpu_job_timedout()
68 dma_fence_set_error(&s_job->s_fence->finished, -ETIME); in amdgpu_job_timedout()
167 if (job->base.s_fence && job->base.s_fence->finished.ops) in amdgpu_job_free_resources()
168 f = &job->base.s_fence->finished; in amdgpu_job_free_resources()
196 struct dma_fence *fence = &leader->base.s_fence->scheduled; in amdgpu_job_set_gang_leader()
216 if (job->gang_submit != &job->base.s_fence->scheduled) in amdgpu_job_free()
230 f = dma_fence_get(&job->base.s_fence->finished); in amdgpu_job_submit()
280 dma_fence_set_error(&job->base.s_fence->finished, r); in amdgpu_job_prepare_job()
293 finished = &job->base.s_fence->finished; in amdgpu_job_run()
333 struct drm_sched_fence *s_fence = s_job->s_fence; in amdgpu_job_stop_all_jobs_on_sched() local
335 dma_fence_signal(&s_fence->scheduled); in amdgpu_job_stop_all_jobs_on_sched()
336 dma_fence_set_error(&s_fence->finished, -EHWPOISON); in amdgpu_job_stop_all_jobs_on_sched()
337 dma_fence_signal(&s_fence->finished); in amdgpu_job_stop_all_jobs_on_sched()
345 struct drm_sched_fence *s_fence = s_job->s_fence; in amdgpu_job_stop_all_jobs_on_sched() local
347 dma_fence_set_error(&s_fence->finished, -EHWPOISON); in amdgpu_job_stop_all_jobs_on_sched()
348 dma_fence_signal(&s_fence->finished); in amdgpu_job_stop_all_jobs_on_sched()