Home
last modified time | relevance | path

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

1234

/linux/drivers/gpu/drm/i915/
H A 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 …]
H A 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,
H A 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()
/linux/drivers/gpu/drm/i915/gt/
H A 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 …]
H A 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 …]
H A 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 …]
H A 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];
425 struct i915_request *request_pool;
447 struct i915_request *systole;
531 int (*request_alloc)(struct i915_request *rq);
533 int (*emit_flush)(struct i915_request *request, u32 mode);
537 int (*emit_bb_start)(struct i915_request *rq,
[all …]
H A 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 …]
H A 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 …]
H A 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);
H A 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 …]
H A 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()
H A 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()
H A Dintel_execlists_submission.h14 struct i915_request;
30 const struct i915_request *rq,
36 struct i915_request *hung_rq,
H A 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()
H A 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);
H A Dselftest_execlists.c28 static bool is_active(struct i915_request *rq) in is_active()
43 struct i915_request *rq, in wait_for_submit()
69 struct i915_request *rq, in wait_for_reset()
125 struct i915_request *rq; in live_sanitycheck()
182 struct i915_request *rq[2]; in live_unlite_restore()
344 struct i915_request *rq; in live_unlite_ring()
405 struct i915_request *tmp; in live_unlite_ring()
493 struct i915_request *rq; in live_pin_rewind()
601 struct i915_request *rq; in live_hold_reset()
713 struct i915_request *client[ARRAY_SIZE(phases->error)]; in live_error_interrupt()
[all …]
H A Dselftest_timeline.c454 static int emit_ggtt_store_dw(struct i915_request *rq, u32 addr, u32 value) in emit_ggtt_store_dw()
484 static struct i915_request *
487 struct i915_request *rq; in checked_tl_write()
554 struct i915_request *rq; in live_hwsp_engine()
624 struct i915_request *rq; in live_hwsp_alternate()
696 struct i915_request *rq; in live_hwsp_wrap()
778 static int emit_read_hwsp(struct i915_request *rq, in emit_read_hwsp()
813 struct i915_request *rq;
858 static void switch_tl_lock(struct i915_request *from, struct i915_request *to) in switch_tl_lock()
899 struct i915_request *rq = fetch_and_zero(&w->rq); in check_watcher()
[all …]
H A Dselftest_mocs.c38 static int request_add_sync(struct i915_request *rq, int err) in request_add_sync()
49 static int request_add_spin(struct i915_request *rq, struct igt_spinner *spin) in request_add_spin()
102 static int read_regs(struct i915_request *rq, in read_regs()
130 static int read_mocs_table(struct i915_request *rq, in read_mocs_table()
148 static int read_l3cc_table(struct i915_request *rq, in read_l3cc_table()
221 struct i915_request *rq; in check_mocs_engine()
324 struct i915_request *rq; in active_engine_reset()
H A Dselftest_migrate.c41 struct i915_request **out), in copy()
46 struct i915_request *rq; in copy()
142 struct i915_request **out) in intel_context_copy_ccs()
147 struct i915_request *rq; in intel_context_copy_ccs()
228 struct i915_request **out) in intel_migrate_ccs_copy()
260 struct i915_request **out), in clear()
265 struct i915_request *rq; in clear()
414 struct i915_request **out) in __migrate_copy()
428 struct i915_request **out) in __global_copy()
454 struct i915_request **out) in __migrate_clear()
[all …]
/linux/drivers/gpu/drm/i915/selftests/
H A 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()
H A 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 …]
H A Dmock_request.h32 struct i915_request *
35 bool mock_cancel_request(struct i915_request *request);
/linux/drivers/gpu/drm/i915/gem/selftests/
H A 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()
/linux/drivers/gpu/drm/i915/gt/uc/
H A Dselftest_guc.c11 static int request_add_spin(struct i915_request *rq, struct igt_spinner *spin) in request_add_spin()
23 static struct i915_request *nop_user_request(struct intel_context *ce, in nop_user_request()
24 struct i915_request *from) in nop_user_request()
26 struct i915_request *rq; in nop_user_request()
54 struct i915_request *last[3] = {NULL, NULL, NULL}, *rq; in intel_guc_scrub_ctbs()
153 struct i915_request *spin_rq = NULL, *rq, *last = NULL; in intel_guc_steal_guc_ids()
315 struct i915_request *rq; in intel_guc_fast_request()

1234