Lines Matching refs:sched_job
20 static struct dma_fence *etnaviv_sched_run_job(struct drm_sched_job *sched_job) in etnaviv_sched_run_job() argument
22 struct etnaviv_gem_submit *submit = to_etnaviv_submit(sched_job); in etnaviv_sched_run_job()
25 if (likely(!sched_job->s_fence->finished.error)) in etnaviv_sched_run_job()
34 *sched_job) in etnaviv_sched_timedout_job()
36 struct etnaviv_gem_submit *submit = to_etnaviv_submit(sched_job); in etnaviv_sched_timedout_job()
64 drm_sched_stop(&gpu->sched, sched_job); in etnaviv_sched_timedout_job()
66 if(sched_job) in etnaviv_sched_timedout_job()
67 drm_sched_increase_karma(sched_job); in etnaviv_sched_timedout_job()
79 list_add(&sched_job->list, &sched_job->sched->pending_list); in etnaviv_sched_timedout_job()
83 static void etnaviv_sched_free_job(struct drm_sched_job *sched_job) in etnaviv_sched_free_job() argument
85 struct etnaviv_gem_submit *submit = to_etnaviv_submit(sched_job); in etnaviv_sched_free_job()
87 drm_sched_job_cleanup(sched_job); in etnaviv_sched_free_job()
110 drm_sched_job_arm(&submit->sched_job); in etnaviv_sched_push_job()
112 submit->out_fence = dma_fence_get(&submit->sched_job.s_fence->finished); in etnaviv_sched_push_job()
117 drm_sched_job_cleanup(&submit->sched_job); in etnaviv_sched_push_job()
124 drm_sched_entity_push_job(&submit->sched_job); in etnaviv_sched_push_job()