Searched refs:s_job (Results 1 – 4 of 4) sorted by relevance
/linux-6.3-rc2/drivers/gpu/drm/scheduler/ |
A D | sched_main.c | 285 drm_sched_job_done(s_job); in drm_sched_job_done_cb() 434 struct drm_sched_job *s_job, *tmp; in drm_sched_stop() local 460 if (s_job->s_fence->parent && in drm_sched_stop() 462 &s_job->cb)) { in drm_sched_stop() 464 s_job->s_fence->parent = NULL; in drm_sched_stop() 472 list_del_init(&s_job->list); in drm_sched_stop() 488 if (bad != s_job) in drm_sched_stop() 489 sched->ops->free_job(s_job); in drm_sched_stop() 535 drm_sched_job_done(s_job); in drm_sched_start() 540 drm_sched_job_done(s_job); in drm_sched_start() [all …]
|
/linux-6.3-rc2/drivers/gpu/drm/amd/amdgpu/ |
A D | amdgpu_job.c | 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() 57 s_job->sched->name); in amdgpu_job_timedout() 176 static void amdgpu_job_free_cb(struct drm_sched_job *s_job) in amdgpu_job_free_cb() argument 178 struct amdgpu_job *job = to_amdgpu_job(s_job); in amdgpu_job_free_cb() 180 drm_sched_job_cleanup(s_job); in amdgpu_job_free_cb() 310 struct drm_sched_job *s_job; in amdgpu_job_stop_all_jobs_on_sched() local 320 struct drm_sched_fence *s_fence = s_job->s_fence; in amdgpu_job_stop_all_jobs_on_sched() 331 list_for_each_entry(s_job, &sched->pending_list, list) { in amdgpu_job_stop_all_jobs_on_sched() [all …]
|
A D | amdgpu_debugfs.c | 1667 struct drm_sched_job *s_job; in amdgpu_ib_preempt_job_recovery() local 1671 list_for_each_entry(s_job, &sched->pending_list, list) { in amdgpu_ib_preempt_job_recovery() 1672 fence = sched->ops->run_job(s_job); in amdgpu_ib_preempt_job_recovery() 1681 struct drm_sched_job *s_job, *tmp; in amdgpu_ib_preempt_mark_partial_job() local 1703 list_for_each_entry_safe(s_job, tmp, &sched->pending_list, list) { in amdgpu_ib_preempt_mark_partial_job() 1704 if (dma_fence_is_signaled(&s_job->s_fence->finished)) { in amdgpu_ib_preempt_mark_partial_job() 1706 list_del_init(&s_job->list); in amdgpu_ib_preempt_mark_partial_job() 1707 sched->ops->free_job(s_job); in amdgpu_ib_preempt_mark_partial_job() 1710 job = to_amdgpu_job(s_job); in amdgpu_ib_preempt_mark_partial_job()
|
/linux-6.3-rc2/include/drm/ |
A D | gpu_scheduler.h | 367 static inline bool drm_sched_invalidate_job(struct drm_sched_job *s_job, in drm_sched_invalidate_job() argument 370 return s_job && atomic_inc_return(&s_job->karma) > threshold; in drm_sched_invalidate_job()
|
Completed in 10 milliseconds