Lines Matching refs:s_job
34 static enum drm_gpu_sched_stat amdgpu_job_timedout(struct drm_sched_job *s_job) in amdgpu_job_timedout() argument
36 struct amdgpu_ring *ring = to_amdgpu_ring(s_job->sched); in amdgpu_job_timedout()
37 struct amdgpu_job *job = to_amdgpu_job(s_job); in amdgpu_job_timedout()
45 __func__, s_job->sched->name); in amdgpu_job_timedout()
55 amdgpu_ring_soft_recovery(ring, job->vmid, s_job->s_fence->parent)) { in amdgpu_job_timedout()
57 s_job->sched->name); in amdgpu_job_timedout()
169 static void amdgpu_job_free_cb(struct drm_sched_job *s_job) in amdgpu_job_free_cb() argument
171 struct amdgpu_job *job = to_amdgpu_job(s_job); in amdgpu_job_free_cb()
173 drm_sched_job_cleanup(s_job); in amdgpu_job_free_cb()
324 struct drm_sched_job *s_job; in amdgpu_job_stop_all_jobs_on_sched() local
333 while ((s_job = to_drm_sched_job(spsc_queue_pop(&s_entity->job_queue)))) { in amdgpu_job_stop_all_jobs_on_sched()
334 struct drm_sched_fence *s_fence = s_job->s_fence; in amdgpu_job_stop_all_jobs_on_sched()
345 list_for_each_entry(s_job, &sched->pending_list, list) { in amdgpu_job_stop_all_jobs_on_sched()
346 struct drm_sched_fence *s_fence = s_job->s_fence; in amdgpu_job_stop_all_jobs_on_sched()