Home
last modified time | relevance | path

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

/linux-6.1.9/include/drm/
Dgpu_scheduler.h295 struct drm_sched_job { struct
328 static inline bool drm_sched_invalidate_job(struct drm_sched_job *s_job, in drm_sched_invalidate_job() argument
358 struct dma_fence *(*dependency)(struct drm_sched_job *sched_job,
367 struct dma_fence *(*run_job)(struct drm_sched_job *sched_job);
411 enum drm_gpu_sched_stat (*timedout_job)(struct drm_sched_job *sched_job);
417 void (*free_job)(struct drm_sched_job *sched_job);
481 int drm_sched_job_init(struct drm_sched_job *job,
484 void drm_sched_job_arm(struct drm_sched_job *job);
485 int drm_sched_job_add_dependency(struct drm_sched_job *job,
487 int drm_sched_job_add_implicit_dependencies(struct drm_sched_job *job,
[all …]
/linux-6.1.9/drivers/gpu/drm/scheduler/
Dgpu_scheduler_trace.h35 DECLARE_EVENT_CLASS(drm_sched_job,
36 TP_PROTO(struct drm_sched_job *sched_job, struct drm_sched_entity *entity),
62 DEFINE_EVENT(drm_sched_job, drm_sched_job,
63 TP_PROTO(struct drm_sched_job *sched_job, struct drm_sched_entity *entity),
67 DEFINE_EVENT(drm_sched_job, drm_run_job,
68 TP_PROTO(struct drm_sched_job *sched_job, struct drm_sched_entity *entity),
86 TP_PROTO(struct drm_sched_job *sched_job, struct dma_fence *fence),
Dsched_main.c63 container_of((sched_job), struct drm_sched_job, queue_node)
172 static void drm_sched_job_done(struct drm_sched_job *s_job) in drm_sched_job_done()
195 struct drm_sched_job *s_job = container_of(cb, struct drm_sched_job, cb); in drm_sched_job_done_cb()
305 static void drm_sched_job_begin(struct drm_sched_job *s_job) in drm_sched_job_begin()
318 struct drm_sched_job *job; in drm_sched_job_timedout()
326 struct drm_sched_job, list); in drm_sched_job_timedout()
367 void drm_sched_increase_karma(struct drm_sched_job *bad) in drm_sched_increase_karma()
373 void drm_sched_reset_karma(struct drm_sched_job *bad) in drm_sched_reset_karma()
391 void drm_sched_stop(struct drm_gpu_scheduler *sched, struct drm_sched_job *bad) in drm_sched_stop()
393 struct drm_sched_job *s_job, *tmp; in drm_sched_stop()
[all …]
Dsched_entity.c34 container_of((sched_job), struct drm_sched_job, queue_node)
195 struct drm_sched_job *job = container_of(wrk, typeof(*job), work); in drm_sched_entity_kill_jobs_work()
207 struct drm_sched_job *job = container_of(cb, struct drm_sched_job, in drm_sched_entity_kill_jobs_cb()
216 drm_sched_job_dependency(struct drm_sched_job *job, in drm_sched_job_dependency()
230 struct drm_sched_job *job; in drm_sched_entity_kill_jobs()
419 struct drm_sched_job *drm_sched_entity_pop_job(struct drm_sched_entity *entity) in drm_sched_entity_pop_job()
421 struct drm_sched_job *sched_job; in drm_sched_entity_pop_job()
506 void drm_sched_entity_push_job(struct drm_sched_job *sched_job) in drm_sched_entity_push_job()
/linux-6.1.9/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_sched_job_free(struct drm_sched_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()
130 static struct dma_fence *v3d_render_job_run(struct drm_sched_job *sched_job) in v3d_render_job_run()
175 v3d_tfu_job_run(struct drm_sched_job *sched_job) in v3d_tfu_job_run()
212 v3d_csd_job_run(struct drm_sched_job *sched_job) in v3d_csd_job_run()
[all …]
Dv3d_drv.h216 struct drm_sched_job base;
/linux-6.1.9/drivers/gpu/drm/etnaviv/
Detnaviv_sched.c20 static struct dma_fence *etnaviv_sched_run_job(struct drm_sched_job *sched_job) in etnaviv_sched_run_job()
33 static enum drm_gpu_sched_stat etnaviv_sched_timedout_job(struct drm_sched_job in etnaviv_sched_timedout_job()
83 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.h90 struct drm_sched_job sched_job;
/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/
Damdgpu_job.c34 static enum drm_gpu_sched_stat amdgpu_job_timedout(struct drm_sched_job *s_job) in amdgpu_job_timedout()
169 static void amdgpu_job_free_cb(struct drm_sched_job *s_job) in amdgpu_job_free_cb()
251 static struct dma_fence *amdgpu_job_dependency(struct drm_sched_job *sched_job, in amdgpu_job_dependency()
283 static struct dma_fence *amdgpu_job_run(struct drm_sched_job *sched_job) in amdgpu_job_run()
320 container_of((sched_job), struct drm_sched_job, queue_node)
324 struct drm_sched_job *s_job; in amdgpu_job_stop_all_jobs_on_sched()
Damdgpu_job.h48 struct drm_sched_job base;
Damdgpu_debugfs.c1667 struct drm_sched_job *s_job; in amdgpu_ib_preempt_job_recovery()
1681 struct drm_sched_job *s_job, *tmp; in amdgpu_ib_preempt_mark_partial_job()
Damdgpu_device.c4565 struct drm_sched_job *job; in amdgpu_device_has_job_running()
4575 struct drm_sched_job, list); in amdgpu_device_has_job_running()
5105 struct drm_sched_job *s_job; in amdgpu_device_recheck_guilty_jobs()
5111 struct drm_sched_job, list); in amdgpu_device_recheck_guilty_jobs()
/linux-6.1.9/drivers/gpu/drm/msm/
Dmsm_ringbuffer.c14 static struct dma_fence *msm_job_run(struct drm_sched_job *job) in msm_job_run()
43 static void msm_job_free(struct drm_sched_job *job) in msm_job_free()
Dmsm_gem.h253 struct drm_sched_job base;
307 static inline struct msm_gem_submit *to_msm_submit(struct drm_sched_job *job) in to_msm_submit()
/linux-6.1.9/drivers/gpu/drm/lima/
Dlima_sched.c102 static inline struct lima_sched_task *to_lima_task(struct drm_sched_job *job) in to_lima_task()
202 static struct dma_fence *lima_sched_run_job(struct drm_sched_job *job) in lima_sched_run_job()
399 static enum drm_gpu_sched_stat lima_sched_timedout_job(struct drm_sched_job *job) in lima_sched_timedout_job()
438 static void lima_sched_free_job(struct drm_sched_job *job) in lima_sched_free_job()
Dlima_sched.h21 struct drm_sched_job base;
/linux-6.1.9/drivers/gpu/drm/panfrost/
Dpanfrost_job.c43 to_panfrost_job(struct drm_sched_job *sched_job) in to_panfrost_job()
246 struct drm_sched_job *job) in panfrost_acquire_object_fences()
348 static void panfrost_job_free(struct drm_sched_job *sched_job) in panfrost_job_free()
357 static struct dma_fence *panfrost_job_run(struct drm_sched_job *sched_job) in panfrost_job_run()
605 struct drm_sched_job *bad) in panfrost_reset()
709 static enum drm_gpu_sched_stat panfrost_job_timedout(struct drm_sched_job in panfrost_job_timedout()
Dpanfrost_job.h15 struct drm_sched_job base;