Home
last modified time | relevance | path

Searched refs:intel_engine_cs (Results 1 – 25 of 134) sorted by relevance

123456

/linux-6.1.9/drivers/gpu/drm/i915/gt/
Dintel_engine.h36 const struct intel_engine_cs *e__ __maybe_unused = (e); \
133 intel_read_status_page(const struct intel_engine_cs *engine, int reg) in intel_read_status_page()
140 intel_write_status_page(struct intel_engine_cs *engine, int reg, u32 value) in intel_write_status_page()
183 void intel_engine_stop(struct intel_engine_cs *engine);
184 void intel_engine_cleanup(struct intel_engine_cs *engine);
189 void intel_engine_free_request_pool(struct intel_engine_cs *engine);
194 int intel_engine_init_common(struct intel_engine_cs *engine);
195 void intel_engine_cleanup_common(struct intel_engine_cs *engine);
197 int intel_engine_resume(struct intel_engine_cs *engine);
199 int intel_ring_submission_setup(struct intel_engine_cs *engine);
[all …]
Dintel_engine_pm.h16 intel_engine_pm_is_awake(const struct intel_engine_cs *engine) in intel_engine_pm_is_awake()
21 static inline void __intel_engine_pm_get(struct intel_engine_cs *engine) in __intel_engine_pm_get()
26 static inline void intel_engine_pm_get(struct intel_engine_cs *engine) in intel_engine_pm_get()
31 static inline bool intel_engine_pm_get_if_awake(struct intel_engine_cs *engine) in intel_engine_pm_get_if_awake()
36 static inline void intel_engine_pm_might_get(struct intel_engine_cs *engine) in intel_engine_pm_might_get()
42 struct intel_engine_cs *tengine; in intel_engine_pm_might_get()
51 static inline void intel_engine_pm_put(struct intel_engine_cs *engine) in intel_engine_pm_put()
56 static inline void intel_engine_pm_put_async(struct intel_engine_cs *engine) in intel_engine_pm_put_async()
61 static inline void intel_engine_pm_put_delay(struct intel_engine_cs *engine, in intel_engine_pm_put_delay()
67 static inline void intel_engine_pm_flush(struct intel_engine_cs *engine) in intel_engine_pm_flush()
[all …]
Dintel_engine_types.h343 struct intel_engine_cs { struct
469 void (*irq_enable)(struct intel_engine_cs *engine); argument
470 void (*irq_disable)(struct intel_engine_cs *engine); argument
471 void (*irq_handler)(struct intel_engine_cs *engine, u16 iir); argument
473 void (*sanitize)(struct intel_engine_cs *engine); argument
474 int (*resume)(struct intel_engine_cs *engine); argument
477 void (*prepare)(struct intel_engine_cs *engine); argument
479 void (*rewind)(struct intel_engine_cs *engine, bool stalled);
480 void (*cancel)(struct intel_engine_cs *engine);
482 void (*finish)(struct intel_engine_cs *engine);
[all …]
Dintel_lrc.h18 struct intel_engine_cs;
33 void lrc_init_wa_ctx(struct intel_engine_cs *engine);
34 void lrc_fini_wa_ctx(struct intel_engine_cs *engine);
37 struct intel_engine_cs *engine);
44 struct intel_engine_cs *engine,
49 struct intel_engine_cs *engine,
55 struct intel_engine_cs *engine,
59 const struct intel_engine_cs *engine,
62 const struct intel_engine_cs *engine);
65 const struct intel_engine_cs *engine,
[all …]
Dintel_engine_heartbeat.h9 struct intel_engine_cs;
12 void intel_engine_init_heartbeat(struct intel_engine_cs *engine);
14 int intel_engine_set_heartbeat(struct intel_engine_cs *engine,
17 void intel_engine_park_heartbeat(struct intel_engine_cs *engine);
18 void intel_engine_unpark_heartbeat(struct intel_engine_cs *engine);
23 int intel_engine_pulse(struct intel_engine_cs *engine);
24 int intel_engine_flush_barriers(struct intel_engine_cs *engine);
Dintel_workarounds.h15 struct intel_engine_cs;
24 void intel_engine_init_ctx_wa(struct intel_engine_cs *engine);
31 void intel_engine_init_whitelist(struct intel_engine_cs *engine);
32 void intel_engine_apply_whitelist(struct intel_engine_cs *engine);
34 void intel_engine_init_workarounds(struct intel_engine_cs *engine);
35 void intel_engine_apply_workarounds(struct intel_engine_cs *engine);
36 int intel_engine_verify_workarounds(struct intel_engine_cs *engine,
Dmock_engine.h16 struct intel_engine_cs base;
23 struct intel_engine_cs *mock_engine(struct drm_i915_private *i915,
26 int mock_engine_init(struct intel_engine_cs *engine);
28 void mock_engine_flush(struct intel_engine_cs *engine);
29 void mock_engine_reset(struct intel_engine_cs *engine);
30 void mock_engine_free(struct intel_engine_cs *engine);
Dgen2_engine_cs.h12 struct intel_engine_cs;
31 void gen2_irq_enable(struct intel_engine_cs *engine);
32 void gen2_irq_disable(struct intel_engine_cs *engine);
33 void gen3_irq_enable(struct intel_engine_cs *engine);
34 void gen3_irq_disable(struct intel_engine_cs *engine);
35 void gen5_irq_enable(struct intel_engine_cs *engine);
36 void gen5_irq_disable(struct intel_engine_cs *engine);
Dselftest_engine_heartbeat.h9 struct intel_engine_cs;
11 void st_engine_heartbeat_disable(struct intel_engine_cs *engine);
12 void st_engine_heartbeat_disable_no_pm(struct intel_engine_cs *engine);
13 void st_engine_heartbeat_enable(struct intel_engine_cs *engine);
14 void st_engine_heartbeat_enable_no_pm(struct intel_engine_cs *engine);
Dsysfs_engines.c16 struct intel_engine_cs *engine;
19 static struct intel_engine_cs *kobj_to_engine(struct kobject *kobj) in kobj_to_engine()
81 __caps_show(struct intel_engine_cs *engine, in __caps_show()
125 struct intel_engine_cs *engine = kobj_to_engine(kobj); in caps_show()
146 struct intel_engine_cs *engine = kobj_to_engine(kobj); in max_spin_store()
183 struct intel_engine_cs *engine = kobj_to_engine(kobj); in max_spin_show()
194 struct intel_engine_cs *engine = kobj_to_engine(kobj); in max_spin_default()
206 struct intel_engine_cs *engine = kobj_to_engine(kobj); in timeslice_store()
237 struct intel_engine_cs *engine = kobj_to_engine(kobj); in timeslice_show()
248 struct intel_engine_cs *engine = kobj_to_engine(kobj); in timeslice_default()
[all …]
Dintel_engine_heartbeat.c23 static bool next_heartbeat(struct intel_engine_cs *engine) in next_heartbeat()
51 static void idle_pulse(struct intel_engine_cs *engine, struct i915_request *rq) in idle_pulse()
69 struct intel_engine_cs *engine) in show_heartbeat()
88 reset_engine(struct intel_engine_cs *engine, struct i915_request *rq) in reset_engine()
110 struct intel_engine_cs *engine = in heartbeat()
208 void intel_engine_unpark_heartbeat(struct intel_engine_cs *engine) in intel_engine_unpark_heartbeat()
216 void intel_engine_park_heartbeat(struct intel_engine_cs *engine) in intel_engine_park_heartbeat()
224 struct intel_engine_cs *engine; in intel_gt_unpark_heartbeats()
234 struct intel_engine_cs *engine; in intel_gt_park_heartbeats()
241 void intel_engine_init_heartbeat(struct intel_engine_cs *engine) in intel_engine_init_heartbeat()
[all …]
Dintel_ring_submission.c33 static void set_hwstam(struct intel_engine_cs *engine, u32 mask) in set_hwstam()
49 static void set_hws_pga(struct intel_engine_cs *engine, phys_addr_t phys) in set_hws_pga()
60 static struct page *status_page(struct intel_engine_cs *engine) in status_page()
68 static void ring_setup_phys_status_page(struct intel_engine_cs *engine) in ring_setup_phys_status_page()
74 static void set_hwsp(struct intel_engine_cs *engine, u32 offset) in set_hwsp()
114 static void flush_cs_tlb(struct intel_engine_cs *engine) in flush_cs_tlb()
135 static void ring_setup_status_page(struct intel_engine_cs *engine) in ring_setup_status_page()
156 static void set_pp_dir(struct intel_engine_cs *engine) in set_pp_dir()
173 static bool stop_ring(struct intel_engine_cs *engine) in stop_ring()
190 static int xcs_resume(struct intel_engine_cs *engine) in xcs_resume()
[all …]
Dselftest_engine_heartbeat.c14 static void reset_heartbeat(struct intel_engine_cs *engine) in reset_heartbeat()
37 static int engine_sync_barrier(struct intel_engine_cs *engine) in engine_sync_barrier()
90 static int __live_idle_pulse(struct intel_engine_cs *engine, in __live_idle_pulse()
91 int (*fn)(struct intel_engine_cs *cs)) in __live_idle_pulse()
157 struct intel_engine_cs *engine; in live_idle_flush()
177 struct intel_engine_cs *engine; in live_idle_pulse()
203 static int __live_heartbeat_fast(struct intel_engine_cs *engine) in __live_heartbeat_fast()
288 struct intel_engine_cs *engine; in live_heartbeat_fast()
305 static int __live_heartbeat_off(struct intel_engine_cs *engine) in __live_heartbeat_off()
350 struct intel_engine_cs *engine; in live_heartbeat_off()
[all …]
Dintel_execlists_submission.c170 struct intel_engine_cs base;
197 struct intel_engine_cs *siblings[];
200 static struct virtual_engine *to_virtual_engine(struct intel_engine_cs *engine) in to_virtual_engine()
207 execlists_create_virtual(struct intel_engine_cs **siblings, unsigned int count,
237 static void ring_set_paused(const struct intel_engine_cs *engine, int state) in ring_set_paused()
296 static bool need_preempt(const struct intel_engine_cs *engine, in need_preempt()
366 __unwind_incomplete_requests(struct intel_engine_cs *engine) in __unwind_incomplete_requests()
410 struct intel_engine_cs *engine = in execlists_unwind_incomplete_requests()
431 struct intel_engine_cs *engine) in reset_active()
473 static struct intel_engine_cs *
[all …]
Dgen6_engine_cs.h14 struct intel_engine_cs;
33 void gen6_irq_enable(struct intel_engine_cs *engine);
34 void gen6_irq_disable(struct intel_engine_cs *engine);
36 void hsw_irq_enable_vecs(struct intel_engine_cs *engine);
37 void hsw_irq_disable_vecs(struct intel_engine_cs *engine);
Dintel_execlists_submission.h16 struct intel_engine_cs;
25 int intel_execlists_submission_setup(struct intel_engine_cs *engine);
27 void intel_execlists_show_requests(struct intel_engine_cs *engine,
36 intel_engine_in_execlists_submission_mode(const struct intel_engine_cs *engine);
Dintel_gt_requests.h11 struct intel_engine_cs;
22 void intel_engine_init_retire(struct intel_engine_cs *engine);
23 void intel_engine_add_retire(struct intel_engine_cs *engine,
25 void intel_engine_fini_retire(struct intel_engine_cs *engine);
Dintel_engine_user.c16 struct intel_engine_cs *
22 struct intel_engine_cs *it = in intel_engine_lookup_user()
39 void intel_engine_add_user(struct intel_engine_cs *engine) in intel_engine_add_user()
56 const struct intel_engine_cs *a = in engine_cmp()
58 const struct intel_engine_cs *b = in engine_cmp()
85 struct intel_engine_cs *engine = in sort_engines()
105 struct intel_engine_cs *engine; in set_scheduler_caps()
180 struct intel_engine_cs *engine) in add_legacy_ring()
205 struct intel_engine_cs *engine = in intel_engines_driver_register()
244 struct intel_engine_cs *engine; in intel_engines_driver_register()
[all …]
Dintel_engine_cs.c348 static void __sprint_engine_name(struct intel_engine_cs *engine) in __sprint_engine_name()
360 void intel_engine_set_hwsp_writemask(struct intel_engine_cs *engine, u32 mask) in intel_engine_set_hwsp_writemask()
375 static void intel_engine_sanitize_mmio(struct intel_engine_cs *engine) in intel_engine_sanitize_mmio()
381 static void nop_irq_handler(struct intel_engine_cs *engine, u16 iir) in nop_irq_handler()
443 struct intel_engine_cs *engine; in intel_engine_setup()
557 u64 intel_clamp_heartbeat_interval_ms(struct intel_engine_cs *engine, u64 value) in intel_clamp_heartbeat_interval_ms()
564 u64 intel_clamp_max_busywait_duration_ns(struct intel_engine_cs *engine, u64 value) in intel_clamp_max_busywait_duration_ns()
571 u64 intel_clamp_preempt_timeout_ms(struct intel_engine_cs *engine, u64 value) in intel_clamp_preempt_timeout_ms()
585 u64 intel_clamp_stop_timeout_ms(struct intel_engine_cs *engine, u64 value) in intel_clamp_stop_timeout_ms()
592 u64 intel_clamp_timeslice_duration_ms(struct intel_engine_cs *engine, u64 value) in intel_clamp_timeslice_duration_ms()
[all …]
Dintel_lrc.c25 const struct intel_engine_cs *engine, in set_offsets()
615 static const u8 *reg_offsets(const struct intel_engine_cs *engine) in reg_offsets()
651 static int lrc_ring_mi_mode(const struct intel_engine_cs *engine) in lrc_ring_mi_mode()
665 static int lrc_ring_bb_offset(const struct intel_engine_cs *engine) in lrc_ring_bb_offset()
680 static int lrc_ring_gpr0(const struct intel_engine_cs *engine) in lrc_ring_gpr0()
694 static int lrc_ring_wa_bb_per_ctx(const struct intel_engine_cs *engine) in lrc_ring_wa_bb_per_ctx()
704 static int lrc_ring_indirect_ptr(const struct intel_engine_cs *engine) in lrc_ring_indirect_ptr()
715 static int lrc_ring_indirect_offset(const struct intel_engine_cs *engine) in lrc_ring_indirect_offset()
726 static int lrc_ring_cmd_buf_cctl(const struct intel_engine_cs *engine) in lrc_ring_cmd_buf_cctl()
746 lrc_ring_indirect_offset_default(const struct intel_engine_cs *engine) in lrc_ring_indirect_offset_default()
[all …]
Dintel_workarounds.c223 static void gen6_ctx_workarounds_init(struct intel_engine_cs *engine, in gen6_ctx_workarounds_init()
229 static void gen7_ctx_workarounds_init(struct intel_engine_cs *engine, in gen7_ctx_workarounds_init()
235 static void gen8_ctx_workarounds_init(struct intel_engine_cs *engine, in gen8_ctx_workarounds_init()
283 static void bdw_ctx_workarounds_init(struct intel_engine_cs *engine, in bdw_ctx_workarounds_init()
311 static void chv_ctx_workarounds_init(struct intel_engine_cs *engine, in chv_ctx_workarounds_init()
323 static void gen9_ctx_workarounds_init(struct intel_engine_cs *engine, in gen9_ctx_workarounds_init()
419 static void skl_tune_iz_hashing(struct intel_engine_cs *engine, in skl_tune_iz_hashing()
459 static void skl_ctx_workarounds_init(struct intel_engine_cs *engine, in skl_ctx_workarounds_init()
466 static void bxt_ctx_workarounds_init(struct intel_engine_cs *engine, in bxt_ctx_workarounds_init()
480 static void kbl_ctx_workarounds_init(struct intel_engine_cs *engine, in kbl_ctx_workarounds_init()
[all …]
Dintel_context_types.h63 struct intel_context *(*create_virtual)(struct intel_engine_cs **engine,
66 struct intel_context *(*create_parallel)(struct intel_engine_cs **engines,
69 struct intel_engine_cs *(*get_sibling)(struct intel_engine_cs *engine,
85 struct intel_engine_cs *engine;
86 struct intel_engine_cs *inflight;
/linux-6.1.9/drivers/gpu/drm/i915/
Di915_cmd_parser.h12 struct intel_engine_cs;
16 int intel_engine_init_cmd_parser(struct intel_engine_cs *engine);
17 void intel_engine_cleanup_cmd_parser(struct intel_engine_cs *engine);
18 int intel_engine_cmd_parser(struct intel_engine_cs *engine,
/linux-6.1.9/drivers/gpu/drm/i915/selftests/
Dintel_scheduler_helpers.h12 struct intel_engine_cs;
27 struct intel_engine_cs *intel_selftest_find_any_engine(struct intel_gt *gt);
28 int intel_selftest_modify_policy(struct intel_engine_cs *engine,
31 int intel_selftest_restore_policy(struct intel_engine_cs *engine,
/linux-6.1.9/drivers/gpu/drm/i915/gt/uc/
Dintel_guc_submission.h14 struct intel_engine_cs;
23 int intel_guc_submission_setup(struct intel_engine_cs *engine);
28 void intel_guc_dump_active_requests(struct intel_engine_cs *engine,
34 bool intel_guc_virtual_engine_has_heartbeat(const struct intel_engine_cs *ve);

123456