Home
last modified time | relevance | path

Searched refs:xe_sched_job (Results 1 – 25 of 25) sorted by relevance

/linux-6.12.1/drivers/gpu/drm/xe/
Dxe_sched_job.h21 struct xe_sched_job *xe_sched_job_create(struct xe_exec_queue *q,
31 static inline struct xe_sched_job *xe_sched_job_get(struct xe_sched_job *job) in xe_sched_job_get()
44 static inline void xe_sched_job_put(struct xe_sched_job *job) in xe_sched_job_put()
49 void xe_sched_job_set_error(struct xe_sched_job *job, int error);
50 static inline bool xe_sched_job_is_error(struct xe_sched_job *job) in xe_sched_job_is_error()
55 bool xe_sched_job_started(struct xe_sched_job *job);
56 bool xe_sched_job_completed(struct xe_sched_job *job);
58 void xe_sched_job_arm(struct xe_sched_job *job);
59 void xe_sched_job_push(struct xe_sched_job *job);
61 int xe_sched_job_last_fence_add_dep(struct xe_sched_job *job, struct xe_vm *vm);
[all …]
Dxe_sched_job.c31 sizeof(struct xe_sched_job) + in xe_sched_job_module_init()
39 sizeof(struct xe_sched_job) + in xe_sched_job_module_init()
57 static struct xe_sched_job *job_alloc(bool parallel) in job_alloc()
68 static void job_free(struct xe_sched_job *job) in job_free()
77 static struct xe_device *job_to_xe(struct xe_sched_job *job) in job_to_xe()
83 static void xe_sched_job_free_fences(struct xe_sched_job *job) in xe_sched_job_free_fences()
96 struct xe_sched_job *xe_sched_job_create(struct xe_exec_queue *q, in xe_sched_job_create()
100 struct xe_sched_job *job; in xe_sched_job_create()
170 struct xe_sched_job *job = in xe_sched_job_destroy()
171 container_of(ref, struct xe_sched_job, refcount); in xe_sched_job_destroy()
[all …]
Dxe_trace.h205 DECLARE_EVENT_CLASS(xe_sched_job,
206 TP_PROTO(struct xe_sched_job *job),
241 DEFINE_EVENT(xe_sched_job, xe_sched_job_create,
242 TP_PROTO(struct xe_sched_job *job),
246 DEFINE_EVENT(xe_sched_job, xe_sched_job_exec,
247 TP_PROTO(struct xe_sched_job *job),
251 DEFINE_EVENT(xe_sched_job, xe_sched_job_run,
252 TP_PROTO(struct xe_sched_job *job),
256 DEFINE_EVENT(xe_sched_job, xe_sched_job_free,
257 TP_PROTO(struct xe_sched_job *job),
[all …]
Dxe_devcoredump.h10 struct xe_sched_job;
13 void xe_devcoredump(struct xe_sched_job *job);
16 static inline void xe_devcoredump(struct xe_sched_job *job) in xe_devcoredump()
Dxe_bb.h15 struct xe_sched_job;
18 struct xe_sched_job *xe_bb_create_job(struct xe_exec_queue *q,
20 struct xe_sched_job *xe_bb_create_migration_job(struct xe_exec_queue *q,
Dxe_gpu_scheduler.h58 xe_sched_invalidate_job(struct xe_sched_job *job, int threshold) in xe_sched_invalidate_job()
64 struct xe_sched_job *job) in xe_sched_add_pending_job()
72 struct xe_sched_job *xe_sched_first_pending_job(struct xe_gpu_scheduler *sched) in xe_sched_first_pending_job()
75 struct xe_sched_job, drm.list); in xe_sched_first_pending_job()
Dxe_ring_ops.c174 static int emit_render_cache_flush(struct xe_sched_job *job, u32 *dw, int i) in emit_render_cache_flush()
222 static u32 get_ppgtt_flag(struct xe_sched_job *job) in get_ppgtt_flag()
241 static void __emit_job_gen12_simple(struct xe_sched_job *job, struct xe_lrc *lrc, in __emit_job_gen12_simple()
292 static void __emit_job_gen12_video(struct xe_sched_job *job, struct xe_lrc *lrc, in __emit_job_gen12_video()
341 static void __emit_job_gen12_render_compute(struct xe_sched_job *job, in __emit_job_gen12_render_compute()
392 static void emit_migration_job_gen12(struct xe_sched_job *job, in emit_migration_job_gen12()
428 static void emit_job_gen12_gsc(struct xe_sched_job *job) in emit_job_gen12_gsc()
439 static void emit_job_gen12_copy(struct xe_sched_job *job) in emit_job_gen12_copy()
455 static void emit_job_gen12_video(struct xe_sched_job *job) in emit_job_gen12_video()
466 static void emit_job_gen12_render_compute(struct xe_sched_job *job) in emit_job_gen12_render_compute()
Dxe_ring_ops_types.h9 struct xe_sched_job;
19 void (*emit_job)(struct xe_sched_job *job);
Dxe_bb.c63 static struct xe_sched_job *
78 struct xe_sched_job *xe_bb_create_migration_job(struct xe_exec_queue *q, in xe_bb_create_migration_job()
96 struct xe_sched_job *xe_bb_create_job(struct xe_exec_queue *q, in xe_bb_create_job()
Dxe_sync.h14 struct xe_sched_job;
26 struct xe_sched_job *job);
Dxe_sched_job_types.h32 struct xe_sched_job { struct
Dxe_migrate.h91 struct xe_sched_job *job;
Dxe_devcoredump.c212 struct xe_sched_job *job) in devcoredump_snapshot()
278 void xe_devcoredump(struct xe_sched_job *job) in xe_devcoredump()
Dxe_execlist.c308 struct xe_sched_job *job = to_xe_sched_job(drm_job); in execlist_run_job()
320 struct xe_sched_job *job = to_xe_sched_job(drm_job); in execlist_job_free()
Dxe_gsc_submit.c178 struct xe_sched_job *job; in xe_gsc_pkt_submit_kernel()
Dxe_guc_submit.c715 struct xe_sched_job *job = to_xe_sched_job(drm_job); in guc_exec_queue_run_job()
746 struct xe_sched_job *job = to_xe_sched_job(drm_job); in guc_exec_queue_free_job()
914 static bool check_timeout(struct xe_exec_queue *q, struct xe_sched_job *job) in check_timeout()
1028 struct xe_sched_job *job = to_xe_sched_job(drm_job); in guc_exec_queue_timedout_job()
1029 struct xe_sched_job *tmp_job; in guc_exec_queue_timedout_job()
1677 struct xe_sched_job *job = xe_sched_first_pending_job(sched); in guc_exec_queue_stop()
2129 struct xe_sched_job *job_iter; in xe_guc_exec_queue_snapshot_capture()
Dxe_exec.c118 struct xe_sched_job *job; in xe_exec_ioctl()
Dxe_gt.c166 struct xe_sched_job *job; in emit_nop_job()
210 struct xe_sched_job *job; in emit_wa_job()
Dxe_sync.c208 int xe_sync_entry_add_deps(struct xe_sync_entry *sync, struct xe_sched_job *job) in xe_sync_entry_add_deps()
Dxe_pt.c1039 static int job_test_add_deps(struct xe_sched_job *job, in job_test_add_deps()
1053 static int vma_add_deps(struct xe_vma *vma, struct xe_sched_job *job) in vma_add_deps()
1067 struct xe_sched_job *job) in op_add_deps()
1096 static int xe_pt_vm_dependencies(struct xe_sched_job *job, in xe_pt_vm_dependencies()
Dxe_migrate.c810 struct xe_sched_job *job; in xe_migrate_copy()
1084 struct xe_sched_job *job; in xe_migrate_clear()
1315 struct xe_sched_job *job; in __xe_migrate_update_pgtables()
DMakefile95 xe_sched_job.o \
Dxe_gsc.c73 struct xe_sched_job *job; in emit_gsc_upload()
Dxe_oa.c572 struct xe_sched_job *job; in xe_oa_submit_bb()
/linux-6.12.1/drivers/gpu/drm/xe/tests/
Dxe_migrate.c42 struct xe_sched_job *job = xe_bb_create_migration_job(m->q, bb, in run_sanity_job()
397 struct xe_sched_job *job; in blt_copy()