Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gem/
Di915_gem_context.h22 static inline bool i915_gem_context_is_closed(const struct i915_gem_context *ctx) in i915_gem_context_is_closed()
27 static inline void i915_gem_context_set_closed(struct i915_gem_context *ctx) in i915_gem_context_set_closed()
33 static inline bool i915_gem_context_no_error_capture(const struct i915_gem_context *ctx) in i915_gem_context_no_error_capture()
38 static inline void i915_gem_context_set_no_error_capture(struct i915_gem_context *ctx) in i915_gem_context_set_no_error_capture()
43 static inline void i915_gem_context_clear_no_error_capture(struct i915_gem_context *ctx) in i915_gem_context_clear_no_error_capture()
48 static inline bool i915_gem_context_is_bannable(const struct i915_gem_context *ctx) in i915_gem_context_is_bannable()
53 static inline void i915_gem_context_set_bannable(struct i915_gem_context *ctx) in i915_gem_context_set_bannable()
58 static inline void i915_gem_context_clear_bannable(struct i915_gem_context *ctx) in i915_gem_context_clear_bannable()
63 static inline bool i915_gem_context_is_recoverable(const struct i915_gem_context *ctx) in i915_gem_context_is_recoverable()
68 static inline void i915_gem_context_set_recoverable(struct i915_gem_context *ctx) in i915_gem_context_set_recoverable()
[all …]
Di915_gem_context.c99 static void lut_close(struct i915_gem_context *ctx) in lut_close()
141 lookup_user_engine(struct i915_gem_context *ctx, in lookup_user_engine()
169 context_get_vm_rcu(struct i915_gem_context *ctx) in context_get_vm_rcu()
207 struct i915_gem_context *ctx) in intel_context_set_gem()
269 struct i915_gem_context *ctx = engines->ctx; in engines_notify()
300 static struct i915_gem_engines *default_engines(struct i915_gem_context *ctx) in default_engines()
336 static void i915_gem_context_free(struct i915_gem_context *ctx) in i915_gem_context_free()
358 struct i915_gem_context *ctx, *cn; in contexts_free_all()
379 struct i915_gem_context *ctx = container_of(ref, typeof(*ctx), ref); in i915_gem_context_release()
388 __context_engines_static(const struct i915_gem_context *ctx) in __context_engines_static()
[all …]
Di915_gem_context_types.h39 struct i915_gem_context *ctx;
55 struct i915_gem_context { struct
Di915_gem_throttle.c41 struct i915_gem_context *ctx; in i915_gem_throttle_ioctl()
Di915_gem_object.c115 struct i915_gem_context *ctx = lut->ctx; in i915_gem_close_object()
138 struct i915_gem_context *ctx = lut->ctx; in i915_gem_close_object()
Di915_gem_object_types.h27 struct i915_gem_context *ctx;
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gem/selftests/
Dmock_context.h16 struct i915_gem_context *
20 void mock_context_close(struct i915_gem_context *ctx);
22 struct i915_gem_context *
25 struct i915_gem_context *
28 struct i915_gem_context *kernel_context(struct drm_i915_private *i915);
29 void kernel_context_close(struct i915_gem_context *ctx);
Dmock_context.c11 struct i915_gem_context *
15 struct i915_gem_context *ctx; in mock_context()
70 void mock_context_close(struct i915_gem_context *ctx) in mock_context_close()
80 struct i915_gem_context *
83 struct i915_gem_context *ctx; in live_context()
104 struct i915_gem_context *
108 struct i915_gem_context *ctx; in live_context_for_engine()
141 struct i915_gem_context *
144 struct i915_gem_context *ctx; in kernel_context()
157 void kernel_context_close(struct i915_gem_context *ctx) in kernel_context_close()
Digt_gem_utils.h13 struct i915_gem_context;
20 igt_request_alloc(struct i915_gem_context *ctx, struct intel_engine_cs *engine);
Di915_gem_context.c30 static inline struct i915_address_space *ctx_vm(struct i915_gem_context *ctx) in ctx_vm()
41 struct i915_gem_context **ctx; in live_nop_switch()
284 struct i915_gem_context *ctx; in live_parallel_switch()
680 struct i915_gem_context *ctx; in igt_ctx_exec()
767 struct i915_gem_context *parent; in igt_shared_ctx_exec()
813 struct i915_gem_context *ctx; in igt_shared_ctx_exec()
1358 struct i915_gem_context *ctx; in igt_ctx_readonly()
1492 static int write_to_scratch(struct i915_gem_context *ctx, in write_to_scratch()
1587 static int read_from_scratch(struct i915_gem_context *ctx, in read_from_scratch()
1740 static int check_scratch_page(struct i915_gem_context *ctx, u32 *out) in check_scratch_page()
[all …]
Di915_gem_object_blt.c197 struct i915_gem_context *ctx;
209 struct i915_gem_context *ctx; in igt_fill_blt_thread()
327 struct i915_gem_context *ctx; in igt_copy_blt_thread()
Dhuge_pages.c1084 static int igt_write_huge(struct i915_gem_context *ctx, in igt_write_huge()
1244 struct i915_gem_context *ctx = arg; in igt_ppgtt_smoke_huge()
1328 struct i915_gem_context *ctx = arg; in igt_ppgtt_sanity_check()
1420 struct i915_gem_context *ctx = arg; in igt_tmpfs_fallback()
1477 struct i915_gem_context *ctx = arg; in igt_shrink_thp()
1632 struct i915_gem_context *ctx; in i915_gem_huge_page_live_selftests()
Digt_gem_utils.c19 igt_request_alloc(struct i915_gem_context *ctx, struct intel_engine_cs *engine) in igt_request_alloc()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/
Dintel_context_types.h25 struct i915_gem_context;
65 struct i915_gem_context __rcu *gem_context;
Dselftest_workarounds.c98 read_nonprivs(struct i915_gem_context *ctx, struct intel_engine_cs *engine) in read_nonprivs()
203 static int check_whitelist(struct i915_gem_context *ctx, in check_whitelist()
297 struct i915_gem_context *ctx, *tmp; in check_whitelist_across_reset()
789 static int read_whitelisted_registers(struct i915_gem_context *ctx, in read_whitelisted_registers()
837 static int scrub_whitelisted_registers(struct i915_gem_context *ctx, in scrub_whitelisted_registers()
1019 struct i915_gem_context *ctx; in live_isolated_whitelist()
1036 struct i915_gem_context *c; in live_isolated_whitelist()
1131 verify_wa_lists(struct i915_gem_context *ctx, struct wa_lists *lists, in verify_wa_lists()
1160 struct i915_gem_context *ctx; in live_gpu_reset_workarounds()
1204 struct i915_gem_context *ctx; in live_engine_reset_workarounds()
Dintel_lrc.h32 struct i915_gem_context;
Dintel_engine_types.h60 struct i915_gem_context;
Dintel_reset.c58 static void client_mark_guilty(struct i915_gem_context *ctx, bool banned) in client_mark_guilty()
87 struct i915_gem_context *ctx; in mark_guilty()
142 struct i915_gem_context *ctx; in mark_innocent()
Dselftest_lrc.c1534 struct i915_gem_context *ctx_hi, *ctx_lo; in live_busywait_preempt()
1720 struct i915_gem_context *ctx, in spinner_create_request()
1739 struct i915_gem_context *ctx_hi, *ctx_lo; in live_preempt()
1838 struct i915_gem_context *ctx_hi, *ctx_lo; in live_late_preempt()
1943 struct i915_gem_context *ctx;
3329 struct i915_gem_context *ctx_hi, *ctx_lo; in live_preempt_timeout()
3437 struct i915_gem_context **contexts;
3445 static struct i915_gem_context *smoke_context(struct preempt_smoke *smoke) in smoke_context()
3452 struct i915_gem_context *ctx, int prio, in smoke_submit()
3510 struct i915_gem_context *ctx = smoke_context(smoke); in smoke_crescendo_thread()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/selftests/
Di915_gem.c19 static int switch_to_context(struct i915_gem_context *ctx) in switch_to_context()
135 struct i915_gem_context *ctx; in igt_gem_suspend()
170 struct i915_gem_context *ctx; in igt_gem_hibernate()
Di915_vma.c38 struct i915_gem_context *ctx) in assert_vma()
111 struct i915_gem_context *ctx; in create_vmas()
153 struct i915_gem_context *ctx, *cn; in igt_vma_create()
Dintel_memory_region.c379 static int igt_gpu_write(struct i915_gem_context *ctx, in igt_gpu_write()
479 struct i915_gem_context *ctx; in igt_lmem_write_gpu()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/
Di915_perf_types.h26 struct i915_gem_context;
166 struct i915_gem_context *ctx;
Di915_trace.h1005 TP_PROTO(struct i915_gem_context *ctx),
1010 __field(struct i915_gem_context *, ctx)
1025 TP_PROTO(struct i915_gem_context *ctx),
1030 TP_PROTO(struct i915_gem_context *ctx),
Di915_request.h592 static inline struct i915_gem_context *

12