Searched refs:s_job (Results 1 – 6 of 6) sorted by relevance
| /linux-6.15/drivers/gpu/drm/scheduler/ |
| H A D | sched_main.c | 123 struct drm_sched_job *s_job; in drm_sched_can_queue() local 126 if (!s_job) in drm_sched_can_queue() 596 struct drm_sched_job *s_job, *tmp; in drm_sched_stop() local 622 if (s_job->s_fence->parent && in drm_sched_stop() 624 &s_job->cb)) { in drm_sched_stop() 626 s_job->s_fence->parent = NULL; in drm_sched_stop() 634 list_del_init(&s_job->list); in drm_sched_stop() 650 if (bad != s_job) in drm_sched_stop() 651 sched->ops->free_job(s_job); in drm_sched_stop() 680 struct drm_sched_job *s_job, *tmp; in drm_sched_start() local [all …]
|
| /linux-6.15/drivers/gpu/drm/amd/amdgpu/ |
| H A D | amdgpu_job.c | 90 struct amdgpu_ring *ring = to_amdgpu_ring(s_job->sched); in amdgpu_job_timedout() 91 struct amdgpu_job *job = to_amdgpu_job(s_job); in amdgpu_job_timedout() 99 __func__, s_job->sched->name); in amdgpu_job_timedout() 117 s_job->sched->name); in amdgpu_job_timedout() 161 drm_sched_stop(&ring->sched, s_job); in amdgpu_job_timedout() 174 dma_fence_set_error(&s_job->s_fence->finished, -ETIME); in amdgpu_job_timedout() 286 struct amdgpu_job *job = to_amdgpu_job(s_job); in amdgpu_job_free_cb() 288 drm_sched_job_cleanup(s_job); in amdgpu_job_free_cb() 462 struct drm_sched_job *s_job; in amdgpu_job_stop_all_jobs_on_sched() local 472 struct drm_sched_fence *s_fence = s_job->s_fence; in amdgpu_job_stop_all_jobs_on_sched() [all …]
|
| H A D | amdgpu_dev_coredump.c | 334 struct drm_sched_job *s_job; in amdgpu_coredump() local 357 s_job = &job->base; in amdgpu_coredump() 358 coredump->ring = to_amdgpu_ring(s_job->sched); in amdgpu_coredump()
|
| H A D | amdgpu_debugfs.c | 1861 struct drm_sched_job *s_job; in amdgpu_ib_preempt_job_recovery() local 1865 list_for_each_entry(s_job, &sched->pending_list, list) { in amdgpu_ib_preempt_job_recovery() 1866 fence = sched->ops->run_job(s_job); in amdgpu_ib_preempt_job_recovery() 1875 struct drm_sched_job *s_job, *tmp; in amdgpu_ib_preempt_mark_partial_job() local 1897 list_for_each_entry_safe(s_job, tmp, &sched->pending_list, list) { in amdgpu_ib_preempt_mark_partial_job() 1898 if (dma_fence_is_signaled(&s_job->s_fence->finished)) { in amdgpu_ib_preempt_mark_partial_job() 1900 list_del_init(&s_job->list); in amdgpu_ib_preempt_mark_partial_job() 1901 sched->ops->free_job(s_job); in amdgpu_ib_preempt_mark_partial_job() 1904 job = to_amdgpu_job(s_job); in amdgpu_ib_preempt_mark_partial_job()
|
| /linux-6.15/include/drm/ |
| H A D | gpu_scheduler.h | 610 static inline bool drm_sched_invalidate_job(struct drm_sched_job *s_job, in drm_sched_invalidate_job() argument 613 return s_job && atomic_inc_return(&s_job->karma) > threshold; in drm_sched_invalidate_job()
|
| /linux-6.15/drivers/gpu/drm/imagination/ |
| H A D | pvr_queue.c | 809 pvr_queue_timedout_job(struct drm_sched_job *s_job) in pvr_queue_timedout_job() argument 811 struct drm_gpu_scheduler *sched = s_job->sched; in pvr_queue_timedout_job() 833 drm_sched_stop(sched, s_job); in pvr_queue_timedout_job()
|