Lines Matching refs:sched_job

28 to_v3d_job(struct drm_sched_job *sched_job)  in to_v3d_job()  argument
30 return container_of(sched_job, struct v3d_job, base); in to_v3d_job()
34 to_bin_job(struct drm_sched_job *sched_job) in to_bin_job() argument
36 return container_of(sched_job, struct v3d_bin_job, base.base); in to_bin_job()
40 to_render_job(struct drm_sched_job *sched_job) in to_render_job() argument
42 return container_of(sched_job, struct v3d_render_job, base.base); in to_render_job()
46 to_tfu_job(struct drm_sched_job *sched_job) in to_tfu_job() argument
48 return container_of(sched_job, struct v3d_tfu_job, base.base); in to_tfu_job()
52 to_csd_job(struct drm_sched_job *sched_job) in to_csd_job() argument
54 return container_of(sched_job, struct v3d_csd_job, base.base); in to_csd_job()
58 v3d_sched_job_free(struct drm_sched_job *sched_job) in v3d_sched_job_free() argument
60 struct v3d_job *job = to_v3d_job(sched_job); in v3d_sched_job_free()
75 static struct dma_fence *v3d_bin_job_run(struct drm_sched_job *sched_job) in v3d_bin_job_run() argument
77 struct v3d_bin_job *job = to_bin_job(sched_job); in v3d_bin_job_run()
130 static struct dma_fence *v3d_render_job_run(struct drm_sched_job *sched_job) in v3d_render_job_run() argument
132 struct v3d_render_job *job = to_render_job(sched_job); in v3d_render_job_run()
175 v3d_tfu_job_run(struct drm_sched_job *sched_job) in v3d_tfu_job_run() argument
177 struct v3d_tfu_job *job = to_tfu_job(sched_job); in v3d_tfu_job_run()
212 v3d_csd_job_run(struct drm_sched_job *sched_job) in v3d_csd_job_run() argument
214 struct v3d_csd_job *job = to_csd_job(sched_job); in v3d_csd_job_run()
245 v3d_cache_clean_job_run(struct drm_sched_job *sched_job) in v3d_cache_clean_job_run() argument
247 struct v3d_job *job = to_v3d_job(sched_job); in v3d_cache_clean_job_run()
256 v3d_gpu_reset_for_timeout(struct v3d_dev *v3d, struct drm_sched_job *sched_job) in v3d_gpu_reset_for_timeout() argument
264 drm_sched_stop(&v3d->queue[q].sched, sched_job); in v3d_gpu_reset_for_timeout()
266 if (sched_job) in v3d_gpu_reset_for_timeout()
267 drm_sched_increase_karma(sched_job); in v3d_gpu_reset_for_timeout()
291 v3d_cl_job_timedout(struct drm_sched_job *sched_job, enum v3d_queue q, in v3d_cl_job_timedout() argument
294 struct v3d_job *job = to_v3d_job(sched_job); in v3d_cl_job_timedout()
305 return v3d_gpu_reset_for_timeout(v3d, sched_job); in v3d_cl_job_timedout()
309 v3d_bin_job_timedout(struct drm_sched_job *sched_job) in v3d_bin_job_timedout() argument
311 struct v3d_bin_job *job = to_bin_job(sched_job); in v3d_bin_job_timedout()
313 return v3d_cl_job_timedout(sched_job, V3D_BIN, in v3d_bin_job_timedout()
318 v3d_render_job_timedout(struct drm_sched_job *sched_job) in v3d_render_job_timedout() argument
320 struct v3d_render_job *job = to_render_job(sched_job); in v3d_render_job_timedout()
322 return v3d_cl_job_timedout(sched_job, V3D_RENDER, in v3d_render_job_timedout()
327 v3d_generic_job_timedout(struct drm_sched_job *sched_job) in v3d_generic_job_timedout() argument
329 struct v3d_job *job = to_v3d_job(sched_job); in v3d_generic_job_timedout()
331 return v3d_gpu_reset_for_timeout(job->v3d, sched_job); in v3d_generic_job_timedout()
335 v3d_csd_job_timedout(struct drm_sched_job *sched_job) in v3d_csd_job_timedout() argument
337 struct v3d_csd_job *job = to_csd_job(sched_job); in v3d_csd_job_timedout()
349 return v3d_gpu_reset_for_timeout(v3d, sched_job); in v3d_csd_job_timedout()