Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/include/drm/
Dgpu_scheduler.h190 struct drm_sched_job { struct
203 static inline bool drm_sched_invalidate_job(struct drm_sched_job *s_job, in drm_sched_invalidate_job() argument
221 struct dma_fence *(*dependency)(struct drm_sched_job *sched_job,
230 struct dma_fence *(*run_job)(struct drm_sched_job *sched_job);
236 void (*timedout_job)(struct drm_sched_job *sched_job);
242 void (*free_job)(struct drm_sched_job *sched_job);
299 int drm_sched_job_init(struct drm_sched_job *job,
306 void drm_sched_job_cleanup(struct drm_sched_job *job);
308 void drm_sched_stop(struct drm_gpu_scheduler *sched, struct drm_sched_job *bad);
311 void drm_sched_increase_karma(struct drm_sched_job *bad);
[all …]
/kernel/linux/linux-5.10/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.h183 struct drm_sched_job base;
/kernel/linux/linux-5.10/drivers/gpu/drm/scheduler/
Dsched_main.c61 container_of((sched_job), struct drm_sched_job, queue_node)
270 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()
290 struct drm_sched_job, node); in drm_sched_job_timedout()
329 void drm_sched_increase_karma(struct drm_sched_job *bad) in drm_sched_increase_karma()
377 void drm_sched_stop(struct drm_gpu_scheduler *sched, struct drm_sched_job *bad) in drm_sched_stop()
379 struct drm_sched_job *s_job, *tmp; in drm_sched_stop()
457 struct drm_sched_job *s_job, *tmp; in drm_sched_start()
503 struct drm_sched_job *s_job, *tmp; in drm_sched_resubmit_jobs()
548 int drm_sched_job_init(struct drm_sched_job *job, in drm_sched_job_init()
[all …]
Dsched_entity.c34 container_of((sched_job), struct drm_sched_job, queue_node)
203 struct drm_sched_job *job = container_of(cb, struct drm_sched_job, in drm_sched_entity_kill_jobs_cb()
221 struct drm_sched_job *job; in drm_sched_entity_kill_jobs()
417 struct drm_sched_job *drm_sched_entity_pop_job(struct drm_sched_entity *entity) in drm_sched_entity_pop_job()
420 struct drm_sched_job *sched_job; in drm_sched_entity_pop_job()
489 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),
63 TP_PROTO(struct drm_sched_job *sched_job, struct drm_sched_entity *entity),
103 TP_PROTO(struct drm_sched_job *sched_job, struct dma_fence *fence),
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
Damdgpu_job.c31 static void amdgpu_job_timedout(struct drm_sched_job *s_job) in amdgpu_job_timedout()
124 static void amdgpu_job_free_cb(struct drm_sched_job *s_job) in amdgpu_job_free_cb()
180 static struct dma_fence *amdgpu_job_dependency(struct drm_sched_job *sched_job, in amdgpu_job_dependency()
209 static struct dma_fence *amdgpu_job_run(struct drm_sched_job *sched_job) in amdgpu_job_run()
245 container_of((sched_job), struct drm_sched_job, queue_node)
249 struct drm_sched_job *s_job; in amdgpu_job_stop_all_jobs_on_sched()
Damdgpu_job.h44 struct drm_sched_job base;
Damdgpu_debugfs.c1392 struct drm_sched_job *s_job; in amdgpu_ib_preempt_job_recovery()
1406 struct drm_sched_job *s_job, *tmp; in amdgpu_ib_preempt_mark_partial_job()
Damdgpu_device.c4115 struct drm_sched_job *job; in amdgpu_device_has_job_running()
4125 struct drm_sched_job, node); in amdgpu_device_has_job_running()
/kernel/linux/linux-5.10/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()
130 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;
/kernel/linux/linux-5.10/drivers/gpu/drm/panfrost/
Dpanfrost_job.c49 to_panfrost_job(struct drm_sched_job *sched_job) in to_panfrost_job()
307 static void panfrost_job_free(struct drm_sched_job *sched_job) in panfrost_job_free()
316 static struct dma_fence *panfrost_job_dependency(struct drm_sched_job *sched_job, in panfrost_job_dependency()
344 static struct dma_fence *panfrost_job_run(struct drm_sched_job *sched_job) in panfrost_job_run()
383 struct drm_sched_job *bad) in panfrost_scheduler_stop()
435 static void panfrost_job_timedout(struct drm_sched_job *sched_job) in panfrost_job_timedout()
Dpanfrost_job.h15 struct drm_sched_job base;
/kernel/linux/linux-5.10/drivers/gpu/drm/lima/
Dlima_sched.c101 static inline struct lima_sched_task *to_lima_task(struct drm_sched_job *job) in to_lima_task()
187 static struct dma_fence *lima_sched_dependency(struct drm_sched_job *job, in lima_sched_dependency()
220 static struct dma_fence *lima_sched_run_job(struct drm_sched_job *job) in lima_sched_run_job()
416 static void lima_sched_timedout_job(struct drm_sched_job *job) in lima_sched_timedout_job()
452 static void lima_sched_free_job(struct drm_sched_job *job) in lima_sched_free_job()
Dlima_sched.h21 struct drm_sched_job base;