Lines Matching refs:sched
156 struct drm_gpu_scheduler *sched; in drm_sched_entity_flush() local
163 sched = entity->rq->sched; in drm_sched_entity_flush()
171 sched->job_scheduled, in drm_sched_entity_flush()
175 wait_event_killable(sched->job_scheduled, in drm_sched_entity_flush()
199 job->sched->ops->free_job(job); in drm_sched_entity_kill_jobs_work()
221 if (job->sched->ops->dependency) in drm_sched_job_dependency()
222 return job->sched->ops->dependency(job, entity); in drm_sched_job_dependency()
276 struct drm_gpu_scheduler *sched = NULL; in drm_sched_entity_fini() local
279 sched = entity->rq->sched; in drm_sched_entity_fini()
287 if (sched) { in drm_sched_entity_fini()
346 drm_sched_wakeup(entity->rq->sched); in drm_sched_entity_wakeup()
372 struct drm_gpu_scheduler *sched = entity->rq->sched; in drm_sched_entity_add_dependency_cb() local
388 if (s_fence && s_fence->sched == sched) { in drm_sched_entity_add_dependency_cb()
452 struct drm_gpu_scheduler *sched; in drm_sched_entity_select_rq() local
478 sched = drm_sched_pick_best(entity->sched_list, entity->num_sched_list); in drm_sched_entity_select_rq()
479 rq = sched ? &sched->sched_rq[entity->priority] : NULL; in drm_sched_entity_select_rq()
507 atomic_inc(entity->rq->sched->score); in drm_sched_entity_push_job()
523 drm_sched_wakeup(entity->rq->sched); in drm_sched_entity_push_job()