Home
last modified time | relevance | path

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

123

/kernel/linux/linux-5.10/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);
34 struct intel_context *
37 int intel_context_alloc_state(struct intel_context *ce);
39 void intel_context_free(struct intel_context *ce);
41 int intel_context_reconfigure_sseu(struct intel_context *ce,
52 static inline int intel_context_lock_pinned(struct intel_context *ce) in intel_context_lock_pinned()
68 intel_context_is_pinned(struct intel_context *ce) in intel_context_is_pinned()
79 static inline void intel_context_unlock_pinned(struct intel_context *ce) in intel_context_unlock_pinned()
[all …]
Dintel_context_types.h29 struct intel_context;
33 int (*alloc)(struct intel_context *ce);
35 int (*pre_pin)(struct intel_context *ce, struct i915_gem_ww_ctx *ww, void **vaddr);
36 int (*pin)(struct intel_context *ce, void *vaddr);
37 void (*unpin)(struct intel_context *ce);
38 void (*post_unpin)(struct intel_context *ce);
40 void (*enter)(struct intel_context *ce);
41 void (*exit)(struct intel_context *ce);
43 void (*reset)(struct intel_context *ce);
47 struct intel_context { struct
Dintel_context.c23 static struct intel_context *intel_context_alloc(void) in intel_context_alloc()
30 struct intel_context *ce = container_of(rcu, typeof(*ce), rcu); in rcu_context_free()
35 void intel_context_free(struct intel_context *ce) in intel_context_free()
40 struct intel_context *
43 struct intel_context *ce; in intel_context_create()
53 int intel_context_alloc_state(struct intel_context *ce) in intel_context_alloc_state()
78 static int intel_context_active_acquire(struct intel_context *ce) in intel_context_active_acquire()
96 static void intel_context_active_release(struct intel_context *ce) in intel_context_active_release()
163 static int intel_context_pre_pin(struct intel_context *ce, in intel_context_pre_pin()
195 static void intel_context_post_unpin(struct intel_context *ce) in intel_context_post_unpin()
[all …]
Dintel_context_param.h9 struct intel_context;
11 int intel_context_set_ring_size(struct intel_context *ce, long sz);
12 long intel_context_get_ring_size(struct intel_context *ce);
Dintel_lrc.h34 struct intel_context;
102 struct intel_context *ce,
113 struct intel_context *
117 struct intel_context *
Dintel_engine_pm.c24 struct intel_context *ce; in __engine_unpark()
61 static inline unsigned long __timeline_mark_lock(struct intel_context *ce) in __timeline_mark_lock()
71 static inline void __timeline_mark_unlock(struct intel_context *ce, in __timeline_mark_unlock()
80 static inline unsigned long __timeline_mark_lock(struct intel_context *ce) in __timeline_mark_lock()
85 static inline void __timeline_mark_unlock(struct intel_context *ce, in __timeline_mark_unlock()
136 struct intel_context *ce = engine->kernel_context; in switch_to_kernel_context()
Dmock_engine.c130 static void mock_context_unpin(struct intel_context *ce) in mock_context_unpin()
134 static void mock_context_post_unpin(struct intel_context *ce) in mock_context_post_unpin()
140 struct intel_context *ce = container_of(ref, typeof(*ce), ref); in mock_context_destroy()
153 static int mock_context_alloc(struct intel_context *ce) in mock_context_alloc()
170 static int mock_context_pre_pin(struct intel_context *ce, in mock_context_pre_pin()
176 static int mock_context_pin(struct intel_context *ce, void *unused) in mock_context_pin()
181 static void mock_context_reset(struct intel_context *ce) in mock_context_reset()
335 struct intel_context *ce; in mock_engine_init()
Dintel_renderstate.h31 struct intel_context;
63 struct intel_context *ce);
67 struct intel_context *ce);
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_breadcrumbs.c113 struct intel_context *ce) in add_signaling_context()
123 struct intel_context *ce) in remove_signaling_context()
138 check_signal_order(struct intel_context *ce, struct i915_request *rq) in check_signal_order()
214 struct intel_context *ce; in signal_irq_work()
364 struct intel_context *ce = rq->context; in insert_breadcrumb()
426 struct intel_context *ce = rq->context; in i915_request_enable_breadcrumb()
451 struct intel_context *ce = rq->context; in i915_request_cancel_breadcrumb()
471 struct intel_context *ce; in print_signals()
Dselftest_mocs.c21 static struct intel_context *mocs_context_create(struct intel_engine_cs *engine) in mocs_context_create()
23 struct intel_context *ce; in mocs_context_create()
229 struct intel_context *ce) in check_mocs_engine()
316 struct intel_context *ce; in live_mocs_clean()
334 static int active_engine_reset(struct intel_context *ce, in active_engine_reset()
362 struct intel_context *ce) in __live_mocs_reset()
410 struct intel_context *ce; in live_mocs_reset()
Dselftest_context.c45 static int context_sync(struct intel_context *ce) in context_sync()
78 struct intel_context *ce; in __live_context_size()
197 struct intel_context *ce; in __live_active_context()
319 static int __remote_sync(struct intel_context *ce, struct intel_context *remote) in __remote_sync()
349 struct intel_context *local, *remote; in __live_remote_context()
Dintel_context_param.c11 int intel_context_set_ring_size(struct intel_context *ce, long sz) in intel_context_set_ring_size()
50 long intel_context_get_ring_size(struct intel_context *ce) in intel_context_get_ring_size()
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()
Dintel_lrc.c184 struct intel_context context;
231 static int __execlists_context_alloc(struct intel_context *ce,
235 const struct intel_context *ce,
240 __execlists_update_reg_state(const struct intel_context *ce,
350 static u32 intel_context_get_runtime(const struct intel_context *ce) in intel_context_get_runtime()
572 lrc_descriptor(struct intel_context *ce, struct intel_engine_cs *engine) in lrc_descriptor()
1218 execlists_check_context(const struct intel_context *ce, in execlists_check_context()
1257 static void restore_default_state(struct intel_context *ce, in restore_default_state()
1271 struct intel_context * const ce = rq->context; in reset_active()
1307 static void st_update_runtime_underflow(struct intel_context *ce, s32 dt) in st_update_runtime_underflow()
[all …]
Dintel_engine_heartbeat.c66 struct intel_context *ce = engine->kernel_context; in heartbeat()
183 struct intel_context *ce = engine->kernel_context; in __intel_engine_pulse()
223 struct intel_context *ce = engine->kernel_context; in intel_engine_set_heartbeat()
255 struct intel_context *ce = engine->kernel_context; in intel_engine_pulse()
Dintel_ring_submission.c463 static void __ring_context_fini(struct intel_context *ce) in __ring_context_fini()
470 struct intel_context *ce = container_of(ref, typeof(*ce), ref); in ring_context_destroy()
481 static int ring_context_pre_pin(struct intel_context *ce, in ring_context_pre_pin()
495 static void __context_unpin_ppgtt(struct intel_context *ce) in __context_unpin_ppgtt()
504 static void ring_context_unpin(struct intel_context *ce) in ring_context_unpin()
508 static void ring_context_post_unpin(struct intel_context *ce) in ring_context_post_unpin()
572 static int ring_context_alloc(struct intel_context *ce) in ring_context_alloc()
597 static int ring_context_pin(struct intel_context *ce, void *unused) in ring_context_pin()
602 static void ring_context_reset(struct intel_context *ce) in ring_context_reset()
657 struct intel_context *ce, in mi_set_context()
[all …]
Dselftest_lrc.c150 struct intel_context *ce; in live_sanitycheck()
207 struct intel_context *ce[2] = {}; in live_unlite_restore()
225 struct intel_context *tmp; in live_unlite_restore()
369 struct intel_context *ce[2] = {}; in live_unlite_ring()
387 struct intel_context *tmp; in live_unlite_ring()
518 struct intel_context *ce; in live_pin_rewind()
600 struct intel_context *ce; in live_hold_reset()
725 struct intel_context *ce; in live_error_interrupt()
865 struct intel_context *ce; in semaphore_queue()
1052 create_rewinder(struct intel_context *ce, in create_rewinder()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gem/
Di915_gem_object_blt.h18 struct i915_vma *intel_emit_vma_fill_blt(struct intel_context *ce,
23 struct i915_vma *intel_emit_vma_copy_blt(struct intel_context *ce,
29 void intel_emit_vma_release(struct intel_context *ce, struct i915_vma *vma);
32 struct intel_context *ce,
37 struct intel_context *ce);
Di915_gem_client_blt.h12 struct intel_context;
16 struct intel_context *ce,
Di915_gem_context.c140 static struct intel_context *
206 static void intel_context_set_gem(struct intel_context *ce, in intel_context_set_gem()
312 struct intel_context *ce; in default_engines()
451 static struct intel_engine_cs *active_engine(struct intel_context *ce) in active_engine()
489 struct intel_context *ce; in kill_engines()
556 struct intel_context *ce; in engines_idle_release()
767 int (*fn)(struct intel_context *ce, void *data), in context_apply_all()
772 struct intel_context *ce; in context_apply_all()
786 static int __apply_ppgtt(struct intel_context *ce, void *vm) in __apply_ppgtt()
830 static int __apply_timeline(struct intel_context *ce, void *timeline) in __apply_timeline()
[all …]
Di915_gem_context.h192 static inline struct intel_context *
195 struct intel_context *ce; in i915_gem_context_get_engine()
218 struct intel_context *
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gem/selftests/
Digt_gem_utils.h16 struct intel_context;
28 int igt_gpu_fill_dw(struct intel_context *ce,
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/
Di915_perf.h18 struct intel_context;
36 void i915_oa_init_reg_state(const struct intel_context *ce,
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/selftests/
Di915_request.c207 struct intel_context *ce; in igt_request_rewind()
275 struct i915_request *(*request_alloc)(struct intel_context *ce);
279 __mock_request_alloc(struct intel_context *ce) in __mock_request_alloc()
285 __live_request_alloc(struct intel_context *ce) in __live_request_alloc()
345 struct intel_context *ce; in __igt_breadcrumbs_smoketest()
1497 static int switch_to_kernel_sync(struct intel_context *ce, int err) in switch_to_kernel_sync()
1535 struct intel_context *ce[];
1568 static u32 *emit_timestamp_store(u32 *cs, struct intel_context *ce, u32 offset) in emit_timestamp_store()
1612 static u32 *hwsp_scratch(const struct intel_context *ce) in hwsp_scratch()
1617 static u32 hwsp_offset(const struct intel_context *ce, u32 *dw) in hwsp_offset()
[all …]

123