Lines Matching full:job

34 	/** @ref_count: Refcount for job. */
37 /** @type: Type of job. */
40 /** @id: Job ID number. */
44 * @paired_job: Job paired to this job.
50 * fragment job to execute when the Parameter Manager runs out of memory.
52 * The geometry job should point to the fragment job it's paired with,
53 * and the fragment job should point to the geometry job it's paired with.
63 /** @done_fence: Fence to signal when the job is done. */
87 * @has_pm_ref: True if the job has a power ref, thus forcing the GPU to stay on until
88 * the job is done.
94 * pvr_job_get() - Take additional reference on job.
95 * @job: Job pointer.
100 * * The requested job on success, or
101 * * %NULL if no job pointer passed.
104 pvr_job_get(struct pvr_job *job) in pvr_job_get() argument
106 if (job) in pvr_job_get()
107 kref_get(&job->ref_count); in pvr_job_get()
109 return job; in pvr_job_get()
112 void pvr_job_put(struct pvr_job *job);
115 * pvr_job_release_pm_ref() - Release the PM ref if the job acquired it.
116 * @job: The job to release the PM ref on.
119 pvr_job_release_pm_ref(struct pvr_job *job) in pvr_job_release_pm_ref() argument
121 if (job->has_pm_ref) { in pvr_job_release_pm_ref()
122 pvr_power_put(job->pvr_dev); in pvr_job_release_pm_ref()
123 job->has_pm_ref = false; in pvr_job_release_pm_ref()
128 * pvr_job_get_pm_ref() - Get a PM ref and attach it to the job.
129 * @job: The job to attach the PM ref to.
136 pvr_job_get_pm_ref(struct pvr_job *job) in pvr_job_get_pm_ref() argument
140 if (job->has_pm_ref) in pvr_job_get_pm_ref()
143 err = pvr_power_get(job->pvr_dev); in pvr_job_get_pm_ref()
145 job->has_pm_ref = true; in pvr_job_get_pm_ref()
150 int pvr_job_wait_first_non_signaled_native_dep(struct pvr_job *job);
152 bool pvr_job_non_native_deps_done(struct pvr_job *job);
154 int pvr_job_fits_in_cccb(struct pvr_job *job, unsigned long native_dep_count);
156 void pvr_job_submit(struct pvr_job *job);