Home
last modified time | relevance | path

Searched refs:i915_request (Results 1 – 25 of 110) sorted by relevance

12345

/linux-6.12.1/drivers/gpu/drm/i915/
Di915_request.h51 struct i915_request;
65 const struct i915_request *rq__ = (rq); \
195 struct i915_request { struct
373 struct i915_request * __must_check argument
375 struct i915_request * __must_check
378 void __i915_request_skip(struct i915_request *rq);
379 bool i915_request_set_error_once(struct i915_request *rq, int error);
380 struct i915_request *i915_request_mark_eio(struct i915_request *rq);
382 struct i915_request *__i915_request_commit(struct i915_request *request);
383 void __i915_request_queue(struct i915_request *rq,
[all …]
Di915_request.c114 struct i915_request *rq = to_request(fence); in i915_fence_release()
191 __notify_execute_cb(struct i915_request *rq, bool (*fn)(struct irq_work *wrk)) in __notify_execute_cb()
204 static void __notify_execute_cb_irq(struct i915_request *rq) in __notify_execute_cb_irq()
215 void i915_request_notify_execute_cb_imm(struct i915_request *rq) in i915_request_notify_execute_cb_imm()
220 static void __i915_request_fill(struct i915_request *rq, u8 val) in __i915_request_fill()
244 i915_request_active_engine(struct i915_request *rq, in i915_request_active_engine()
276 static void __rq_init_watchdog(struct i915_request *rq) in __rq_init_watchdog()
283 struct i915_request *rq = in __rq_watchdog_expired()
284 container_of(hrtimer, struct i915_request, watchdog.timer); in __rq_watchdog_expired()
297 static void __rq_arm_watchdog(struct i915_request *rq) in __rq_arm_watchdog()
[all …]
Di915_scheduler_types.h16 struct i915_request;
179 void (*kick_backend)(const struct i915_request *rq,
185 void (*bump_inflight_request_prio)(struct i915_request *rq,
192 void (*retire_inflight_request_prio)(struct i915_request *rq);
201 void (*schedule)(struct i915_request *request,
Di915_trace.h267 TP_PROTO(struct i915_request *rq, u32 flags),
293 DECLARE_EVENT_CLASS(i915_request,
294 TP_PROTO(struct i915_request *rq),
320 DEFINE_EVENT(i915_request, i915_request_add,
321 TP_PROTO(struct i915_request *rq),
326 DEFINE_EVENT(i915_request, i915_request_guc_submit,
327 TP_PROTO(struct i915_request *rq),
331 DEFINE_EVENT(i915_request, i915_request_submit,
332 TP_PROTO(struct i915_request *rq),
336 DEFINE_EVENT(i915_request, i915_request_execute,
[all …]
Di915_active.h15 struct i915_request;
89 struct i915_request *rq);
167 int i915_active_add_request(struct i915_active *ref, struct i915_request *rq);
181 int i915_request_await_active(struct i915_request *rq,
211 void i915_request_add_active_barriers(struct i915_request *rq);
220 static inline int __i915_request_await_exclusive(struct i915_request *rq, in __i915_request_await_exclusive()
Di915_scheduler.c18 static const struct i915_request *
21 return container_of(node, const struct i915_request, sched); in node_to_request()
133 const struct i915_request *rq = node_to_request(node); in lock_sched_engine()
240 struct i915_request *from = container_of(dep->signaler, in __i915_schedule()
241 struct i915_request, in __i915_schedule()
289 void i915_schedule(struct i915_request *rq, const struct i915_sched_attr *attr) in i915_schedule()
410 const struct i915_request *rq, in i915_request_show_with_schedule()
422 const struct i915_request *signaler = in i915_request_show_with_schedule()
/linux-6.12.1/drivers/gpu/drm/i915/gt/
Dgen6_engine_cs.h13 struct i915_request;
16 int gen6_emit_flush_rcs(struct i915_request *rq, u32 mode);
17 int gen6_emit_flush_vcs(struct i915_request *rq, u32 mode);
18 int gen6_emit_flush_xcs(struct i915_request *rq, u32 mode);
19 u32 *gen6_emit_breadcrumb_rcs(struct i915_request *rq, u32 *cs);
20 u32 *gen6_emit_breadcrumb_xcs(struct i915_request *rq, u32 *cs);
22 int gen7_emit_flush_rcs(struct i915_request *rq, u32 mode);
23 u32 *gen7_emit_breadcrumb_rcs(struct i915_request *rq, u32 *cs);
24 u32 *gen7_emit_breadcrumb_xcs(struct i915_request *rq, u32 *cs);
26 int gen6_emit_bb_start(struct i915_request *rq,
[all …]
Dgen8_engine_cs.h18 struct i915_request;
20 int gen8_emit_flush_rcs(struct i915_request *rq, u32 mode);
21 int gen11_emit_flush_rcs(struct i915_request *rq, u32 mode);
22 int gen12_emit_flush_rcs(struct i915_request *rq, u32 mode);
24 int gen8_emit_flush_xcs(struct i915_request *rq, u32 mode);
25 int gen12_emit_flush_xcs(struct i915_request *rq, u32 mode);
27 int gen8_emit_init_breadcrumb(struct i915_request *rq);
29 int gen8_emit_bb_start_noarb(struct i915_request *rq,
32 int gen8_emit_bb_start(struct i915_request *rq,
36 int xehp_emit_bb_start_noarb(struct i915_request *rq,
[all …]
Dgen2_engine_cs.h11 struct i915_request;
14 int gen2_emit_flush(struct i915_request *rq, u32 mode);
15 int gen4_emit_flush_rcs(struct i915_request *rq, u32 mode);
16 int gen4_emit_flush_vcs(struct i915_request *rq, u32 mode);
18 u32 *gen3_emit_breadcrumb(struct i915_request *rq, u32 *cs);
19 u32 *gen5_emit_breadcrumb(struct i915_request *rq, u32 *cs);
21 int i830_emit_bb_start(struct i915_request *rq,
24 int gen3_emit_bb_start(struct i915_request *rq,
27 int gen4_emit_bb_start(struct i915_request *rq,
Dgen8_engine_cs.c13 int gen8_emit_flush_rcs(struct i915_request *rq, u32 mode) in gen8_emit_flush_rcs()
79 int gen8_emit_flush_xcs(struct i915_request *rq, u32 mode) in gen8_emit_flush_xcs()
112 int gen11_emit_flush_rcs(struct i915_request *rq, u32 mode) in gen11_emit_flush_rcs()
223 static int mtl_dummy_pipe_control(struct i915_request *rq) in mtl_dummy_pipe_control()
244 int gen12_emit_flush_rcs(struct i915_request *rq, u32 mode) in gen12_emit_flush_rcs()
362 int gen12_emit_flush_xcs(struct i915_request *rq, u32 mode) in gen12_emit_flush_xcs()
422 static u32 hwsp_offset(const struct i915_request *rq) in hwsp_offset()
434 int gen8_emit_init_breadcrumb(struct i915_request *rq) in gen8_emit_init_breadcrumb()
481 static int __xehp_emit_bb_start(struct i915_request *rq, in __xehp_emit_bb_start()
522 int xehp_emit_bb_start_noarb(struct i915_request *rq, in xehp_emit_bb_start_noarb()
[all …]
Dintel_engine_types.h49 struct i915_request;
185 const struct i915_request *preempt_target;
238 struct i915_request * const *active;
247 struct i915_request *inflight[EXECLIST_MAX_PORTS + 1 /* sentinel */];
255 struct i915_request *pending[EXECLIST_MAX_PORTS + 1];
420 struct i915_request *request_pool;
442 struct i915_request *systole;
526 int (*request_alloc)(struct i915_request *rq);
528 int (*emit_flush)(struct i915_request *request, u32 mode);
532 int (*emit_bb_start)(struct i915_request *rq,
[all …]
Dgen6_engine_cs.c55 gen6_emit_post_sync_nonzero_flush(struct i915_request *rq) in gen6_emit_post_sync_nonzero_flush()
89 int gen6_emit_flush_rcs(struct i915_request *rq, u32 mode) in gen6_emit_flush_rcs()
143 u32 *gen6_emit_breadcrumb_rcs(struct i915_request *rq, u32 *cs) in gen6_emit_breadcrumb_rcs()
178 static int mi_flush_dw(struct i915_request *rq, u32 flags) in mi_flush_dw()
214 static int gen6_flush_dw(struct i915_request *rq, u32 mode, u32 invflags) in gen6_flush_dw()
219 int gen6_emit_flush_xcs(struct i915_request *rq, u32 mode) in gen6_emit_flush_xcs()
224 int gen6_emit_flush_vcs(struct i915_request *rq, u32 mode) in gen6_emit_flush_vcs()
229 int gen6_emit_bb_start(struct i915_request *rq, in gen6_emit_bb_start()
251 hsw_emit_bb_start(struct i915_request *rq, in hsw_emit_bb_start()
272 static int gen7_stall_cs(struct i915_request *rq) in gen7_stall_cs()
[all …]
Dintel_execlists_submission.c184 struct i915_request *request;
211 static struct i915_request *
213 struct i915_request *rq, in __active_request()
216 struct i915_request *active = rq; in __active_request()
232 static struct i915_request *
233 active_request(const struct intel_timeline * const tl, struct i915_request *rq) in active_request()
256 static int rq_prio(const struct i915_request *rq) in rq_prio()
261 static int effective_prio(const struct i915_request *rq) in effective_prio()
298 const struct i915_request *rq) in need_preempt()
350 assert_priority_queue(const struct i915_request *prev, in assert_priority_queue()
[all …]
Dintel_migrate.h15 struct i915_request;
33 struct i915_request **out);
43 struct i915_request **out);
53 struct i915_request **out);
61 struct i915_request **out);
Dgen2_engine_cs.c16 int gen2_emit_flush(struct i915_request *rq, u32 mode) in gen2_emit_flush()
43 int gen4_emit_flush_rcs(struct i915_request *rq, u32 mode) in gen4_emit_flush_rcs()
129 int gen4_emit_flush_vcs(struct i915_request *rq, u32 mode) in gen4_emit_flush_vcs()
144 static u32 *__gen2_emit_breadcrumb(struct i915_request *rq, u32 *cs, in __gen2_emit_breadcrumb()
172 u32 *gen3_emit_breadcrumb(struct i915_request *rq, u32 *cs) in gen3_emit_breadcrumb()
177 u32 *gen5_emit_breadcrumb(struct i915_request *rq, u32 *cs) in gen5_emit_breadcrumb()
186 int i830_emit_bb_start(struct i915_request *rq, in i830_emit_bb_start()
251 int gen3_emit_bb_start(struct i915_request *rq, in gen3_emit_bb_start()
271 int gen4_emit_bb_start(struct i915_request *rq, in gen4_emit_bb_start()
Dintel_timeline.h73 struct i915_request *rq,
80 int intel_timeline_read_hwsp(struct i915_request *from,
81 struct i915_request *until,
90 const struct i915_request *rq,
96 const struct i915_request *rq) in intel_timeline_is_last()
Dmock_engine.c93 static struct i915_request *first_request(struct mock_engine *engine) in first_request()
96 struct i915_request, in first_request()
100 static void advance(struct i915_request *request) in advance()
112 struct i915_request *request; in hw_delay_complete()
217 static int mock_request_alloc(struct i915_request *request) in mock_request_alloc()
225 static int mock_emit_flush(struct i915_request *request, in mock_emit_flush()
231 static u32 *mock_emit_breadcrumb(struct i915_request *request, u32 *cs) in mock_emit_breadcrumb()
236 static void mock_submit_request(struct i915_request *request) in mock_submit_request()
256 static void mock_add_to_engine(struct i915_request *rq) in mock_add_to_engine()
262 static void mock_remove_from_engine(struct i915_request *rq) in mock_remove_from_engine()
[all …]
Dintel_engine_heartbeat.c25 struct i915_request *rq; in next_heartbeat()
67 static struct i915_request *
70 struct i915_request *rq; in heartbeat_create()
79 static void idle_pulse(struct intel_engine_cs *engine, struct i915_request *rq) in idle_pulse()
87 static void heartbeat_commit(struct i915_request *rq, in heartbeat_commit()
96 static void show_heartbeat(const struct i915_request *rq, in show_heartbeat()
117 reset_engine(struct intel_engine_cs *engine, struct i915_request *rq) in reset_engine()
142 struct i915_request *rq; in heartbeat()
279 struct i915_request *rq; in __intel_engine_pulse()
384 struct i915_request *rq; in intel_engine_flush_barriers()
Dintel_execlists_submission.h14 struct i915_request;
30 const struct i915_request *rq,
36 struct i915_request *hung_rq,
Dintel_breadcrumbs.c111 check_signal_order(struct intel_context *ce, struct i915_request *rq) in check_signal_order()
212 struct i915_request *rq; in signal_irq_work()
250 struct i915_request *rq = in signal_irq_work()
337 static void irq_signal_request(struct i915_request *rq, in irq_signal_request()
348 static void insert_breadcrumb(struct i915_request *rq) in insert_breadcrumb()
387 struct i915_request *it = in insert_breadcrumb()
410 bool i915_request_enable_breadcrumb(struct i915_request *rq) in i915_request_enable_breadcrumb()
435 void i915_request_cancel_breadcrumb(struct i915_request *rq) in i915_request_cancel_breadcrumb()
462 struct i915_request *rq, *rn; in intel_context_remove_breadcrumbs()
495 struct i915_request *rq; in print_signals()
Dintel_ring.h18 u32 *intel_ring_begin(struct i915_request *rq, unsigned int num_dwords);
19 int intel_ring_cacheline_align(struct i915_request *rq);
41 static inline void intel_ring_advance(struct i915_request *rq, u32 *cs) in intel_ring_advance()
81 static inline u32 intel_ring_offset(const struct i915_request *rq, void *addr) in intel_ring_offset()
Dintel_breadcrumbs.h15 struct i915_request;
45 bool i915_request_enable_breadcrumb(struct i915_request *request);
46 void i915_request_cancel_breadcrumb(struct i915_request *request);
/linux-6.12.1/drivers/gpu/drm/i915/selftests/
Dmock_request.c30 struct i915_request *
33 struct i915_request *request; in mock_request()
44 bool mock_cancel_request(struct i915_request *request) in mock_cancel_request()
Di915_request.c71 struct i915_request *request; in igt_add_request()
88 struct i915_request *request; in igt_wait_request()
157 struct i915_request *request; in igt_fence_wait()
207 struct i915_request *request, *vip; in igt_request_rewind()
287 struct i915_request *(*request_alloc)(struct intel_context *ce);
290 static struct i915_request *
296 static struct i915_request *
317 struct i915_request **requests; in __igt_breadcrumbs_smoketest()
367 struct i915_request *rq; in __igt_breadcrumbs_smoketest()
406 struct i915_request *rq = requests[count - 1]; in __igt_breadcrumbs_smoketest()
[all …]
/linux-6.12.1/drivers/gpu/drm/i915/gem/selftests/
Digt_gem_utils.h14 struct i915_request;
21 struct i915_request *
35 igt_vma_move_to_active_unlocked(struct i915_vma *vma, struct i915_request *rq, in igt_vma_move_to_active_unlocked()

12345