Home
last modified time | relevance | path

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

12

/linux-6.12.1/drivers/gpu/drm/xe/
Dxe_exec_queue.h17 struct xe_exec_queue *xe_exec_queue_create(struct xe_device *xe, struct xe_vm *vm,
21 struct xe_exec_queue *xe_exec_queue_create_class(struct xe_device *xe, struct xe_gt *gt,
25 struct xe_exec_queue *xe_exec_queue_create_bind(struct xe_device *xe,
29 void xe_exec_queue_fini(struct xe_exec_queue *q);
31 void xe_exec_queue_assign_name(struct xe_exec_queue *q, u32 instance);
33 static inline struct xe_exec_queue *
34 xe_exec_queue_get_unless_zero(struct xe_exec_queue *q) in xe_exec_queue_get_unless_zero()
42 struct xe_exec_queue *xe_exec_queue_lookup(struct xe_file *xef, u32 id);
44 static inline struct xe_exec_queue *xe_exec_queue_get(struct xe_exec_queue *q) in xe_exec_queue_get()
50 static inline void xe_exec_queue_put(struct xe_exec_queue *q) in xe_exec_queue_put()
[all …]
Dxe_trace.h83 DECLARE_EVENT_CLASS(xe_exec_queue,
84 TP_PROTO(struct xe_exec_queue *q),
115 DEFINE_EVENT(xe_exec_queue, xe_exec_queue_create,
116 TP_PROTO(struct xe_exec_queue *q),
120 DEFINE_EVENT(xe_exec_queue, xe_exec_queue_supress_resume,
121 TP_PROTO(struct xe_exec_queue *q),
125 DEFINE_EVENT(xe_exec_queue, xe_exec_queue_submit,
126 TP_PROTO(struct xe_exec_queue *q),
130 DEFINE_EVENT(xe_exec_queue, xe_exec_queue_scheduling_enable,
131 TP_PROTO(struct xe_exec_queue *q),
[all …]
Dxe_exec_queue_types.h40 struct xe_exec_queue { struct
154 int (*init)(struct xe_exec_queue *q); argument
156 void (*kill)(struct xe_exec_queue *q);
158 void (*fini)(struct xe_exec_queue *q);
160 int (*set_priority)(struct xe_exec_queue *q,
163 int (*set_timeslice)(struct xe_exec_queue *q, u32 timeslice_us);
165 int (*set_preempt_timeout)(struct xe_exec_queue *q, u32 preempt_timeout_us);
171 int (*suspend)(struct xe_exec_queue *q);
178 int (*suspend_wait)(struct xe_exec_queue *q);
184 void (*resume)(struct xe_exec_queue *q);
[all …]
Dxe_exec_queue.c34 static int exec_queue_user_extensions(struct xe_device *xe, struct xe_exec_queue *q,
37 static void __xe_exec_queue_free(struct xe_exec_queue *q) in __xe_exec_queue_free()
48 static struct xe_exec_queue *__xe_exec_queue_alloc(struct xe_device *xe, in __xe_exec_queue_alloc()
54 struct xe_exec_queue *q; in __xe_exec_queue_alloc()
108 static int __xe_exec_queue_init(struct xe_exec_queue *q) in __xe_exec_queue_init()
145 struct xe_exec_queue *xe_exec_queue_create(struct xe_device *xe, struct xe_vm *vm, in xe_exec_queue_create()
150 struct xe_exec_queue *q; in xe_exec_queue_create()
169 struct xe_exec_queue *xe_exec_queue_create_class(struct xe_device *xe, struct xe_gt *gt, in xe_exec_queue_create_class()
211 struct xe_exec_queue *xe_exec_queue_create_bind(struct xe_device *xe, in xe_exec_queue_create_bind()
216 struct xe_exec_queue *q; in xe_exec_queue_create_bind()
[all …]
Dxe_guc_submit.c47 exec_queue_to_guc(struct xe_exec_queue *q) in exec_queue_to_guc()
70 static bool exec_queue_registered(struct xe_exec_queue *q) in exec_queue_registered()
75 static void set_exec_queue_registered(struct xe_exec_queue *q) in set_exec_queue_registered()
80 static void clear_exec_queue_registered(struct xe_exec_queue *q) in clear_exec_queue_registered()
85 static bool exec_queue_enabled(struct xe_exec_queue *q) in exec_queue_enabled()
90 static void set_exec_queue_enabled(struct xe_exec_queue *q) in set_exec_queue_enabled()
95 static void clear_exec_queue_enabled(struct xe_exec_queue *q) in clear_exec_queue_enabled()
100 static bool exec_queue_pending_enable(struct xe_exec_queue *q) in exec_queue_pending_enable()
105 static void set_exec_queue_pending_enable(struct xe_exec_queue *q) in set_exec_queue_pending_enable()
110 static void clear_exec_queue_pending_enable(struct xe_exec_queue *q) in clear_exec_queue_pending_enable()
[all …]
Dxe_hw_engine_group.h12 struct xe_exec_queue;
17 int xe_hw_engine_group_add_exec_queue(struct xe_hw_engine_group *group, struct xe_exec_queue *q);
18 void xe_hw_engine_group_del_exec_queue(struct xe_hw_engine_group *group, struct xe_exec_queue *q);
26 xe_hw_engine_group_find_exec_mode(struct xe_exec_queue *q);
Dxe_execlist.c309 struct xe_exec_queue *q = job->q; in execlist_run_job()
331 static int execlist_exec_queue_init(struct xe_exec_queue *q) in execlist_exec_queue_init()
382 struct xe_exec_queue *q = ee->q; in execlist_exec_queue_fini_async()
401 static void execlist_exec_queue_kill(struct xe_exec_queue *q) in execlist_exec_queue_kill()
406 static void execlist_exec_queue_fini(struct xe_exec_queue *q) in execlist_exec_queue_fini()
412 static int execlist_exec_queue_set_priority(struct xe_exec_queue *q, in execlist_exec_queue_set_priority()
419 static int execlist_exec_queue_set_timeslice(struct xe_exec_queue *q, u32 timeslice_us) in execlist_exec_queue_set_timeslice()
425 static int execlist_exec_queue_set_preempt_timeout(struct xe_exec_queue *q, in execlist_exec_queue_set_preempt_timeout()
432 static int execlist_exec_queue_suspend(struct xe_exec_queue *q) in execlist_exec_queue_suspend()
438 static int execlist_exec_queue_suspend_wait(struct xe_exec_queue *q) in execlist_exec_queue_suspend_wait()
[all …]
Dxe_bb.h14 struct xe_exec_queue;
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_preempt_fence.c18 struct xe_exec_queue *q = pfence->q; in preempt_fence_work_func()
63 struct xe_exec_queue *q = pfence->q; in preempt_fence_enable_signaling()
132 xe_preempt_fence_arm(struct xe_preempt_fence *pfence, struct xe_exec_queue *q, in xe_preempt_fence_arm()
158 xe_preempt_fence_create(struct xe_exec_queue *q, in xe_preempt_fence_create()
Dxe_hw_engine_group.c27 struct xe_exec_queue *q; in hw_engine_group_resume_lr_jobs_func()
147 int xe_hw_engine_group_add_exec_queue(struct xe_hw_engine_group *group, struct xe_exec_queue *q) in xe_hw_engine_group_add_exec_queue()
187 void xe_hw_engine_group_del_exec_queue(struct xe_hw_engine_group *group, struct xe_exec_queue *q) in xe_hw_engine_group_del_exec_queue()
221 struct xe_exec_queue *q; in xe_hw_engine_group_suspend_faulting_lr_jobs()
266 struct xe_exec_queue *q; in xe_hw_engine_group_wait_for_dma_fence_jobs()
366 xe_hw_engine_group_find_exec_mode(struct xe_exec_queue *q) in xe_hw_engine_group_find_exec_mode()
Dxe_preempt_fence_types.h12 struct xe_exec_queue;
25 struct xe_exec_queue *q;
Dxe_sched_job.c63 bool xe_sched_job_is_migration(struct xe_exec_queue *q) in xe_sched_job_is_migration()
70 struct xe_exec_queue *q = job->q; in job_free()
96 struct xe_sched_job *xe_sched_job_create(struct xe_exec_queue *q, in xe_sched_job_create()
173 struct xe_exec_queue *q = job->q; in xe_sched_job_destroy()
242 struct xe_exec_queue *q = job->q; in xe_sched_job_arm()
331 struct xe_exec_queue *q = job->q; in xe_sched_job_snapshot_capture()
Dxe_guc_exec_queue_types.h15 struct xe_exec_queue;
22 struct xe_exec_queue *q;
Dxe_sched_job_types.h13 struct xe_exec_queue;
36 struct xe_exec_queue *q;
Dxe_gsc_types.h18 struct xe_exec_queue;
35 struct xe_exec_queue *q;
Dxe_bb.c64 __xe_bb_create_job(struct xe_exec_queue *q, struct xe_bb *bb, u64 *addr) in __xe_bb_create_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_preempt_fence.h14 xe_preempt_fence_create(struct xe_exec_queue *q,
22 xe_preempt_fence_arm(struct xe_preempt_fence *pfence, struct xe_exec_queue *q,
Dxe_sync.h12 struct xe_exec_queue;
32 struct xe_exec_queue *q, struct xe_vm *vm);
Dxe_guc_submit.h12 struct xe_exec_queue;
31 xe_guc_exec_queue_snapshot_capture(struct xe_exec_queue *q);
Dxe_migrate.h17 struct xe_exec_queue;
122 struct xe_exec_queue *xe_tile_migrate_exec_queue(struct xe_tile *tile);
Dxe_sched_job.h21 struct xe_sched_job *xe_sched_job_create(struct xe_exec_queue *q,
87 bool xe_sched_job_is_migration(struct xe_exec_queue *q);
Dxe_oa_types.h198 struct xe_exec_queue *exec_q;
201 struct xe_exec_queue *k_exec_q;
Dxe_vm.h22 struct xe_exec_queue;
202 int xe_vm_add_compute_exec_queue(struct xe_vm *vm, struct xe_exec_queue *q);
203 void xe_vm_remove_compute_exec_queue(struct xe_vm *vm, struct xe_exec_queue *q);
Dxe_lrc.h15 struct xe_exec_queue;
91 void xe_lrc_emit_hwe_state_instructions(struct xe_exec_queue *q, struct xe_bb *bb);
Dxe_vm_types.h145 struct xe_exec_queue *q[XE_MAX_TILES_PER_DEVICE];
365 struct xe_exec_queue *q;

12