Home
last modified time | relevance | path

Searched refs:i915_gem_context (Results 1 – 25 of 39) sorted by relevance

12

/Linux-v5.4/drivers/gpu/drm/i915/gem/
Di915_gem_context.h21 static inline bool i915_gem_context_is_closed(const struct i915_gem_context *ctx) in i915_gem_context_is_closed()
26 static inline void i915_gem_context_set_closed(struct i915_gem_context *ctx) in i915_gem_context_set_closed()
32 static inline bool i915_gem_context_no_error_capture(const struct i915_gem_context *ctx) in i915_gem_context_no_error_capture()
37 static inline void i915_gem_context_set_no_error_capture(struct i915_gem_context *ctx) in i915_gem_context_set_no_error_capture()
42 static inline void i915_gem_context_clear_no_error_capture(struct i915_gem_context *ctx) in i915_gem_context_clear_no_error_capture()
47 static inline bool i915_gem_context_is_bannable(const struct i915_gem_context *ctx) in i915_gem_context_is_bannable()
52 static inline void i915_gem_context_set_bannable(struct i915_gem_context *ctx) in i915_gem_context_set_bannable()
57 static inline void i915_gem_context_clear_bannable(struct i915_gem_context *ctx) in i915_gem_context_clear_bannable()
62 static inline bool i915_gem_context_is_recoverable(const struct i915_gem_context *ctx) in i915_gem_context_is_recoverable()
67 static inline void i915_gem_context_set_recoverable(struct i915_gem_context *ctx) in i915_gem_context_set_recoverable()
[all …]
Di915_gem_context.c97 static void lut_close(struct i915_gem_context *ctx) in lut_close()
143 lookup_user_engine(struct i915_gem_context *ctx, in lookup_user_engine()
194 struct i915_gem_context *ctx, *cn; in steal_hw_id()
246 static void release_hw_id(struct i915_gem_context *ctx) in release_hw_id()
282 static struct i915_gem_engines *default_engines(struct i915_gem_context *ctx) in default_engines()
310 static void i915_gem_context_free(struct i915_gem_context *ctx) in i915_gem_context_free()
339 struct i915_gem_context *ctx, *cn; in contexts_free()
349 struct i915_gem_context *ctx; in contexts_free_first()
374 struct i915_gem_context *ctx = container_of(ref, typeof(*ctx), ref); in i915_gem_context_release()
382 static void context_close(struct i915_gem_context *ctx) in context_close()
[all …]
Di915_gem_context_types.h49 struct i915_gem_context { struct
Di915_gem_object.c101 struct i915_gem_context *ctx = lut->ctx; in i915_gem_close_object()
112 struct i915_gem_context *ctx = lut->ctx; in i915_gem_close_object()
Di915_gem_object_types.h26 struct i915_gem_context *ctx;
/Linux-v5.4/drivers/gpu/drm/i915/gem/selftests/
Dmock_context.h12 struct i915_gem_context *
16 void mock_context_close(struct i915_gem_context *ctx);
18 struct i915_gem_context *
21 struct i915_gem_context *kernel_context(struct drm_i915_private *i915);
22 void kernel_context_close(struct i915_gem_context *ctx);
Dmock_context.c10 struct i915_gem_context *
14 struct i915_gem_context *ctx; in mock_context()
69 void mock_context_close(struct i915_gem_context *ctx) in mock_context_close()
79 struct i915_gem_context *
82 struct i915_gem_context *ctx; in live_context()
102 struct i915_gem_context *
108 void kernel_context_close(struct i915_gem_context *ctx) in kernel_context_close()
Digt_gem_utils.h13 struct i915_gem_context;
18 igt_request_alloc(struct i915_gem_context *ctx, struct intel_engine_cs *engine);
27 struct i915_gem_context *ctx,
Di915_gem_context.c33 struct i915_gem_context **ctx; in live_nop_switch()
170 struct i915_gem_context *ctx, in gpu_fill()
308 create_test_object(struct i915_gem_context *ctx, in create_test_object()
395 struct i915_gem_context *ctx; in igt_ctx_exec()
462 struct i915_gem_context *parent; in igt_shared_ctx_exec()
511 struct i915_gem_context *ctx; in igt_shared_ctx_exec()
913 struct i915_gem_context *ctx; in __igt_ctx_sseu()
1045 struct i915_gem_context *ctx; in igt_ctx_readonly()
1149 static int check_scratch(struct i915_gem_context *ctx, u64 offset) in check_scratch()
1164 static int write_to_scratch(struct i915_gem_context *ctx, in write_to_scratch()
[all …]
Digt_gem_utils.c18 igt_request_alloc(struct i915_gem_context *ctx, struct intel_engine_cs *engine) in igt_request_alloc()
105 struct i915_gem_context *ctx, in igt_gpu_fill_dw()
Dhuge_pages.c883 struct i915_gem_context *ctx, in gpu_write()
932 static int __igt_write_huge(struct i915_gem_context *ctx, in __igt_write_huge()
987 static int igt_write_huge(struct i915_gem_context *ctx, in igt_write_huge()
1084 struct i915_gem_context *ctx = arg; in igt_ppgtt_exhaust_huge()
1185 struct i915_gem_context *ctx = arg; in igt_ppgtt_internal_huge()
1250 struct i915_gem_context *ctx = arg; in igt_ppgtt_gemfs_huge()
1314 struct i915_gem_context *ctx = arg; in igt_ppgtt_pin_update()
1448 struct i915_gem_context *ctx = arg; in igt_tmpfs_fallback()
1506 struct i915_gem_context *ctx = arg; in igt_shrink_thp()
1663 struct i915_gem_context *ctx; in i915_gem_huge_page_live_selftests()
/Linux-v5.4/drivers/gpu/drm/i915/gt/
Dintel_lrc.h32 struct i915_gem_context;
122 intel_execlists_create_virtual(struct i915_gem_context *ctx,
127 intel_execlists_clone_virtual(struct i915_gem_context *ctx,
Dselftest_context.c69 struct i915_gem_context *fixme) in __live_context_size()
147 struct i915_gem_context *fixme; in live_context_size()
208 struct i915_gem_context *fixme) in __live_active_context()
297 struct i915_gem_context *fixme; in live_active_context()
359 struct i915_gem_context *fixme) in __live_remote_context()
410 struct i915_gem_context *fixme; in live_remote_context()
Dintel_context_types.h20 struct i915_gem_context;
47 struct i915_gem_context *gem_context;
Dselftest_workarounds.c74 read_nonprivs(struct i915_gem_context *ctx, struct intel_engine_cs *engine) in read_nonprivs()
179 static int check_whitelist(struct i915_gem_context *ctx, in check_whitelist()
243 struct i915_gem_context *ctx; in switch_to_scratch_context()
290 struct i915_gem_context *ctx, *tmp; in check_whitelist_across_reset()
355 static struct i915_vma *create_batch(struct i915_gem_context *ctx) in create_batch()
437 static int check_dirty_whitelist(struct i915_gem_context *ctx, in check_dirty_whitelist()
684 struct i915_gem_context *ctx; in live_dirty_whitelist()
763 static int read_whitelisted_registers(struct i915_gem_context *ctx, in read_whitelisted_registers()
808 static int scrub_whitelisted_registers(struct i915_gem_context *ctx, in scrub_whitelisted_registers()
978 struct i915_gem_context *ctx; in live_isolated_whitelist()
[all …]
Dintel_context.h18 struct i915_gem_context *ctx,
23 intel_context_create(struct i915_gem_context *ctx,
Dselftest_lrc.c26 struct i915_gem_context *ctx; in live_sanitycheck()
122 struct i915_gem_context *ctx; in semaphore_queue()
305 struct i915_gem_context *ctx_hi, *ctx_lo; in live_busywait_preempt()
486 struct i915_gem_context *ctx, in spinner_create_request()
505 struct i915_gem_context *ctx_hi, *ctx_lo; in live_preempt()
611 struct i915_gem_context *ctx_hi, *ctx_lo; in live_late_preempt()
723 struct i915_gem_context *ctx;
1293 struct i915_gem_context *ctx_hi, *ctx_lo; in live_preempt_hang()
1420 struct i915_gem_context **contexts;
1428 static struct i915_gem_context *smoke_context(struct preempt_smoke *smoke) in smoke_context()
[all …]
Dintel_context.c33 intel_context_create(struct i915_gem_context *ctx, in intel_context_create()
219 struct i915_gem_context *ctx, in intel_context_init()
Dintel_reset.c43 struct i915_gem_context *hung_ctx = rq->gem_context; in engine_skip_context()
55 const struct i915_gem_context *ctx) in client_mark_guilty()
78 static bool context_mark_guilty(struct i915_gem_context *ctx) in context_mark_guilty()
112 static void context_mark_innocent(struct i915_gem_context *ctx) in context_mark_innocent()
Dselftest_hangcheck.c48 struct i915_gem_context *ctx;
373 struct i915_gem_context *ctx; in igt_reset_nop()
454 struct i915_gem_context *ctx; in igt_reset_nop_engine()
718 struct i915_gem_context *ctx[ARRAY_SIZE(rq)]; in active_engine()
1342 struct i915_gem_context *ctx; in igt_reset_evict_ppgtt()
/Linux-v5.4/drivers/gpu/drm/i915/selftests/
Di915_gem.c19 struct i915_gem_context *ctx) in switch_to_context()
134 struct i915_gem_context *ctx; in igt_gem_suspend()
173 struct i915_gem_context *ctx; in igt_gem_hibernate()
Di915_request.c196 struct i915_gem_context *ctx[2]; in igt_request_rewind()
264 struct i915_gem_context **contexts;
335 struct i915_gem_context *ctx = in __igt_breadcrumbs_smoketest()
763 struct i915_gem_context *ctx = i915->kernel_context; in recursive_batch()
1066 max_batches(struct i915_gem_context *ctx, struct intel_engine_cs *engine) in max_batches()
/Linux-v5.4/drivers/gpu/drm/i915/
Di915_drv.h1110 struct i915_gem_context *ctx;
1348 struct i915_gem_context *kernel_context;
2359 static inline struct i915_gem_context *
2365 static inline struct i915_gem_context *
2368 struct i915_gem_context *ctx; in i915_gem_context_lookup()
2415 int intel_engine_cmd_parser(struct i915_gem_context *cxt,
Di915_request.h112 struct i915_gem_context *gem_context;
Di915_trace.h955 TP_PROTO(struct i915_gem_context *ctx),
960 __field(struct i915_gem_context *, ctx)
977 TP_PROTO(struct i915_gem_context *ctx),
982 TP_PROTO(struct i915_gem_context *ctx),

12