Home
last modified time | relevance | path

Searched refs:intel_context (Results 1 – 25 of 87) sorted by relevance

1234

/linux-6.1.9/drivers/gpu/drm/i915/gt/
Dintel_context.h22 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);
[all …]
Dintel_lrc.h36 int lrc_alloc(struct intel_context *ce,
38 void lrc_reset(struct intel_context *ce);
39 void lrc_fini(struct intel_context *ce);
43 lrc_pre_pin(struct intel_context *ce,
48 lrc_pin(struct intel_context *ce,
51 void lrc_unpin(struct intel_context *ce);
52 void lrc_post_unpin(struct intel_context *ce);
54 void lrc_init_state(struct intel_context *ce,
58 void lrc_init_regs(const struct intel_context *ce,
61 void lrc_reset_regs(const struct intel_context *ce,
[all …]
Dintel_context_types.h30 struct intel_context;
41 int (*alloc)(struct intel_context *ce);
43 void (*revoke)(struct intel_context *ce, struct i915_request *rq,
46 int (*pre_pin)(struct intel_context *ce, struct i915_gem_ww_ctx *ww, void **vaddr);
47 int (*pin)(struct intel_context *ce, void *vaddr);
48 void (*unpin)(struct intel_context *ce);
49 void (*post_unpin)(struct intel_context *ce);
51 void (*cancel_request)(struct intel_context *ce,
54 void (*enter)(struct intel_context *ce);
55 void (*exit)(struct intel_context *ce);
[all …]
Dintel_context.c19 static struct intel_context *intel_context_alloc(void) in intel_context_alloc()
26 struct intel_context *ce = container_of(rcu, typeof(*ce), rcu); in rcu_context_free()
32 void intel_context_free(struct intel_context *ce) in intel_context_free()
37 struct intel_context *
40 struct intel_context *ce; in intel_context_create()
51 int intel_context_alloc_state(struct intel_context *ce) in intel_context_alloc_state()
76 static int intel_context_active_acquire(struct intel_context *ce) in intel_context_active_acquire()
95 static void intel_context_active_release(struct intel_context *ce) in intel_context_active_release()
162 static int intel_context_pre_pin(struct intel_context *ce, in intel_context_pre_pin()
194 static void intel_context_post_unpin(struct intel_context *ce) in intel_context_post_unpin()
[all …]
Dintel_lrc.c781 const struct intel_context *ce, in init_common_regs()
861 const struct intel_context *ce, in __lrc_init_regs()
889 void lrc_init_regs(const struct intel_context *ce, in lrc_init_regs()
896 void lrc_reset_regs(const struct intel_context *ce, in lrc_reset_regs()
927 static u32 context_wa_bb_offset(const struct intel_context *ce) in context_wa_bb_offset()
932 static u32 *context_indirect_bb(const struct intel_context *ce) in context_indirect_bb()
945 void lrc_init_state(struct intel_context *ce, in lrc_init_state()
974 u32 lrc_indirect_bb(const struct intel_context *ce) in lrc_indirect_bb()
979 static u32 *setup_predicate_disable_wa(const struct intel_context *ce, u32 *cs) in setup_predicate_disable_wa()
1004 __lrc_alloc_state(struct intel_context *ce, struct intel_engine_cs *engine) in __lrc_alloc_state()
[all …]
Dintel_renderstate.h14 struct intel_context;
46 struct intel_context *ce);
50 struct intel_context *ce);
Dintel_migrate.h23 struct intel_context *intel_migrate_create_context(struct intel_migrate *m);
36 int intel_context_migrate_copy(struct intel_context *ce,
56 intel_context_migrate_clear(struct intel_context *ce,
Dintel_engine.h23 struct intel_context;
255 struct intel_context *
263 void intel_engine_destroy_pinned_context(struct intel_context *ce);
286 struct intel_context *
290 static inline struct intel_context *
334 struct intel_context *ce) in intel_engine_set_hung_context()
345 static inline struct intel_context *
Dintel_breadcrumbs.c81 struct intel_context *ce) in add_signaling_context()
91 struct intel_context *ce) in remove_signaling_context()
106 check_signal_order(struct intel_context *ce, struct i915_request *rq) in check_signal_order()
170 struct intel_context *ce; in signal_irq_work()
347 struct intel_context *ce = rq->context; in insert_breadcrumb()
408 struct intel_context *ce = rq->context; in i915_request_enable_breadcrumb()
434 struct intel_context *ce = rq->context; in i915_request_cancel_breadcrumb()
455 void intel_context_remove_breadcrumbs(struct intel_context *ce, in intel_context_remove_breadcrumbs()
490 struct intel_context *ce; in print_signals()
Dintel_context_sseu.c17 const struct intel_context *ce, in gen8_emit_rpcs_config()
41 gen8_modify_rpcs(struct intel_context *ce, const struct intel_sseu sseu) in gen8_modify_rpcs()
75 intel_context_reconfigure_sseu(struct intel_context *ce, in intel_context_reconfigure_sseu()
Dintel_migrate_types.h9 struct intel_context;
12 struct intel_context *context;
Dselftest_mocs.c23 static struct intel_context *mocs_context_create(struct intel_engine_cs *engine) in mocs_context_create()
25 struct intel_context *ce; in mocs_context_create()
216 struct intel_context *ce) in check_mocs_engine()
303 struct intel_context *ce; in live_mocs_clean()
321 static int active_engine_reset(struct intel_context *ce, in active_engine_reset()
354 struct intel_context *ce, bool using_guc) in __live_mocs_reset()
408 struct intel_context *ce; in live_mocs_reset()
Dmock_engine.c139 static void mock_context_unpin(struct intel_context *ce) in mock_context_unpin()
143 static void mock_context_post_unpin(struct intel_context *ce) in mock_context_post_unpin()
150 struct intel_context *ce = container_of(ref, typeof(*ce), ref); in mock_context_destroy()
163 static int mock_context_alloc(struct intel_context *ce) in mock_context_alloc()
187 static int mock_context_pre_pin(struct intel_context *ce, in mock_context_pre_pin()
193 static int mock_context_pin(struct intel_context *ce, void *unused) in mock_context_pin()
198 static void mock_context_reset(struct intel_context *ce) in mock_context_reset()
395 struct intel_context *ce; in mock_engine_init()
Dselftest_context.c44 static int context_sync(struct intel_context *ce) in context_sync()
77 struct intel_context *ce; in __live_context_size()
197 struct intel_context *ce; in __live_active_context()
325 static int __remote_sync(struct intel_context *ce, struct intel_context *remote) in __remote_sync()
355 struct intel_context *local, *remote; in __live_remote_context()
Dintel_engine_heartbeat.c40 heartbeat_create(struct intel_context *ce, gfp_t gfp) in heartbeat_create()
112 struct intel_context *ce = engine->kernel_context; in heartbeat()
249 struct intel_context *ce = engine->kernel_context; in __intel_engine_pulse()
285 struct intel_context *ce = engine->kernel_context; in intel_engine_set_heartbeat()
317 struct intel_context *ce = engine->kernel_context; in intel_engine_pulse()
340 struct intel_context *ce = engine->kernel_context; in intel_engine_flush_barriers()
Dselftest_lrc.c78 static int emit_semaphore_signal(struct intel_context *ce, void *slot) in emit_semaphore_signal()
108 static int context_flush(struct intel_context *ce, long timeout) in context_flush()
405 struct intel_context *ce; in __live_lrc_state()
534 static int gpr_make_dirty(struct intel_context *ce) in gpr_make_dirty()
566 __gpr_read(struct intel_context *ce, struct i915_vma *scratch, u32 *slot) in __gpr_read()
625 struct intel_context *ce; in __live_lrc_gpr()
743 create_timestamp(struct intel_context *ce, void *slot, int idx) in create_timestamp()
794 struct intel_context *ce[2];
882 struct intel_context *tmp; in live_lrc_timestamp()
970 store_context(struct intel_context *ce, struct i915_vma *scratch) in store_context()
[all …]
Dintel_engine_pm.c19 static void dbg_poison_ce(struct intel_context *ce) in dbg_poison_ce()
46 struct intel_context *ce; in __engine_unpark()
127 struct intel_context *ce = engine->kernel_context; in switch_to_kernel_context()
290 struct intel_context *ce; in intel_engine_reset_pinned_contexts()
/linux-6.1.9/drivers/gpu/drm/i915/
Di915_trace.h399 DECLARE_EVENT_CLASS(intel_context,
400 TP_PROTO(struct intel_context *ce),
423 DEFINE_EVENT(intel_context, intel_context_set_prio,
424 TP_PROTO(struct intel_context *ce),
428 DEFINE_EVENT(intel_context, intel_context_reset,
429 TP_PROTO(struct intel_context *ce),
433 DEFINE_EVENT(intel_context, intel_context_ban,
434 TP_PROTO(struct intel_context *ce),
438 DEFINE_EVENT(intel_context, intel_context_register,
439 TP_PROTO(struct intel_context *ce),
[all …]
/linux-6.1.9/drivers/gpu/drm/i915/gt/uc/
Dintel_guc_submission.c129 struct intel_context context;
132 static struct intel_context *
136 static struct intel_context *
170 static inline void init_sched_state(struct intel_context *ce) in init_sched_state()
177 static bool sched_state_is_init(struct intel_context *ce) in sched_state_is_init()
185 context_wait_for_deregister_to_register(struct intel_context *ce) in context_wait_for_deregister_to_register()
192 set_context_wait_for_deregister_to_register(struct intel_context *ce) in set_context_wait_for_deregister_to_register()
200 clr_context_wait_for_deregister_to_register(struct intel_context *ce) in clr_context_wait_for_deregister_to_register()
208 context_destroyed(struct intel_context *ce) in context_destroyed()
214 set_context_destroyed(struct intel_context *ce) in set_context_destroyed()
[all …]
Dselftest_guc_multi_lrc.c29 static struct intel_context *
53 static void multi_lrc_context_unpin(struct intel_context *ce) in multi_lrc_context_unpin()
55 struct intel_context *child; in multi_lrc_context_unpin()
64 static void multi_lrc_context_put(struct intel_context *ce) in multi_lrc_context_put()
76 multi_lrc_nop_request(struct intel_context *ce) in multi_lrc_nop_request()
78 struct intel_context *child; in multi_lrc_nop_request()
112 struct intel_context *parent; in __intel_guc_multi_lrc_basic()
Dintel_guc_capture.h14 struct intel_context;
22 struct intel_context *ce);
/linux-6.1.9/drivers/gpu/drm/i915/selftests/
Digt_spinner.h23 struct intel_context *ce;
31 struct intel_context *ce,
37 struct intel_context *ce,
/linux-6.1.9/drivers/gpu/drm/i915/pxp/
Dintel_pxp_types.h14 struct intel_context;
34 struct intel_context *ce;
/linux-6.1.9/drivers/gpu/drm/i915/gem/selftests/
Digt_gem_utils.h16 struct intel_context;
28 int igt_gpu_fill_dw(struct intel_context *ce,
/linux-6.1.9/drivers/gpu/drm/i915/gvt/
Dmmio_context.h46 struct intel_context;
65 bool is_inhibit_context(struct intel_context *ce);

1234