Lines Matching defs:ce
180 static inline void init_sched_state(struct intel_context *ce) in init_sched_state()
197 static bool sched_state_is_init(struct intel_context *ce) in sched_state_is_init()
203 context_wait_for_deregister_to_register(struct intel_context *ce) in context_wait_for_deregister_to_register()
210 set_context_wait_for_deregister_to_register(struct intel_context *ce) in set_context_wait_for_deregister_to_register()
218 clr_context_wait_for_deregister_to_register(struct intel_context *ce) in clr_context_wait_for_deregister_to_register()
226 context_destroyed(struct intel_context *ce) in context_destroyed()
232 set_context_destroyed(struct intel_context *ce) in set_context_destroyed()
238 static inline bool context_pending_disable(struct intel_context *ce) in context_pending_disable()
243 static inline void set_context_pending_disable(struct intel_context *ce) in set_context_pending_disable()
249 static inline void clr_context_pending_disable(struct intel_context *ce) in clr_context_pending_disable()
255 static inline bool context_banned(struct intel_context *ce) in context_banned()
260 static inline void set_context_banned(struct intel_context *ce) in set_context_banned()
266 static inline void clr_context_banned(struct intel_context *ce) in clr_context_banned()
272 static inline bool context_enabled(struct intel_context *ce) in context_enabled()
277 static inline void set_context_enabled(struct intel_context *ce) in set_context_enabled()
283 static inline void clr_context_enabled(struct intel_context *ce) in clr_context_enabled()
289 static inline bool context_pending_enable(struct intel_context *ce) in context_pending_enable()
294 static inline void set_context_pending_enable(struct intel_context *ce) in set_context_pending_enable()
300 static inline void clr_context_pending_enable(struct intel_context *ce) in clr_context_pending_enable()
306 static inline bool context_registered(struct intel_context *ce) in context_registered()
311 static inline void set_context_registered(struct intel_context *ce) in set_context_registered()
317 static inline void clr_context_registered(struct intel_context *ce) in clr_context_registered()
323 static inline bool context_policy_required(struct intel_context *ce) in context_policy_required()
328 static inline void set_context_policy_required(struct intel_context *ce) in set_context_policy_required()
334 static inline void clr_context_policy_required(struct intel_context *ce) in clr_context_policy_required()
340 static inline bool context_close_done(struct intel_context *ce) in context_close_done()
345 static inline void set_context_close_done(struct intel_context *ce) in set_context_close_done()
351 static inline u32 context_blocked(struct intel_context *ce) in context_blocked()
357 static inline void incr_context_blocked(struct intel_context *ce) in incr_context_blocked()
366 static inline void decr_context_blocked(struct intel_context *ce) in decr_context_blocked()
381 static inline bool context_guc_id_invalid(struct intel_context *ce) in context_guc_id_invalid()
386 static inline void set_context_guc_id_invalid(struct intel_context *ce) in set_context_guc_id_invalid()
391 static inline struct intel_guc *ce_to_guc(struct intel_context *ce) in ce_to_guc()
441 static u32 __get_parent_scratch_offset(struct intel_context *ce) in __get_parent_scratch_offset()
448 static u32 __get_wq_offset(struct intel_context *ce) in __get_wq_offset()
456 __get_parent_scratch(struct intel_context *ce) in __get_parent_scratch()
473 __get_process_desc_v69(struct intel_context *ce) in __get_process_desc_v69()
481 __get_wq_desc_v70(struct intel_context *ce) in __get_wq_desc_v70()
488 static u32 *get_wq_pointer(struct intel_context *ce, u32 wqi_size) in get_wq_pointer()
510 struct intel_context *ce = xa_load(&guc->context_lookup, id); in __get_context() local
572 struct intel_context *ce) in set_ctx_id_mapping()
685 struct intel_context *ce = request_to_scheduling_context(rq); in __guc_add_request() local
800 static u32 wq_space_until_wrap(struct intel_context *ce) in wq_space_until_wrap()
805 static void write_wqi(struct intel_context *ce, u32 wqi_size) in write_wqi()
819 static int guc_wq_noop_append(struct intel_context *ce) in guc_wq_noop_append()
838 struct intel_context *ce = request_to_scheduling_context(rq); in __guc_wq_item_append() local
882 struct intel_context *ce = request_to_scheduling_context(rq); in guc_wq_item_append() local
899 struct intel_context *ce = request_to_scheduling_context(rq); in multi_lrc_submit() local
976 struct intel_context *ce = request_to_scheduling_context(last); in guc_dequeue_one_context() local
1065 struct intel_context *ce; in scrub_guc_desc_for_outstanding_g2h() local
1405 static void __guc_context_update_stats(struct intel_context *ce) in __guc_context_update_stats()
1415 static void guc_context_update_stats(struct intel_context *ce) in guc_context_update_stats()
1430 struct intel_context *ce; in guc_timestamp_ping() local
1653 __context_to_physical_engine(struct intel_context *ce) in __context_to_physical_engine()
1663 static void guc_reset_state(struct intel_context *ce, u32 head, bool scrub) in guc_reset_state()
1710 __unwind_incomplete_requests(struct intel_context *ce) in __unwind_incomplete_requests()
1745 static void __guc_reset_context(struct intel_context *ce, intel_engine_mask_t stalled) in __guc_reset_context()
1803 struct intel_context *ce; in intel_guc_submission_reset() local
1833 static void guc_cancel_context_requests(struct intel_context *ce) in guc_cancel_context_requests()
1901 struct intel_context *ce; in intel_guc_submission_cancel_requests() local
2042 struct intel_context *ce = request_to_scheduling_context(rq); in need_tasklet() local
2066 static int new_guc_id(struct intel_guc *guc, struct intel_context *ce) in new_guc_id()
2093 static void __release_guc_id(struct intel_guc *guc, struct intel_context *ce) in __release_guc_id()
2115 static void release_guc_id(struct intel_guc *guc, struct intel_context *ce) in release_guc_id()
2124 static int steal_guc_id(struct intel_guc *guc, struct intel_context *ce) in steal_guc_id()
2161 static int assign_guc_id(struct intel_guc *guc, struct intel_context *ce) in assign_guc_id()
2190 static int pin_guc_id(struct intel_guc *guc, struct intel_context *ce) in pin_guc_id()
2240 static void unpin_guc_id(struct intel_guc *guc, struct intel_context *ce) in unpin_guc_id()
2260 struct intel_context *ce, in __guc_action_register_multi_lrc_v69()
2284 struct intel_context *ce, in __guc_action_register_multi_lrc_v70()
2369 register_context_v69(struct intel_guc *guc, struct intel_context *ce, bool loop) in register_context_v69()
2385 register_context_v70(struct intel_guc *guc, struct intel_context *ce, bool loop) in register_context_v70()
2397 static int register_context(struct intel_context *ce, bool loop) in register_context()
2437 static int deregister_context(struct intel_context *ce, u32 guc_id) in deregister_context()
2447 static inline void clear_children_join_go_memory(struct intel_context *ce) in clear_children_join_go_memory()
2457 static inline u32 get_children_go_value(struct intel_context *ce) in get_children_go_value()
2462 static inline u32 get_children_join_value(struct intel_context *ce, in get_children_join_value()
2515 static int guc_context_policy_init_v70(struct intel_context *ce, bool loop) in guc_context_policy_init_v70()
2591 static void prepare_context_registration_info_v69(struct intel_context *ce) in prepare_context_registration_info_v69()
2659 static void prepare_context_registration_info_v70(struct intel_context *ce, in prepare_context_registration_info_v70()
2722 static int try_context_registration(struct intel_context *ce, bool loop) in try_context_registration()
2789 static int __guc_context_pre_pin(struct intel_context *ce, in __guc_context_pre_pin()
2797 static int __guc_context_pin(struct intel_context *ce, in __guc_context_pin()
2813 static int guc_context_pre_pin(struct intel_context *ce, in guc_context_pre_pin()
2820 static int guc_context_pin(struct intel_context *ce, void *vaddr) in guc_context_pin()
2830 static void guc_context_unpin(struct intel_context *ce) in guc_context_unpin()
2842 static void guc_context_post_unpin(struct intel_context *ce) in guc_context_post_unpin()
2848 struct intel_context *ce) in __guc_context_sched_enable()
2863 struct intel_context *ce, in __guc_context_sched_disable()
2881 static void guc_blocked_fence_complete(struct intel_context *ce) in guc_blocked_fence_complete()
2889 static void guc_blocked_fence_reinit(struct intel_context *ce) in guc_blocked_fence_reinit()
2905 static u16 prep_context_pending_disable(struct intel_context *ce) in prep_context_pending_disable()
2917 static struct i915_sw_fence *guc_context_block(struct intel_context *ce) in guc_context_block()
2963 static bool context_cant_unblock(struct intel_context *ce) in context_cant_unblock()
2973 static void guc_context_unblock(struct intel_context *ce) in guc_context_unblock()
3006 static void guc_context_cancel_request(struct intel_context *ce, in guc_context_cancel_request()
3051 guc_context_revoke(struct intel_context *ce, struct i915_request *rq, in guc_context_revoke()
3105 static void do_sched_disable(struct intel_guc *guc, struct intel_context *ce, in do_sched_disable()
3123 struct intel_context *ce) in bypass_sched_disable()
3139 struct intel_context *ce = in __delay_sched_disable() local
3154 static bool guc_id_pressure(struct intel_guc *guc, struct intel_context *ce) in guc_id_pressure()
3170 static void guc_context_sched_disable(struct intel_context *ce) in guc_context_sched_disable()
3192 static void guc_context_close(struct intel_context *ce) in guc_context_close()
3205 static inline void guc_lrc_desc_unpin(struct intel_context *ce) in guc_lrc_desc_unpin()
3235 static void __guc_context_destroy(struct intel_context *ce) in __guc_context_destroy()
3260 struct intel_context *ce; in guc_flush_destroyed_contexts() local
3285 struct intel_context *ce; in deregister_destroyed_contexts() local
3317 struct intel_context *ce = container_of(kref, typeof(*ce), ref); in guc_context_destroy() local
3352 static int guc_context_alloc(struct intel_context *ce) in guc_context_alloc()
3358 struct intel_context *ce) in __guc_context_set_prio()
3378 struct intel_context *ce, in guc_context_set_prio()
3409 static inline void add_context_inflight_prio(struct intel_context *ce, in add_context_inflight_prio()
3421 static inline void sub_context_inflight_prio(struct intel_context *ce, in sub_context_inflight_prio()
3433 static inline void update_context_prio(struct intel_context *ce) in update_context_prio()
3459 struct intel_context *ce = request_to_scheduling_context(rq); in add_to_context() local
3481 static void guc_prio_fini(struct i915_request *rq, struct intel_context *ce) in guc_prio_fini()
3495 struct intel_context *ce = request_to_scheduling_context(rq); in remove_from_context() local
3552 static void __guc_signal_context_fence(struct intel_context *ce) in __guc_signal_context_fence()
3574 static void guc_signal_context_fence(struct intel_context *ce) in guc_signal_context_fence()
3586 static bool context_needs_register(struct intel_context *ce, bool new_guc_id) in context_needs_register()
3593 static void guc_context_init(struct intel_context *ce) in guc_context_init()
3614 struct intel_context *ce = request_to_scheduling_context(rq); in guc_request_alloc() local
3724 static int guc_virtual_context_pre_pin(struct intel_context *ce, in guc_virtual_context_pre_pin()
3733 static int guc_virtual_context_pin(struct intel_context *ce, void *vaddr) in guc_virtual_context_pin()
3746 static void guc_virtual_context_unpin(struct intel_context *ce) in guc_virtual_context_unpin()
3762 static void guc_virtual_context_enter(struct intel_context *ce) in guc_virtual_context_enter()
3773 static void guc_virtual_context_exit(struct intel_context *ce) in guc_virtual_context_exit()
3784 static int guc_virtual_context_alloc(struct intel_context *ce) in guc_virtual_context_alloc()
3817 static int guc_parent_context_pin(struct intel_context *ce, void *vaddr) in guc_parent_context_pin()
3833 static int guc_child_context_pin(struct intel_context *ce, void *vaddr) in guc_child_context_pin()
3844 static void guc_parent_context_unpin(struct intel_context *ce) in guc_parent_context_unpin()
3857 static void guc_child_context_unpin(struct intel_context *ce) in guc_child_context_unpin()
3867 static void guc_child_context_post_unpin(struct intel_context *ce) in guc_child_context_post_unpin()
3879 struct intel_context *ce = container_of(kref, typeof(*ce), ref); in guc_child_context_destroy() local
3957 struct intel_context *parent = NULL, *ce, *err; in guc_create_parallel() local
4071 struct intel_context *ce = request_to_scheduling_context(rq); in guc_bump_inflight_request_prio() local
4094 struct intel_context *ce = request_to_scheduling_context(rq); in guc_retire_inflight_request_prio() local
4183 struct intel_context *ce) in guc_kernel_context_pin()
4235 struct intel_context *ce; in guc_init_submission() local
4608 struct intel_context *ce; in g2h_context_lookup() local
4633 struct intel_context *ce; in intel_guc_deregister_done_process_msg() local
4684 struct intel_context *ce; in intel_guc_sched_done_process_msg() local
4759 struct intel_context *ce) in capture_error_state()
4797 static void guc_context_replay(struct intel_context *ce) in guc_context_replay()
4806 struct intel_context *ce) in guc_handle_context_reset()
4827 struct intel_context *ce; in intel_guc_context_reset_process_msg() local
4969 struct intel_context *ce; in intel_guc_find_hung_context() local
5031 struct intel_context *ce; in intel_guc_dump_active_requests() local
5103 struct intel_context *ce) in guc_log_context_priority()
5118 struct intel_context *ce) in guc_log_context()
5139 struct intel_context *ce; in intel_guc_submission_print_context_info() local
5183 static inline u32 get_children_go_addr(struct intel_context *ce) in get_children_go_addr()
5192 static inline u32 get_children_join_addr(struct intel_context *ce, in get_children_join_addr()
5210 struct intel_context *ce = rq->context; in emit_bb_start_parent_no_preempt_mid_batch() local
5257 struct intel_context *ce = rq->context; in emit_bb_start_child_no_preempt_mid_batch() local
5301 struct intel_context *ce = rq->context; in __emit_fini_breadcrumb_parent_no_preempt_mid_batch() local
5351 struct intel_context *ce = rq->context; in emit_fini_breadcrumb_parent_no_preempt_mid_batch() local
5395 struct intel_context *ce = rq->context; in __emit_fini_breadcrumb_child_no_preempt_mid_batch() local
5427 struct intel_context *ce = rq->context; in emit_fini_breadcrumb_child_no_preempt_mid_batch() local