Lines Matching refs:sched_job
62 #define to_drm_sched_job(sched_job) \ argument
63 container_of((sched_job), struct drm_sched_job, queue_node)
920 struct drm_sched_job *sched_job; in drm_sched_main() local
936 sched_job = drm_sched_entity_pop_job(entity); in drm_sched_main()
938 if (!sched_job) { in drm_sched_main()
943 s_fence = sched_job->s_fence; in drm_sched_main()
946 drm_sched_job_begin(sched_job); in drm_sched_main()
948 trace_drm_run_job(sched_job, entity); in drm_sched_main()
949 fence = sched->ops->run_job(sched_job); in drm_sched_main()
955 r = dma_fence_add_callback(fence, &sched_job->cb, in drm_sched_main()
958 drm_sched_job_done(sched_job); in drm_sched_main()
967 drm_sched_job_done(sched_job); in drm_sched_main()