Lines Matching refs:intel_context

22 	const struct intel_context *ce__ = (ce);			\
32 void intel_context_init(struct intel_context *ce,
34 void intel_context_fini(struct intel_context *ce);
39 struct intel_context *
42 int intel_context_alloc_state(struct intel_context *ce);
44 void intel_context_free(struct intel_context *ce);
46 int intel_context_reconfigure_sseu(struct intel_context *ce,
51 static inline bool intel_context_is_child(struct intel_context *ce) in intel_context_is_child()
56 static inline bool intel_context_is_parent(struct intel_context *ce) in intel_context_is_parent()
61 static inline bool intel_context_is_pinned(struct intel_context *ce);
63 static inline struct intel_context *
64 intel_context_to_parent(struct intel_context *ce) in intel_context_to_parent()
82 static inline bool intel_context_is_parallel(struct intel_context *ce) in intel_context_is_parallel()
87 void intel_context_bind_parent_child(struct intel_context *parent,
88 struct intel_context *child);
105 static inline int intel_context_lock_pinned(struct intel_context *ce) in intel_context_lock_pinned()
121 intel_context_is_pinned(struct intel_context *ce) in intel_context_is_pinned()
126 static inline void intel_context_cancel_request(struct intel_context *ce, in intel_context_cancel_request()
139 static inline void intel_context_unlock_pinned(struct intel_context *ce) in intel_context_unlock_pinned()
145 int __intel_context_do_pin(struct intel_context *ce);
146 int __intel_context_do_pin_ww(struct intel_context *ce,
149 static inline bool intel_context_pin_if_active(struct intel_context *ce) in intel_context_pin_if_active()
154 static inline int intel_context_pin(struct intel_context *ce) in intel_context_pin()
162 static inline int intel_context_pin_ww(struct intel_context *ce, in intel_context_pin_ww()
171 static inline void __intel_context_pin(struct intel_context *ce) in __intel_context_pin()
177 void __intel_context_do_unpin(struct intel_context *ce, int sub);
179 static inline void intel_context_sched_disable_unpin(struct intel_context *ce) in intel_context_sched_disable_unpin()
184 static inline void intel_context_unpin(struct intel_context *ce) in intel_context_unpin()
204 void intel_context_enter_engine(struct intel_context *ce);
205 void intel_context_exit_engine(struct intel_context *ce);
207 static inline void intel_context_enter(struct intel_context *ce) in intel_context_enter()
214 static inline void intel_context_mark_active(struct intel_context *ce) in intel_context_mark_active()
221 static inline void intel_context_exit(struct intel_context *ce) in intel_context_exit()
229 static inline struct intel_context *intel_context_get(struct intel_context *ce) in intel_context_get()
235 static inline void intel_context_put(struct intel_context *ce) in intel_context_put()
241 intel_context_timeline_lock(struct intel_context *ce) in intel_context_timeline_lock()
266 int intel_context_prepare_remote_request(struct intel_context *ce,
269 struct i915_request *intel_context_create_request(struct intel_context *ce);
272 intel_context_find_active_request(struct intel_context *ce);
274 static inline bool intel_context_is_barrier(const struct intel_context *ce) in intel_context_is_barrier()
279 static inline bool intel_context_is_closed(const struct intel_context *ce) in intel_context_is_closed()
284 static inline bool intel_context_has_inflight(const struct intel_context *ce) in intel_context_has_inflight()
289 static inline bool intel_context_use_semaphores(const struct intel_context *ce) in intel_context_use_semaphores()
294 static inline void intel_context_set_use_semaphores(struct intel_context *ce) in intel_context_set_use_semaphores()
299 static inline void intel_context_clear_use_semaphores(struct intel_context *ce) in intel_context_clear_use_semaphores()
304 static inline bool intel_context_is_banned(const struct intel_context *ce) in intel_context_is_banned()
309 static inline bool intel_context_set_banned(struct intel_context *ce) in intel_context_set_banned()
314 bool intel_context_ban(struct intel_context *ce, struct i915_request *rq);
316 static inline bool intel_context_is_schedulable(const struct intel_context *ce) in intel_context_is_schedulable()
322 static inline bool intel_context_is_exiting(const struct intel_context *ce) in intel_context_is_exiting()
327 static inline bool intel_context_set_exiting(struct intel_context *ce) in intel_context_set_exiting()
332 bool intel_context_revoke(struct intel_context *ce);
335 intel_context_force_single_submission(const struct intel_context *ce) in intel_context_force_single_submission()
341 intel_context_set_single_submission(struct intel_context *ce) in intel_context_set_single_submission()
347 intel_context_nopreempt(const struct intel_context *ce) in intel_context_nopreempt()
353 intel_context_set_nopreempt(struct intel_context *ce) in intel_context_set_nopreempt()
359 intel_context_clear_nopreempt(struct intel_context *ce) in intel_context_clear_nopreempt()
364 u64 intel_context_get_total_runtime_ns(const struct intel_context *ce);
365 u64 intel_context_get_avg_runtime_ns(struct intel_context *ce);