Home
last modified time | relevance | path

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

12345

/drivers/gpu/drm/i915/
Di915_request.h49 struct i915_request;
57 const struct i915_request *rq__ = (rq); \
164 struct i915_request { struct
322 struct i915_request * __must_check argument
324 struct i915_request * __must_check
327 void __i915_request_skip(struct i915_request *rq);
328 bool i915_request_set_error_once(struct i915_request *rq, int error);
329 struct i915_request *i915_request_mark_eio(struct i915_request *rq);
331 struct i915_request *__i915_request_commit(struct i915_request *request);
332 void __i915_request_queue(struct i915_request *rq,
[all …]
Di915_request.c51 struct i915_request *signal;
111 struct i915_request *rq = to_request(fence); in i915_fence_release()
160 __notify_execute_cb(struct i915_request *rq, bool (*fn)(struct irq_work *wrk)) in __notify_execute_cb()
173 static void __notify_execute_cb_irq(struct i915_request *rq) in __notify_execute_cb_irq()
184 void i915_request_notify_execute_cb_imm(struct i915_request *rq) in i915_request_notify_execute_cb_imm()
189 static void free_capture_list(struct i915_request *request) in free_capture_list()
202 static void __i915_request_fill(struct i915_request *rq, u8 val) in __i915_request_fill()
226 i915_request_active_engine(struct i915_request *rq, in i915_request_active_engine()
258 static void __rq_init_watchdog(struct i915_request *rq) in __rq_init_watchdog()
265 struct i915_request *rq = in __rq_watchdog_expired()
[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_active.h15 struct i915_request;
89 struct i915_request *rq);
172 i915_active_add_request(struct i915_active *ref, struct i915_request *rq) in i915_active_add_request()
196 int i915_request_await_active(struct i915_request *rq,
226 void i915_request_add_active_barriers(struct i915_request *rq);
235 static inline int __i915_request_await_exclusive(struct i915_request *rq, in __i915_request_await_exclusive()
Di915_trace.h764 TP_PROTO(struct i915_request *rq, u32 flags),
790 DECLARE_EVENT_CLASS(i915_request,
791 TP_PROTO(struct i915_request *rq),
817 DEFINE_EVENT(i915_request, i915_request_add,
818 TP_PROTO(struct i915_request *rq),
823 DEFINE_EVENT(i915_request, i915_request_guc_submit,
824 TP_PROTO(struct i915_request *rq),
828 DEFINE_EVENT(i915_request, i915_request_submit,
829 TP_PROTO(struct i915_request *rq),
833 DEFINE_EVENT(i915_request, i915_request_execute,
[all …]
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()
/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.h16 struct i915_request;
18 int gen8_emit_flush_rcs(struct i915_request *rq, u32 mode);
19 int gen11_emit_flush_rcs(struct i915_request *rq, u32 mode);
20 int gen12_emit_flush_rcs(struct i915_request *rq, u32 mode);
22 int gen8_emit_flush_xcs(struct i915_request *rq, u32 mode);
23 int gen12_emit_flush_xcs(struct i915_request *rq, u32 mode);
25 int gen8_emit_init_breadcrumb(struct i915_request *rq);
27 int gen8_emit_bb_start_noarb(struct i915_request *rq,
30 int gen8_emit_bb_start(struct i915_request *rq,
34 u32 *gen8_emit_fini_breadcrumb_xcs(struct i915_request *rq, u32 *cs);
[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,
Dintel_engine_types.h48 struct i915_request;
159 const struct i915_request *preempt_target;
212 struct i915_request * const *active;
221 struct i915_request *inflight[EXECLIST_MAX_PORTS + 1 /* sentinel */];
229 struct i915_request *pending[EXECLIST_MAX_PORTS + 1];
314 struct i915_request *request_pool;
333 struct i915_request *systole;
415 int (*request_alloc)(struct i915_request *rq);
417 int (*emit_flush)(struct i915_request *request, u32 mode);
421 int (*emit_bb_start)(struct i915_request *rq,
[all …]
Dgen8_engine_cs.c12 int gen8_emit_flush_rcs(struct i915_request *rq, u32 mode) in gen8_emit_flush_rcs()
78 int gen8_emit_flush_xcs(struct i915_request *rq, u32 mode) in gen8_emit_flush_xcs()
111 int gen11_emit_flush_rcs(struct i915_request *rq, u32 mode) in gen11_emit_flush_rcs()
201 int gen12_emit_flush_rcs(struct i915_request *rq, u32 mode) in gen12_emit_flush_rcs()
271 int gen12_emit_flush_xcs(struct i915_request *rq, u32 mode) in gen12_emit_flush_xcs()
338 static u32 hwsp_offset(const struct i915_request *rq) in hwsp_offset()
350 int gen8_emit_init_breadcrumb(struct i915_request *rq) in gen8_emit_init_breadcrumb()
397 int gen8_emit_bb_start_noarb(struct i915_request *rq, in gen8_emit_bb_start_noarb()
433 int gen8_emit_bb_start(struct i915_request *rq, in gen8_emit_bb_start()
461 static void assert_request_valid(struct i915_request *rq) in assert_request_valid()
[all …]
Dintel_execlists_submission.c180 struct i915_request *request;
206 static struct i915_request *
208 struct i915_request *rq, in __active_request()
211 struct i915_request *active = rq; in __active_request()
227 static struct i915_request *
228 active_request(const struct intel_timeline * const tl, struct i915_request *rq) in active_request()
251 static int rq_prio(const struct i915_request *rq) in rq_prio()
256 static int effective_prio(const struct i915_request *rq) in effective_prio()
293 const struct i915_request *rq) in need_preempt()
345 assert_priority_queue(const struct i915_request *prev, in assert_priority_queue()
[all …]
Dgen6_engine_cs.c54 gen6_emit_post_sync_nonzero_flush(struct i915_request *rq) in gen6_emit_post_sync_nonzero_flush()
88 int gen6_emit_flush_rcs(struct i915_request *rq, u32 mode) in gen6_emit_flush_rcs()
142 u32 *gen6_emit_breadcrumb_rcs(struct i915_request *rq, u32 *cs) in gen6_emit_breadcrumb_rcs()
177 static int mi_flush_dw(struct i915_request *rq, u32 flags) in mi_flush_dw()
213 static int gen6_flush_dw(struct i915_request *rq, u32 mode, u32 invflags) in gen6_flush_dw()
218 int gen6_emit_flush_xcs(struct i915_request *rq, u32 mode) in gen6_emit_flush_xcs()
223 int gen6_emit_flush_vcs(struct i915_request *rq, u32 mode) in gen6_emit_flush_vcs()
228 int gen6_emit_bb_start(struct i915_request *rq, in gen6_emit_bb_start()
250 hsw_emit_bb_start(struct i915_request *rq, in hsw_emit_bb_start()
271 static int gen7_stall_cs(struct i915_request *rq) in gen7_stall_cs()
[all …]
Dintel_migrate.h14 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.c14 int gen2_emit_flush(struct i915_request *rq, u32 mode) in gen2_emit_flush()
41 int gen4_emit_flush_rcs(struct i915_request *rq, u32 mode) in gen4_emit_flush_rcs()
127 int gen4_emit_flush_vcs(struct i915_request *rq, u32 mode) in gen4_emit_flush_vcs()
142 static u32 *__gen2_emit_breadcrumb(struct i915_request *rq, u32 *cs, in __gen2_emit_breadcrumb()
170 u32 *gen3_emit_breadcrumb(struct i915_request *rq, u32 *cs) in gen3_emit_breadcrumb()
175 u32 *gen5_emit_breadcrumb(struct i915_request *rq, u32 *cs) in gen5_emit_breadcrumb()
184 int i830_emit_bb_start(struct i915_request *rq, in i830_emit_bb_start()
249 int gen3_emit_bb_start(struct i915_request *rq, in gen3_emit_bb_start()
269 int gen4_emit_bb_start(struct i915_request *rq, in gen4_emit_bb_start()
Dmock_engine.c76 static struct i915_request *first_request(struct mock_engine *engine) in first_request()
79 struct i915_request, in first_request()
83 static void advance(struct i915_request *request) in advance()
95 struct i915_request *request; in hw_delay_complete()
199 static int mock_request_alloc(struct i915_request *request) in mock_request_alloc()
207 static int mock_emit_flush(struct i915_request *request, in mock_emit_flush()
213 static u32 *mock_emit_breadcrumb(struct i915_request *request, u32 *cs) in mock_emit_breadcrumb()
218 static void mock_submit_request(struct i915_request *request) in mock_submit_request()
238 static void mock_add_to_engine(struct i915_request *rq) in mock_add_to_engine()
244 static void mock_remove_from_engine(struct i915_request *rq) in mock_remove_from_engine()
[all …]
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()
Dintel_engine_heartbeat.c39 static struct i915_request *
42 struct i915_request *rq; in heartbeat_create()
51 static void idle_pulse(struct intel_engine_cs *engine, struct i915_request *rq) in idle_pulse()
59 static void heartbeat_commit(struct i915_request *rq, in heartbeat_commit()
68 static void show_heartbeat(const struct i915_request *rq, in show_heartbeat()
88 reset_engine(struct intel_engine_cs *engine, struct i915_request *rq) in reset_engine()
113 struct i915_request *rq; in heartbeat()
250 struct i915_request *rq; in __intel_engine_pulse()
341 struct i915_request *rq; in intel_engine_flush_barriers()
Dintel_breadcrumbs.c105 check_signal_order(struct intel_context *ce, struct i915_request *rq) in check_signal_order()
206 struct i915_request *rq; in signal_irq_work()
244 struct i915_request *rq = in signal_irq_work()
332 static void irq_signal_request(struct i915_request *rq, in irq_signal_request()
343 static void insert_breadcrumb(struct i915_request *rq) in insert_breadcrumb()
382 struct i915_request *it = in insert_breadcrumb()
404 bool i915_request_enable_breadcrumb(struct i915_request *rq) in i915_request_enable_breadcrumb()
429 void i915_request_cancel_breadcrumb(struct i915_request *rq) in i915_request_cancel_breadcrumb()
456 struct i915_request *rq, *rn; in intel_context_remove_breadcrumbs()
489 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()
Dselftest_execlists.c27 static bool is_active(struct i915_request *rq) in is_active()
42 struct i915_request *rq, in wait_for_submit()
68 struct i915_request *rq, in wait_for_reset()
126 struct i915_request *rq; in live_sanitycheck()
183 struct i915_request *rq[2]; in live_unlite_restore()
345 struct i915_request *rq; in live_unlite_ring()
406 struct i915_request *tmp; in live_unlite_ring()
494 struct i915_request *rq; in live_pin_rewind()
602 struct i915_request *rq; in live_hold_reset()
714 struct i915_request *client[ARRAY_SIZE(phases->error)]; in live_error_interrupt()
[all …]
Dselftest_timeline.c452 static int emit_ggtt_store_dw(struct i915_request *rq, u32 addr, u32 value) in emit_ggtt_store_dw()
482 static struct i915_request *
485 struct i915_request *rq; in checked_tl_write()
552 struct i915_request *rq; in live_hwsp_engine()
622 struct i915_request *rq; in live_hwsp_alternate()
694 struct i915_request *rq; in live_hwsp_wrap()
776 static int emit_read_hwsp(struct i915_request *rq, in emit_read_hwsp()
811 struct i915_request *rq;
852 static void switch_tl_lock(struct i915_request *from, struct i915_request *to) in switch_tl_lock()
893 struct i915_request *rq = fetch_and_zero(&w->rq); in check_watcher()
[all …]
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);
/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.c70 struct i915_request *request; in igt_add_request()
87 struct i915_request *request; in igt_wait_request()
156 struct i915_request *request; in igt_fence_wait()
206 struct i915_request *request, *vip; in igt_request_rewind()
276 struct i915_request *(*request_alloc)(struct intel_context *ce);
279 static struct i915_request *
285 static struct i915_request *
306 struct i915_request **requests; in __igt_breadcrumbs_smoketest()
356 struct i915_request *rq; in __igt_breadcrumbs_smoketest()
395 struct i915_request *rq = requests[count - 1]; in __igt_breadcrumbs_smoketest()
[all …]

12345