Home
last modified time | relevance | path

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

1234

/drivers/gpu/drm/i915/gt/
Dintel_context.h22 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,
55 static inline int intel_context_lock_pinned(struct intel_context *ce) in intel_context_lock_pinned()
71 intel_context_is_pinned(struct intel_context *ce) in intel_context_is_pinned()
76 static inline void intel_context_cancel_request(struct intel_context *ce, in intel_context_cancel_request()
[all …]
Dintel_lrc.h32 int lrc_alloc(struct intel_context *ce,
34 void lrc_reset(struct intel_context *ce);
35 void lrc_fini(struct intel_context *ce);
39 lrc_pre_pin(struct intel_context *ce,
44 lrc_pin(struct intel_context *ce,
47 void lrc_unpin(struct intel_context *ce);
48 void lrc_post_unpin(struct intel_context *ce);
50 void lrc_init_state(struct intel_context *ce,
54 void lrc_init_regs(const struct intel_context *ce,
57 void lrc_reset_regs(const struct intel_context *ce,
[all …]
Dintel_context_types.h30 struct intel_context;
38 int (*alloc)(struct intel_context *ce);
40 void (*ban)(struct intel_context *ce, struct i915_request *rq);
42 int (*pre_pin)(struct intel_context *ce, struct i915_gem_ww_ctx *ww, void **vaddr);
43 int (*pin)(struct intel_context *ce, void *vaddr);
44 void (*unpin)(struct intel_context *ce);
45 void (*post_unpin)(struct intel_context *ce);
47 void (*cancel_request)(struct intel_context *ce,
50 void (*enter)(struct intel_context *ce);
51 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()
94 static void intel_context_active_release(struct intel_context *ce) in intel_context_active_release()
161 static int intel_context_pre_pin(struct intel_context *ce, in intel_context_pre_pin()
193 static void intel_context_post_unpin(struct intel_context *ce) in intel_context_post_unpin()
[all …]
Dintel_lrc.c681 const struct intel_context *ce, in init_common_regs()
756 const struct intel_context *ce, in __lrc_init_regs()
784 void lrc_init_regs(const struct intel_context *ce, in lrc_init_regs()
791 void lrc_reset_regs(const struct intel_context *ce, in lrc_reset_regs()
822 void lrc_init_state(struct intel_context *ce, in lrc_init_state()
848 __lrc_alloc_state(struct intel_context *ce, struct intel_engine_cs *engine) in __lrc_alloc_state()
880 pinned_timeline(struct intel_context *ce, struct intel_engine_cs *engine) in pinned_timeline()
887 int lrc_alloc(struct intel_context *ce, struct intel_engine_cs *engine) in lrc_alloc()
936 void lrc_reset(struct intel_context *ce) in lrc_reset()
948 lrc_pre_pin(struct intel_context *ce, in lrc_pre_pin()
[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()
85 static unsigned long __timeline_mark_lock(struct intel_context *ce) in __timeline_mark_lock()
95 static void __timeline_mark_unlock(struct intel_context *ce, in __timeline_mark_unlock()
104 static unsigned long __timeline_mark_lock(struct intel_context *ce) in __timeline_mark_lock()
109 static void __timeline_mark_unlock(struct intel_context *ce, in __timeline_mark_unlock()
160 struct intel_context *ce = engine->kernel_context; in switch_to_kernel_context()
311 struct intel_context *ce; in intel_engine_reset_pinned_contexts()
Dintel_breadcrumbs.c80 struct intel_context *ce) in add_signaling_context()
90 struct intel_context *ce) in remove_signaling_context()
105 check_signal_order(struct intel_context *ce, struct i915_request *rq) in check_signal_order()
169 struct intel_context *ce; in signal_irq_work()
346 struct intel_context *ce = rq->context; in insert_breadcrumb()
406 struct intel_context *ce = rq->context; in i915_request_enable_breadcrumb()
432 struct intel_context *ce = rq->context; in i915_request_cancel_breadcrumb()
453 void intel_context_remove_breadcrumbs(struct intel_context *ce, in intel_context_remove_breadcrumbs()
488 struct intel_context *ce; in print_signals()
Dselftest_lrc.c73 static int emit_semaphore_signal(struct intel_context *ce, void *slot) in emit_semaphore_signal()
103 static int context_flush(struct intel_context *ce, long timeout) in context_flush()
361 struct intel_context *ce; in __live_lrc_state()
490 static int gpr_make_dirty(struct intel_context *ce) in gpr_make_dirty()
522 __gpr_read(struct intel_context *ce, struct i915_vma *scratch, u32 *slot) in __gpr_read()
581 struct intel_context *ce; in __live_lrc_gpr()
699 create_timestamp(struct intel_context *ce, void *slot, int idx) in create_timestamp()
750 struct intel_context *ce[2];
838 struct intel_context *tmp; in live_lrc_timestamp()
913 store_context(struct intel_context *ce, struct i915_vma *scratch) in store_context()
[all …]
Dintel_renderstate.h14 struct intel_context;
46 struct intel_context *ce);
50 struct intel_context *ce);
Dintel_migrate.c160 static struct intel_context *pinned_context(struct intel_gt *gt) in pinned_context()
165 struct intel_context *ce; in pinned_context()
184 struct intel_context *ce; in intel_migrate_init()
201 static struct intel_context *__migrate_engines(struct intel_gt *gt) in __migrate_engines()
217 struct intel_context *intel_migrate_create_context(struct intel_migrate *m) in intel_migrate_create_context()
219 struct intel_context *ce; in intel_migrate_create_context()
406 intel_context_migrate_copy(struct intel_context *ce, in intel_context_migrate_copy()
527 intel_context_migrate_clear(struct intel_context *ce, in intel_context_migrate_clear()
611 struct intel_context *ce; in intel_migrate_copy()
648 struct intel_context *ce; in intel_migrate_clear()
[all …]
Dintel_engine.h22 struct intel_context;
254 struct intel_context *
262 void intel_engine_destroy_pinned_context(struct intel_context *ce);
282 struct intel_context *
321 struct intel_context *ce) in intel_engine_set_hung_context()
332 static inline struct intel_context *
Dintel_migrate.h22 struct intel_context *intel_migrate_create_context(struct intel_migrate *m);
35 int intel_context_migrate_copy(struct intel_context *ce,
55 intel_context_migrate_clear(struct intel_context *ce,
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.c122 static void mock_context_unpin(struct intel_context *ce) in mock_context_unpin()
126 static void mock_context_post_unpin(struct intel_context *ce) in mock_context_post_unpin()
132 struct intel_context *ce = container_of(ref, typeof(*ce), ref); in mock_context_destroy()
145 static int mock_context_alloc(struct intel_context *ce) in mock_context_alloc()
169 static int mock_context_pre_pin(struct intel_context *ce, in mock_context_pre_pin()
175 static int mock_context_pin(struct intel_context *ce, void *unused) in mock_context_pin()
180 static void mock_context_reset(struct intel_context *ce) in mock_context_reset()
377 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_context_sseu.c16 const struct intel_context *ce, in gen8_emit_rpcs_config()
40 gen8_modify_rpcs(struct intel_context *ce, const struct intel_sseu sseu) in gen8_modify_rpcs()
74 intel_context_reconfigure_sseu(struct intel_context *ce, in intel_context_reconfigure_sseu()
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()
Dintel_migrate_types.h9 struct intel_context;
12 struct intel_context *context;
Dintel_ring_submission.c439 static void __ring_context_fini(struct intel_context *ce) in __ring_context_fini()
446 struct intel_context *ce = container_of(ref, typeof(*ce), ref); in ring_context_destroy()
457 static int ring_context_init_default_state(struct intel_context *ce, in ring_context_init_default_state()
477 static int ring_context_pre_pin(struct intel_context *ce, in ring_context_pre_pin()
498 static void __context_unpin_ppgtt(struct intel_context *ce) in __context_unpin_ppgtt()
507 static void ring_context_unpin(struct intel_context *ce) in ring_context_unpin()
511 static void ring_context_post_unpin(struct intel_context *ce) in ring_context_post_unpin()
559 static int ring_context_alloc(struct intel_context *ce) in ring_context_alloc()
582 static int ring_context_pin(struct intel_context *ce, void *unused) in ring_context_pin()
587 static void ring_context_reset(struct intel_context *ce) in ring_context_reset()
[all …]
Dselftest_ring_submission.c70 static int context_sync(struct intel_context *ce) in context_sync()
91 struct intel_context *ce; in new_context_sync()
149 struct intel_context *ce; in double_context_sync_00()
176 struct intel_context *ce; in kernel_context_sync_00()
/drivers/gpu/drm/i915/gt/uc/
Dintel_guc_submission.c67 struct intel_context context;
70 static struct intel_context *
85 static inline bool context_enabled(struct intel_context *ce) in context_enabled()
91 static inline void set_context_enabled(struct intel_context *ce) in set_context_enabled()
96 static inline void clr_context_enabled(struct intel_context *ce) in clr_context_enabled()
102 static inline bool context_pending_enable(struct intel_context *ce) in context_pending_enable()
108 static inline void set_context_pending_enable(struct intel_context *ce) in set_context_pending_enable()
114 static inline void clr_context_pending_enable(struct intel_context *ce) in clr_context_pending_enable()
120 static inline bool context_registered(struct intel_context *ce) in context_registered()
126 static inline void set_context_registered(struct intel_context *ce) in set_context_registered()
[all …]
/drivers/gpu/drm/i915/
Di915_trace.h895 DECLARE_EVENT_CLASS(intel_context,
896 TP_PROTO(struct intel_context *ce),
923 DEFINE_EVENT(intel_context, intel_context_set_prio,
924 TP_PROTO(struct intel_context *ce),
928 DEFINE_EVENT(intel_context, intel_context_reset,
929 TP_PROTO(struct intel_context *ce),
933 DEFINE_EVENT(intel_context, intel_context_ban,
934 TP_PROTO(struct intel_context *ce),
938 DEFINE_EVENT(intel_context, intel_context_register,
939 TP_PROTO(struct intel_context *ce),
[all …]
/drivers/gpu/drm/i915/selftests/
Digt_spinner.h23 struct intel_context *ce;
31 struct intel_context *ce,
37 struct intel_context *ce,
/drivers/gpu/drm/i915/gem/selftests/
Digt_gem_utils.h16 struct intel_context;
28 int igt_gpu_fill_dw(struct intel_context *ce,
/drivers/gpu/drm/i915/gvt/
Dmmio_context.h46 struct intel_context;
65 bool is_inhibit_context(struct intel_context *ce);

1234