Lines Matching refs:intel_context
22 const struct intel_context *ce__ = (ce); \
30 void intel_context_init(struct intel_context *ce,
32 void intel_context_fini(struct intel_context *ce);
37 struct intel_context *
40 int intel_context_alloc_state(struct intel_context *ce);
42 void intel_context_free(struct intel_context *ce);
44 int intel_context_reconfigure_sseu(struct intel_context *ce,
49 static inline bool intel_context_is_child(struct intel_context *ce) in intel_context_is_child()
54 static inline bool intel_context_is_parent(struct intel_context *ce) in intel_context_is_parent()
59 static inline bool intel_context_is_pinned(struct intel_context *ce);
61 static inline struct intel_context *
62 intel_context_to_parent(struct intel_context *ce) in intel_context_to_parent()
80 static inline bool intel_context_is_parallel(struct intel_context *ce) in intel_context_is_parallel()
85 void intel_context_bind_parent_child(struct intel_context *parent,
86 struct intel_context *child);
103 static inline int intel_context_lock_pinned(struct intel_context *ce) in intel_context_lock_pinned()
119 intel_context_is_pinned(struct intel_context *ce) in intel_context_is_pinned()
124 static inline void intel_context_cancel_request(struct intel_context *ce, in intel_context_cancel_request()
137 static inline void intel_context_unlock_pinned(struct intel_context *ce) in intel_context_unlock_pinned()
143 int __intel_context_do_pin(struct intel_context *ce);
144 int __intel_context_do_pin_ww(struct intel_context *ce,
147 static inline bool intel_context_pin_if_active(struct intel_context *ce) in intel_context_pin_if_active()
152 static inline int intel_context_pin(struct intel_context *ce) in intel_context_pin()
160 static inline int intel_context_pin_ww(struct intel_context *ce, in intel_context_pin_ww()
169 static inline void __intel_context_pin(struct intel_context *ce) in __intel_context_pin()
175 void __intel_context_do_unpin(struct intel_context *ce, int sub);
177 static inline void intel_context_sched_disable_unpin(struct intel_context *ce) in intel_context_sched_disable_unpin()
182 static inline void intel_context_unpin(struct intel_context *ce) in intel_context_unpin()
202 void intel_context_enter_engine(struct intel_context *ce);
203 void intel_context_exit_engine(struct intel_context *ce);
205 static inline void intel_context_enter(struct intel_context *ce) in intel_context_enter()
212 static inline void intel_context_mark_active(struct intel_context *ce) in intel_context_mark_active()
218 static inline void intel_context_exit(struct intel_context *ce) in intel_context_exit()
226 static inline struct intel_context *intel_context_get(struct intel_context *ce) in intel_context_get()
232 static inline void intel_context_put(struct intel_context *ce) in intel_context_put()
238 intel_context_timeline_lock(struct intel_context *ce) in intel_context_timeline_lock()
263 int intel_context_prepare_remote_request(struct intel_context *ce,
266 struct i915_request *intel_context_create_request(struct intel_context *ce);
269 intel_context_find_active_request(struct intel_context *ce);
271 static inline bool intel_context_is_barrier(const struct intel_context *ce) in intel_context_is_barrier()
276 static inline bool intel_context_is_closed(const struct intel_context *ce) in intel_context_is_closed()
281 static inline bool intel_context_has_inflight(const struct intel_context *ce) in intel_context_has_inflight()
286 static inline bool intel_context_use_semaphores(const struct intel_context *ce) in intel_context_use_semaphores()
291 static inline void intel_context_set_use_semaphores(struct intel_context *ce) in intel_context_set_use_semaphores()
296 static inline void intel_context_clear_use_semaphores(struct intel_context *ce) in intel_context_clear_use_semaphores()
301 static inline bool intel_context_is_banned(const struct intel_context *ce) in intel_context_is_banned()
306 static inline bool intel_context_set_banned(struct intel_context *ce) in intel_context_set_banned()
311 static inline bool intel_context_ban(struct intel_context *ce, in intel_context_ban()
324 intel_context_force_single_submission(const struct intel_context *ce) in intel_context_force_single_submission()
330 intel_context_set_single_submission(struct intel_context *ce) in intel_context_set_single_submission()
336 intel_context_nopreempt(const struct intel_context *ce) in intel_context_nopreempt()
342 intel_context_set_nopreempt(struct intel_context *ce) in intel_context_set_nopreempt()
348 intel_context_clear_nopreempt(struct intel_context *ce) in intel_context_clear_nopreempt()
353 static inline u64 intel_context_get_total_runtime_ns(struct intel_context *ce) in intel_context_get_total_runtime_ns()
360 static inline u64 intel_context_get_avg_runtime_ns(struct intel_context *ce) in intel_context_get_avg_runtime_ns()