Lines Matching refs:sched_job

33 to_v3d_job(struct drm_sched_job *sched_job)  in to_v3d_job()  argument
35 return container_of(sched_job, struct v3d_job, base); in to_v3d_job()
39 to_bin_job(struct drm_sched_job *sched_job) in to_bin_job() argument
41 return container_of(sched_job, struct v3d_bin_job, base.base); in to_bin_job()
45 to_render_job(struct drm_sched_job *sched_job) in to_render_job() argument
47 return container_of(sched_job, struct v3d_render_job, base.base); in to_render_job()
51 to_tfu_job(struct drm_sched_job *sched_job) in to_tfu_job() argument
53 return container_of(sched_job, struct v3d_tfu_job, base.base); in to_tfu_job()
57 to_csd_job(struct drm_sched_job *sched_job) in to_csd_job() argument
59 return container_of(sched_job, struct v3d_csd_job, base.base); in to_csd_job()
63 to_cpu_job(struct drm_sched_job *sched_job) in to_cpu_job() argument
65 return container_of(sched_job, struct v3d_cpu_job, base.base); in to_cpu_job()
69 v3d_sched_job_free(struct drm_sched_job *sched_job) in v3d_sched_job_free() argument
71 struct v3d_job *job = to_v3d_job(sched_job); in v3d_sched_job_free()
107 v3d_cpu_job_free(struct drm_sched_job *sched_job) in v3d_cpu_job_free() argument
109 struct v3d_cpu_job *job = to_cpu_job(sched_job); in v3d_cpu_job_free()
177 static struct dma_fence *v3d_bin_job_run(struct drm_sched_job *sched_job) in v3d_bin_job_run() argument
179 struct v3d_bin_job *job = to_bin_job(sched_job); in v3d_bin_job_run()
233 static struct dma_fence *v3d_render_job_run(struct drm_sched_job *sched_job) in v3d_render_job_run() argument
235 struct v3d_render_job *job = to_render_job(sched_job); in v3d_render_job_run()
279 v3d_tfu_job_run(struct drm_sched_job *sched_job) in v3d_tfu_job_run() argument
281 struct v3d_tfu_job *job = to_tfu_job(sched_job); in v3d_tfu_job_run()
320 v3d_csd_job_run(struct drm_sched_job *sched_job) in v3d_csd_job_run() argument
322 struct v3d_csd_job *job = to_csd_job(sched_job); in v3d_csd_job_run()
610 v3d_cpu_job_run(struct drm_sched_job *sched_job) in v3d_cpu_job_run() argument
612 struct v3d_cpu_job *job = to_cpu_job(sched_job); in v3d_cpu_job_run()
634 v3d_cache_clean_job_run(struct drm_sched_job *sched_job) in v3d_cache_clean_job_run() argument
636 struct v3d_job *job = to_v3d_job(sched_job); in v3d_cache_clean_job_run()
649 v3d_gpu_reset_for_timeout(struct v3d_dev *v3d, struct drm_sched_job *sched_job) in v3d_gpu_reset_for_timeout() argument
657 drm_sched_stop(&v3d->queue[q].sched, sched_job); in v3d_gpu_reset_for_timeout()
659 if (sched_job) in v3d_gpu_reset_for_timeout()
660 drm_sched_increase_karma(sched_job); in v3d_gpu_reset_for_timeout()
684 v3d_cl_job_timedout(struct drm_sched_job *sched_job, enum v3d_queue q, in v3d_cl_job_timedout() argument
687 struct v3d_job *job = to_v3d_job(sched_job); in v3d_cl_job_timedout()
698 return v3d_gpu_reset_for_timeout(v3d, sched_job); in v3d_cl_job_timedout()
702 v3d_bin_job_timedout(struct drm_sched_job *sched_job) in v3d_bin_job_timedout() argument
704 struct v3d_bin_job *job = to_bin_job(sched_job); in v3d_bin_job_timedout()
706 return v3d_cl_job_timedout(sched_job, V3D_BIN, in v3d_bin_job_timedout()
711 v3d_render_job_timedout(struct drm_sched_job *sched_job) in v3d_render_job_timedout() argument
713 struct v3d_render_job *job = to_render_job(sched_job); in v3d_render_job_timedout()
715 return v3d_cl_job_timedout(sched_job, V3D_RENDER, in v3d_render_job_timedout()
720 v3d_generic_job_timedout(struct drm_sched_job *sched_job) in v3d_generic_job_timedout() argument
722 struct v3d_job *job = to_v3d_job(sched_job); in v3d_generic_job_timedout()
724 return v3d_gpu_reset_for_timeout(job->v3d, sched_job); in v3d_generic_job_timedout()
728 v3d_csd_job_timedout(struct drm_sched_job *sched_job) in v3d_csd_job_timedout() argument
730 struct v3d_csd_job *job = to_csd_job(sched_job); in v3d_csd_job_timedout()
742 return v3d_gpu_reset_for_timeout(v3d, sched_job); in v3d_csd_job_timedout()