Lines Matching refs:xe_exec_queue

47 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()
115 static bool exec_queue_pending_disable(struct xe_exec_queue *q) in exec_queue_pending_disable()
120 static void set_exec_queue_pending_disable(struct xe_exec_queue *q) in set_exec_queue_pending_disable()
125 static void clear_exec_queue_pending_disable(struct xe_exec_queue *q) in clear_exec_queue_pending_disable()
130 static bool exec_queue_destroyed(struct xe_exec_queue *q) in exec_queue_destroyed()
135 static void set_exec_queue_destroyed(struct xe_exec_queue *q) in set_exec_queue_destroyed()
140 static bool exec_queue_banned(struct xe_exec_queue *q) in exec_queue_banned()
145 static void set_exec_queue_banned(struct xe_exec_queue *q) in set_exec_queue_banned()
150 static bool exec_queue_suspended(struct xe_exec_queue *q) in exec_queue_suspended()
155 static void set_exec_queue_suspended(struct xe_exec_queue *q) in set_exec_queue_suspended()
160 static void clear_exec_queue_suspended(struct xe_exec_queue *q) in clear_exec_queue_suspended()
165 static bool exec_queue_reset(struct xe_exec_queue *q) in exec_queue_reset()
170 static void set_exec_queue_reset(struct xe_exec_queue *q) in set_exec_queue_reset()
175 static bool exec_queue_killed(struct xe_exec_queue *q) in exec_queue_killed()
180 static void set_exec_queue_killed(struct xe_exec_queue *q) in set_exec_queue_killed()
185 static bool exec_queue_wedged(struct xe_exec_queue *q) in exec_queue_wedged()
190 static void set_exec_queue_wedged(struct xe_exec_queue *q) in set_exec_queue_wedged()
195 static bool exec_queue_check_timeout(struct xe_exec_queue *q) in exec_queue_check_timeout()
200 static void set_exec_queue_check_timeout(struct xe_exec_queue *q) in set_exec_queue_check_timeout()
205 static void clear_exec_queue_check_timeout(struct xe_exec_queue *q) in clear_exec_queue_check_timeout()
210 static bool exec_queue_extra_ref(struct xe_exec_queue *q) in exec_queue_extra_ref()
215 static void set_exec_queue_extra_ref(struct xe_exec_queue *q) in set_exec_queue_extra_ref()
220 static bool exec_queue_killed_or_banned_or_wedged(struct xe_exec_queue *q) in exec_queue_killed_or_banned_or_wedged()
237 struct xe_exec_queue *q; in guc_submit_wedged_fini()
304 static void __release_guc_id(struct xe_guc *guc, struct xe_exec_queue *q, u32 xa_count) in __release_guc_id()
320 static int alloc_guc_id(struct xe_guc *guc, struct xe_exec_queue *q) in alloc_guc_id()
356 static void release_guc_id(struct xe_guc *guc, struct xe_exec_queue *q) in release_guc_id()
411 static void init_policies(struct xe_guc *guc, struct xe_exec_queue *q) in init_policies()
430 static void set_min_preemption_timeout(struct xe_guc *guc, struct xe_exec_queue *q) in set_min_preemption_timeout()
449 struct xe_exec_queue *q, in __register_mlrc_exec_queue()
508 static void register_exec_queue(struct xe_exec_queue *q) in register_exec_queue()
562 static u32 wq_space_until_wrap(struct xe_exec_queue *q) in wq_space_until_wrap()
567 static int wq_wait_for_space(struct xe_exec_queue *q, u32 wqi_size) in wq_wait_for_space()
595 static int wq_noop_append(struct xe_exec_queue *q) in wq_noop_append()
615 static void wq_item_append(struct xe_exec_queue *q) in wq_item_append()
660 static void submit_exec_queue(struct xe_exec_queue *q) in submit_exec_queue()
716 struct xe_exec_queue *q = job->q; in guc_exec_queue_run_job()
765 struct xe_exec_queue *q) in disable_scheduling_deregister()
799 static void xe_guc_exec_queue_trigger_cleanup(struct xe_exec_queue *q) in xe_guc_exec_queue_trigger_cleanup()
823 struct xe_exec_queue *q; in xe_guc_submit_wedge()
862 struct xe_exec_queue *q = ge->q; in xe_guc_exec_queue_lr_cleanup()
914 static bool check_timeout(struct xe_exec_queue *q, struct xe_sched_job *job) in check_timeout()
958 static void enable_scheduling(struct xe_exec_queue *q) in enable_scheduling()
987 static void disable_scheduling(struct xe_exec_queue *q, bool immediate) in disable_scheduling()
1006 static void __deregister_exec_queue(struct xe_guc *guc, struct xe_exec_queue *q) in __deregister_exec_queue()
1030 struct xe_exec_queue *q = job->q; in guc_exec_queue_timedout_job()
1210 struct xe_exec_queue *q = ge->q; in __guc_exec_queue_fini_async()
1227 static void guc_exec_queue_fini_async(struct xe_exec_queue *q) in guc_exec_queue_fini_async()
1241 static void __guc_exec_queue_fini(struct xe_guc *guc, struct xe_exec_queue *q) in __guc_exec_queue_fini()
1255 struct xe_exec_queue *q = msg->private_data; in __guc_exec_queue_process_msg_cleanup()
1268 static bool guc_exec_queue_allowed_to_change_state(struct xe_exec_queue *q) in guc_exec_queue_allowed_to_change_state()
1275 struct xe_exec_queue *q = msg->private_data; in __guc_exec_queue_process_msg_set_sched_props()
1283 static void __suspend_fence_signal(struct xe_exec_queue *q) in __suspend_fence_signal()
1292 static void suspend_fence_signal(struct xe_exec_queue *q) in suspend_fence_signal()
1306 struct xe_exec_queue *q = msg->private_data; in __guc_exec_queue_process_msg_suspend()
1335 struct xe_exec_queue *q = msg->private_data; in __guc_exec_queue_process_msg_resume()
1391 static int guc_exec_queue_init(struct xe_exec_queue *q) in guc_exec_queue_init()
1460 static void guc_exec_queue_kill(struct xe_exec_queue *q) in guc_exec_queue_kill()
1468 static void guc_exec_queue_add_msg(struct xe_exec_queue *q, struct xe_sched_msg *msg, in guc_exec_queue_add_msg()
1484 static bool guc_exec_queue_try_add_msg(struct xe_exec_queue *q, in guc_exec_queue_try_add_msg()
1499 static void guc_exec_queue_fini(struct xe_exec_queue *q) in guc_exec_queue_fini()
1509 static int guc_exec_queue_set_priority(struct xe_exec_queue *q, in guc_exec_queue_set_priority()
1528 static int guc_exec_queue_set_timeslice(struct xe_exec_queue *q, u32 timeslice_us) in guc_exec_queue_set_timeslice()
1546 static int guc_exec_queue_set_preempt_timeout(struct xe_exec_queue *q, in guc_exec_queue_set_preempt_timeout()
1565 static int guc_exec_queue_suspend(struct xe_exec_queue *q) in guc_exec_queue_suspend()
1581 static int guc_exec_queue_suspend_wait(struct xe_exec_queue *q) in guc_exec_queue_suspend_wait()
1608 static void guc_exec_queue_resume(struct xe_exec_queue *q) in guc_exec_queue_resume()
1622 static bool guc_exec_queue_reset_status(struct xe_exec_queue *q) in guc_exec_queue_reset_status()
1646 static void guc_exec_queue_stop(struct xe_guc *guc, struct xe_exec_queue *q) in guc_exec_queue_stop()
1725 struct xe_exec_queue *q; in xe_guc_submit_stop()
1750 static void guc_exec_queue_start(struct xe_exec_queue *q) in guc_exec_queue_start()
1769 struct xe_exec_queue *q; in xe_guc_submit_start()
1791 static struct xe_exec_queue *
1795 struct xe_exec_queue *q; in g2h_exec_queue_lookup()
1814 static void deregister_exec_queue(struct xe_guc *guc, struct xe_exec_queue *q) in deregister_exec_queue()
1831 static void handle_sched_done(struct xe_guc *guc, struct xe_exec_queue *q, in handle_sched_done()
1866 struct xe_exec_queue *q; in xe_guc_sched_done_handler()
1893 static void handle_deregister_done(struct xe_guc *guc, struct xe_exec_queue *q) in handle_deregister_done()
1908 struct xe_exec_queue *q; in xe_guc_deregister_done_handler()
1937 struct xe_exec_queue *q; in xe_guc_exec_queue_reset_handler()
1974 struct xe_exec_queue *q; in xe_guc_exec_queue_memory_cat_error_handler()
2024 guc_exec_queue_wq_snapshot_capture(struct xe_exec_queue *q, in guc_exec_queue_wq_snapshot_capture()
2082 xe_guc_exec_queue_snapshot_capture(struct xe_exec_queue *q) in xe_guc_exec_queue_snapshot_capture()
2236 static void guc_exec_queue_print(struct xe_exec_queue *q, struct drm_printer *p) in guc_exec_queue_print()
2254 struct xe_exec_queue *q; in xe_guc_submit_print()