/linux/include/drm/ |
H A D | gpu_scheduler.h | 340 struct drm_sched_job { struct 390 static inline bool drm_sched_invalidate_job(struct drm_sched_job *s_job, in drm_sched_invalidate_job() argument 419 struct dma_fence *(*prepare_job)(struct drm_sched_job *sched_job, 428 struct dma_fence *(*run_job)(struct drm_sched_job *sched_job); 472 enum drm_gpu_sched_stat (*timedout_job)(struct drm_sched_job *sched_job); 478 void (*free_job)(struct drm_sched_job *sched_job); 491 u32 (*update_job_credits)(struct drm_sched_job *sched_job); 564 int drm_sched_job_init(struct drm_sched_job *job, 567 void drm_sched_job_arm(struct drm_sched_job *job); 568 int drm_sched_job_add_dependency(struct drm_sched_job *job, [all …]
|
/linux/drivers/gpu/drm/scheduler/ |
H A D | gpu_scheduler_trace.h | 35 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),
|
H A D | sched_main.c | 97 container_of((sched_job), struct drm_sched_job, queue_node) 130 struct drm_sched_job *s_job; in drm_sched_can_queue() 392 struct drm_sched_job *job; in drm_sched_run_free_queue() 396 struct drm_sched_job, list); in drm_sched_run_free_queue() 408 static void drm_sched_job_done(struct drm_sched_job *s_job, int result) in drm_sched_job_done() 431 struct drm_sched_job *s_job = container_of(cb, struct drm_sched_job, cb); in drm_sched_job_done_cb() 541 static void drm_sched_job_begin(struct drm_sched_job *s_job) in drm_sched_job_begin() 554 struct drm_sched_job *job; in drm_sched_job_timedout() 562 struct drm_sched_job, list); in drm_sched_job_timedout() 606 void drm_sched_stop(struct drm_gpu_scheduler *sched, struct drm_sched_job *bad) in drm_sched_stop() [all …]
|
/linux/drivers/gpu/drm/panthor/ |
H A D | panthor_mmu.h | 11 struct drm_sched_job; 51 struct drm_sched_job *job); 53 struct drm_sched_job *job); 83 struct drm_sched_job * 87 void panthor_vm_bind_job_put(struct drm_sched_job *job); 89 struct drm_sched_job *job); 90 void panthor_vm_bind_job_update_resvs(struct drm_exec *exec, struct drm_sched_job *job);
|
H A D | panthor_drv.c | 270 struct drm_sched_job *job; 452 struct drm_sched_job *job, in panthor_submit_ctx_add_job() 604 struct drm_sched_job *job = ctx->jobs[job_idx].job; in panthor_submit_ctx_add_sync_deps_to_job() 699 void (*upd_resvs)(struct drm_exec *, struct drm_sched_job *)) in panthor_submit_ctx_push_jobs() argument 743 void (*job_put)(struct drm_sched_job *)) in panthor_submit_ctx_cleanup() argument 990 struct drm_sched_job *job; in panthor_ioctl_group_submit() 1216 struct drm_sched_job *job; in panthor_ioctl_vm_bind_async()
|
H A D | panthor_mmu.c | 396 struct drm_sched_job base; 2187 panthor_vm_bind_run_job(struct drm_sched_job *sched_job) in panthor_vm_bind_run_job() 2221 void panthor_vm_bind_job_put(struct drm_sched_job *sched_job) in panthor_vm_bind_job_put() 2231 panthor_vm_bind_free_job(struct drm_sched_job *sched_job) in panthor_vm_bind_free_job() 2245 panthor_vm_bind_timedout_job(struct drm_sched_job *sched_job) in panthor_vm_bind_timedout_job() 2455 struct drm_sched_job * 2506 struct drm_sched_job *sched_job) in panthor_vm_bind_job_prepare_resvs() 2532 struct drm_sched_job *sched_job) in panthor_vm_bind_job_update_resvs()
|
/linux/drivers/gpu/drm/v3d/ |
H A D | v3d_sched.c | 33 to_v3d_job(struct drm_sched_job *sched_job) in to_v3d_job() 39 to_bin_job(struct drm_sched_job *sched_job) in to_bin_job() 45 to_render_job(struct drm_sched_job *sched_job) in to_render_job() 51 to_tfu_job(struct drm_sched_job *sched_job) in to_tfu_job() 57 to_csd_job(struct drm_sched_job *sched_job) in to_csd_job() 63 to_cpu_job(struct drm_sched_job *sched_job) in to_cpu_job() 69 v3d_sched_job_free(struct drm_sched_job *sched_job) in v3d_sched_job_free() 107 v3d_cpu_job_free(struct drm_sched_job *sched_job) in v3d_cpu_job_free() 221 static struct dma_fence *v3d_bin_job_run(struct drm_sched_job *sched_job) in v3d_bin_job_run() 277 static struct dma_fence *v3d_render_job_run(struct drm_sched_job *sched_job) in v3d_render_job_run() [all …]
|
/linux/drivers/gpu/drm/imagination/ |
H A D | pvr_sync.h | 16 struct drm_sched_job; 79 pvr_sync_add_deps_to_job(struct pvr_file *pvr_file, struct drm_sched_job *job,
|
H A D | pvr_sync.c | 206 pvr_sync_add_dep_to_job(struct drm_sched_job *job, struct dma_fence *f) in pvr_sync_add_dep_to_job() 248 pvr_sync_add_deps_to_job(struct pvr_file *pvr_file, struct drm_sched_job *job, in pvr_sync_add_deps_to_job()
|
H A D | pvr_job.h | 32 struct drm_sched_job base;
|
/linux/drivers/gpu/drm/etnaviv/ |
H A D | etnaviv_sched.c | 21 static struct dma_fence *etnaviv_sched_run_job(struct drm_sched_job *sched_job) in etnaviv_sched_run_job() 34 static enum drm_gpu_sched_stat etnaviv_sched_timedout_job(struct drm_sched_job in etnaviv_sched_timedout_job() 96 static void etnaviv_sched_free_job(struct drm_sched_job *sched_job) in etnaviv_sched_free_job()
|
H A D | etnaviv_sched.h | 14 struct etnaviv_gem_submit *to_etnaviv_submit(struct drm_sched_job *sched_job) in to_etnaviv_submit()
|
H A D | etnaviv_gem.h | 93 struct drm_sched_job sched_job;
|
/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_job.c | 88 static enum drm_gpu_sched_stat amdgpu_job_timedout(struct drm_sched_job *s_job) in amdgpu_job_timedout() 265 static void amdgpu_job_free_cb(struct drm_sched_job *s_job) in amdgpu_job_free_cb() 340 amdgpu_job_prepare_job(struct drm_sched_job *sched_job, in amdgpu_job_prepare_job() 377 static struct dma_fence *amdgpu_job_run(struct drm_sched_job *sched_job) in amdgpu_job_run() 415 container_of((sched_job), struct drm_sched_job, queue_node) 419 struct drm_sched_job *s_job; in amdgpu_job_stop_all_jobs_on_sched()
|
H A D | amdgpu_job.h | 48 struct drm_sched_job base;
|
/linux/drivers/gpu/drm/panfrost/ |
H A D | panfrost_job.c | 43 to_panfrost_job(struct drm_sched_job *sched_job) in to_panfrost_job() 268 struct drm_sched_job *job) in panfrost_acquire_object_fences() 370 static void panfrost_job_free(struct drm_sched_job *sched_job) in panfrost_job_free() 379 static struct dma_fence *panfrost_job_run(struct drm_sched_job *sched_job) in panfrost_job_run() 637 struct drm_sched_job *bad) in panfrost_reset() 746 static enum drm_gpu_sched_stat panfrost_job_timedout(struct drm_sched_job in panfrost_job_timedout()
|
H A D | panfrost_job.h | 15 struct drm_sched_job base;
|
/linux/drivers/gpu/drm/lima/ |
H A D | lima_sched.c | 103 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() 471 static void lima_sched_free_job(struct drm_sched_job *job) in lima_sched_free_job()
|
H A D | lima_sched.h | 21 struct drm_sched_job base;
|
/linux/drivers/gpu/drm/xe/ |
H A D | xe_sched_job_types.h | 34 struct drm_sched_job drm;
|
H A D | xe_sched_job.h | 66 to_xe_sched_job(struct drm_sched_job *drm) in to_xe_sched_job()
|
/linux/drivers/gpu/drm/nouveau/ |
H A D | nouveau_sched.c | 361 nouveau_sched_run_job(struct drm_sched_job *sched_job) in nouveau_sched_run_job() 369 nouveau_sched_timedout_job(struct drm_sched_job *sched_job) in nouveau_sched_timedout_job() 388 nouveau_sched_free_job(struct drm_sched_job *sched_job) in nouveau_sched_free_job()
|
H A D | nouveau_sched.h | 49 struct drm_sched_job base;
|
/linux/drivers/gpu/drm/msm/ |
H A D | msm_gem.h | 256 struct drm_sched_job base; 304 static inline struct msm_gem_submit *to_msm_submit(struct drm_sched_job *job) in to_msm_submit()
|
/linux/include/trace/events/ |
H A D | amdxdna.h | 33 TP_PROTO(struct drm_sched_job *sched_job, const char *name, const char *str, u64 seq),
|