Home
last modified time | relevance | path

Searched refs:drm_sched_job (Results 1 – 16 of 16) sorted by relevance

/Linux-v5.4/include/drm/
Dgpu_scheduler.h183 struct drm_sched_job { struct
196 static inline bool drm_sched_invalidate_job(struct drm_sched_job *s_job, in drm_sched_invalidate_job() argument
214 struct dma_fence *(*dependency)(struct drm_sched_job *sched_job,
223 struct dma_fence *(*run_job)(struct drm_sched_job *sched_job);
229 void (*timedout_job)(struct drm_sched_job *sched_job);
235 void (*free_job)(struct drm_sched_job *sched_job);
292 int drm_sched_job_init(struct drm_sched_job *job,
295 void drm_sched_job_cleanup(struct drm_sched_job *job);
297 void drm_sched_stop(struct drm_gpu_scheduler *sched, struct drm_sched_job *bad);
300 void drm_sched_increase_karma(struct drm_sched_job *bad);
[all …]
/Linux-v5.4/drivers/gpu/drm/v3d/
Dv3d_sched.c28 to_v3d_job(struct drm_sched_job *sched_job) in to_v3d_job()
34 to_bin_job(struct drm_sched_job *sched_job) in to_bin_job()
40 to_render_job(struct drm_sched_job *sched_job) in to_render_job()
46 to_tfu_job(struct drm_sched_job *sched_job) in to_tfu_job()
52 to_csd_job(struct drm_sched_job *sched_job) in to_csd_job()
58 v3d_job_free(struct drm_sched_job *sched_job) in v3d_job_free()
73 v3d_job_dependency(struct drm_sched_job *sched_job, in v3d_job_dependency()
88 static struct dma_fence *v3d_bin_job_run(struct drm_sched_job *sched_job) in v3d_bin_job_run()
141 static struct dma_fence *v3d_render_job_run(struct drm_sched_job *sched_job) in v3d_render_job_run()
184 v3d_tfu_job_run(struct drm_sched_job *sched_job) in v3d_tfu_job_run()
[all …]
Dv3d_drv.h184 struct drm_sched_job base;
/Linux-v5.4/drivers/gpu/drm/scheduler/
Dsched_main.c60 container_of((sched_job), struct drm_sched_job, queue_node)
269 static void drm_sched_job_begin(struct drm_sched_job *s_job) in drm_sched_job_begin()
283 struct drm_sched_job *job; in drm_sched_job_timedout()
288 struct drm_sched_job, node); in drm_sched_job_timedout()
317 void drm_sched_increase_karma(struct drm_sched_job *bad) in drm_sched_increase_karma()
365 void drm_sched_stop(struct drm_gpu_scheduler *sched, struct drm_sched_job *bad) in drm_sched_stop()
367 struct drm_sched_job *s_job, *tmp; in drm_sched_stop()
432 struct drm_sched_job *s_job, *tmp; in drm_sched_start()
479 struct drm_sched_job *s_job, *tmp; in drm_sched_resubmit_jobs()
522 int drm_sched_job_init(struct drm_sched_job *job, in drm_sched_job_init()
[all …]
Dsched_entity.c33 container_of((sched_job), struct drm_sched_job, queue_node)
219 struct drm_sched_job *job = container_of(cb, struct drm_sched_job, in drm_sched_entity_kill_jobs_cb()
237 struct drm_sched_job *job; in drm_sched_entity_kill_jobs()
448 struct drm_sched_job *drm_sched_entity_pop_job(struct drm_sched_entity *entity) in drm_sched_entity_pop_job()
451 struct drm_sched_job *sched_job; in drm_sched_entity_pop_job()
518 void drm_sched_entity_push_job(struct drm_sched_job *sched_job, in drm_sched_entity_push_job()
Dgpu_scheduler_trace.h35 TRACE_EVENT(drm_sched_job,
36 TP_PROTO(struct drm_sched_job *sched_job, struct drm_sched_entity *entity),
76 TP_PROTO(struct drm_sched_job *sched_job, struct dma_fence *fence),
/Linux-v5.4/drivers/gpu/drm/etnaviv/
Detnaviv_sched.c21 etnaviv_sched_dependency(struct drm_sched_job *sched_job, in etnaviv_sched_dependency()
72 static struct dma_fence *etnaviv_sched_run_job(struct drm_sched_job *sched_job) in etnaviv_sched_run_job()
85 static void etnaviv_sched_timedout_job(struct drm_sched_job *sched_job) in etnaviv_sched_timedout_job()
127 static void etnaviv_sched_free_job(struct drm_sched_job *sched_job) in etnaviv_sched_free_job()
Detnaviv_sched.h14 struct etnaviv_gem_submit *to_etnaviv_submit(struct drm_sched_job *sched_job) in to_etnaviv_submit()
Detnaviv_gem.h93 struct drm_sched_job sched_job;
/Linux-v5.4/drivers/gpu/drm/lima/
Dlima_sched.c98 static inline struct lima_sched_task *to_lima_task(struct drm_sched_job *job) in to_lima_task()
182 static struct dma_fence *lima_sched_dependency(struct drm_sched_job *job, in lima_sched_dependency()
193 static struct dma_fence *lima_sched_run_job(struct drm_sched_job *job) in lima_sched_run_job()
287 static void lima_sched_timedout_job(struct drm_sched_job *job) in lima_sched_timedout_job()
297 static void lima_sched_free_job(struct drm_sched_job *job) in lima_sched_free_job()
Dlima_sched.h12 struct drm_sched_job base;
/Linux-v5.4/drivers/gpu/drm/amd/amdgpu/
Damdgpu_job.c31 static void amdgpu_job_timedout(struct drm_sched_job *s_job) in amdgpu_job_timedout()
118 static void amdgpu_job_free_cb(struct drm_sched_job *s_job) in amdgpu_job_free_cb()
183 static struct dma_fence *amdgpu_job_dependency(struct drm_sched_job *sched_job, in amdgpu_job_dependency()
216 static struct dma_fence *amdgpu_job_run(struct drm_sched_job *sched_job) in amdgpu_job_run()
Damdgpu_job.h43 struct drm_sched_job base;
Damdgpu_debugfs.c974 struct drm_sched_job *s_job; in amdgpu_ib_preempt_job_recovery()
988 struct drm_sched_job *s_job; in amdgpu_ib_preempt_mark_partial_job()
/Linux-v5.4/drivers/gpu/drm/panfrost/
Dpanfrost_job.c39 to_panfrost_job(struct drm_sched_job *sched_job) in to_panfrost_job()
286 static void panfrost_job_free(struct drm_sched_job *sched_job) in panfrost_job_free()
295 static struct dma_fence *panfrost_job_dependency(struct drm_sched_job *sched_job, in panfrost_job_dependency()
323 static struct dma_fence *panfrost_job_run(struct drm_sched_job *sched_job) in panfrost_job_run()
361 static void panfrost_job_timedout(struct drm_sched_job *sched_job) in panfrost_job_timedout()
Dpanfrost_job.h15 struct drm_sched_job base;