Lines Matching full:job

63  * struct drm_sched_entity - A wrapper around a job queue (typically
160 * The dependency fence of the job which is on the top of the job queue.
181 * Points to the finished fence of the last scheduled job. Only written
188 * @last_user: last group leader pushing a job into the entity.
230 * struct drm_sched_fence - fences corresponding to the scheduling of a job.
235 * when the job is scheduled.
241 * when the job is completed.
243 * When setting up an out fence for the job, you should use
253 * when scheduling the job on hardware. We signal the
258 * @sched: the scheduler instance to which the job having this struct
267 * @owner: job owner for debugging
275 * struct drm_sched_job - A job to be run by an entity.
278 * @list: a job participates in a "pending" and "done" lists.
279 * @sched: the scheduler instance on which this job is scheduled.
280 * @s_fence: contains the fences for the scheduling of job.
282 * @work: Helper to reschdeule job kill to different context.
283 * @id: a unique id assigned to each job scheduled on the scheduler.
284 * @karma: increment on every hang caused by this job. If this exceeds the hang
285 * limit of the scheduler then the job is marked guilty and will not
287 * @s_priority: the priority of the job.
288 * @entity: the entity to which this job belongs.
291 * A job is created by the driver using drm_sched_job_init(), and
293 * to schedule the job.
318 * Contains the dependencies as struct dma_fence for this job, see
350 * Called when the scheduler is considering scheduling this job next, to
351 * get another struct dma_fence for this job to block on. Once it
362 * @run_job: Called to execute the job once all of the dependencies
370 * @timedout_job: Called when a job has taken too long to execute,
414 * @free_job: Called once the job's finished fence has been signaled
425 * @timeout: the time after which a job is removed from the scheduler.
428 * @wake_up_worker: the wait queue on which the scheduler sleeps until a job
434 * @job_id_count: used to assign unique id to the each job.
439 * @pending_list: the list of jobs which are currently in the job queue.
441 * @hang_limit: once the hangs by a job crosses this limit then it is marked
446 * @free_guilty: A hit to time out handler to free the guilty job.
481 int drm_sched_job_init(struct drm_sched_job *job,
484 void drm_sched_job_arm(struct drm_sched_job *job);
485 int drm_sched_job_add_dependency(struct drm_sched_job *job,
487 int drm_sched_job_add_implicit_dependencies(struct drm_sched_job *job,
496 void drm_sched_job_cleanup(struct drm_sched_job *job);