Searched refs:s_job (Results 1 – 5 of 5) sorted by relevance
/linux/drivers/gpu/drm/scheduler/ |
A D | sched_main.c | 197 drm_sched_job_done(s_job); in drm_sched_job_done_cb() 393 struct drm_sched_job *s_job, *tmp; in drm_sched_stop() local 419 if (s_job->s_fence->parent && in drm_sched_stop() 421 &s_job->cb)) { in drm_sched_stop() 429 list_del_init(&s_job->list); in drm_sched_stop() 445 if (bad != s_job) in drm_sched_stop() 446 sched->ops->free_job(s_job); in drm_sched_stop() 492 drm_sched_job_done(s_job); in drm_sched_start() 497 drm_sched_job_done(s_job); in drm_sched_start() 559 s_job->s_fence->parent = NULL; in drm_sched_resubmit_jobs_ext() [all …]
|
/linux/drivers/gpu/drm/amd/amdgpu/ |
A D | amdgpu_job.c | 35 struct amdgpu_ring *ring = to_amdgpu_ring(s_job->sched); in amdgpu_job_timedout() 36 struct amdgpu_job *job = to_amdgpu_job(s_job); in amdgpu_job_timedout() 43 __func__, s_job->sched->name); in amdgpu_job_timedout() 54 s_job->sched->name); in amdgpu_job_timedout() 144 static void amdgpu_job_free_cb(struct drm_sched_job *s_job) in amdgpu_job_free_cb() argument 146 struct amdgpu_job *job = to_amdgpu_job(s_job); in amdgpu_job_free_cb() 148 drm_sched_job_cleanup(s_job); in amdgpu_job_free_cb() 283 struct drm_sched_job *s_job; in amdgpu_job_stop_all_jobs_on_sched() local 297 struct drm_sched_fence *s_fence = s_job->s_fence; in amdgpu_job_stop_all_jobs_on_sched() 308 list_for_each_entry(s_job, &sched->pending_list, list) { in amdgpu_job_stop_all_jobs_on_sched() [all …]
|
A D | amdgpu_debugfs.c | 1444 struct drm_sched_job *s_job; in amdgpu_ib_preempt_job_recovery() local 1448 list_for_each_entry(s_job, &sched->pending_list, list) { in amdgpu_ib_preempt_job_recovery() 1449 fence = sched->ops->run_job(s_job); in amdgpu_ib_preempt_job_recovery() 1458 struct drm_sched_job *s_job, *tmp; in amdgpu_ib_preempt_mark_partial_job() local 1480 list_for_each_entry_safe(s_job, tmp, &sched->pending_list, list) { in amdgpu_ib_preempt_mark_partial_job() 1481 if (dma_fence_is_signaled(&s_job->s_fence->finished)) { in amdgpu_ib_preempt_mark_partial_job() 1483 list_del_init(&s_job->list); in amdgpu_ib_preempt_mark_partial_job() 1484 sched->ops->free_job(s_job); in amdgpu_ib_preempt_mark_partial_job() 1487 job = to_amdgpu_job(s_job); in amdgpu_ib_preempt_mark_partial_job()
|
A D | amdgpu_device.c | 4849 struct drm_sched_job *s_job; in amdgpu_device_recheck_guilty_jobs() local 4856 if (s_job == NULL) in amdgpu_device_recheck_guilty_jobs() 4860 drm_sched_reset_karma(s_job); in amdgpu_device_recheck_guilty_jobs() 4863 dma_fence_get(s_job->s_fence->parent); in amdgpu_device_recheck_guilty_jobs() 4869 ring->sched.name, s_job->id); in amdgpu_device_recheck_guilty_jobs() 4872 drm_sched_increase_karma(s_job); in amdgpu_device_recheck_guilty_jobs() 4899 dma_fence_put(s_job->s_fence->parent); in amdgpu_device_recheck_guilty_jobs() 4900 dma_fence_get(&s_job->s_fence->finished); in amdgpu_device_recheck_guilty_jobs() 4902 dma_fence_put(&s_job->s_fence->finished); in amdgpu_device_recheck_guilty_jobs() 4906 list_del_init(&s_job->list); in amdgpu_device_recheck_guilty_jobs() [all …]
|
/linux/include/drm/ |
A D | gpu_scheduler.h | 308 static inline bool drm_sched_invalidate_job(struct drm_sched_job *s_job, in drm_sched_invalidate_job() argument 311 return s_job && atomic_inc_return(&s_job->karma) > threshold; in drm_sched_invalidate_job() 486 void drm_sched_job_kickout(struct drm_sched_job *s_job);
|
Completed in 21 milliseconds