Home
last modified time | relevance | path

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

12

/Linux-v4.19/drivers/gpu/drm/i915/
Di915_gem_context.h62 struct i915_gem_context { struct
155 struct i915_gem_context *gem_context; argument
199 static inline bool i915_gem_context_is_closed(const struct i915_gem_context *ctx) in i915_gem_context_is_closed() argument
204 static inline void i915_gem_context_set_closed(struct i915_gem_context *ctx) in i915_gem_context_set_closed()
210 static inline bool i915_gem_context_no_error_capture(const struct i915_gem_context *ctx) in i915_gem_context_no_error_capture()
215 static inline void i915_gem_context_set_no_error_capture(struct i915_gem_context *ctx) in i915_gem_context_set_no_error_capture()
220 static inline void i915_gem_context_clear_no_error_capture(struct i915_gem_context *ctx) in i915_gem_context_clear_no_error_capture()
225 static inline bool i915_gem_context_is_bannable(const struct i915_gem_context *ctx) in i915_gem_context_is_bannable()
230 static inline void i915_gem_context_set_bannable(struct i915_gem_context *ctx) in i915_gem_context_set_bannable()
235 static inline void i915_gem_context_clear_bannable(struct i915_gem_context *ctx) in i915_gem_context_clear_bannable()
[all …]
Di915_gem_context.c97 static void lut_close(struct i915_gem_context *ctx) in lut_close()
118 static void i915_gem_context_free(struct i915_gem_context *ctx) in i915_gem_context_free()
146 struct i915_gem_context *ctx, *cn; in contexts_free()
156 struct i915_gem_context *ctx; in contexts_free_first()
181 struct i915_gem_context *ctx = container_of(ref, typeof(*ctx), ref); in i915_gem_context_release()
189 static void context_close(struct i915_gem_context *ctx) in context_close()
267 static struct i915_gem_context *
271 struct i915_gem_context *ctx; in __create_hw_context()
352 static void __destroy_hw_context(struct i915_gem_context *ctx, in __destroy_hw_context()
359 static struct i915_gem_context *
[all …]
Dintel_guc_submission.h58 struct i915_gem_context *owner;
Dintel_lrc.h103 struct i915_gem_context;
Di915_request.h96 struct i915_gem_context *gem_context;
196 struct i915_gem_context *ctx);
Dintel_lrc.c167 static int execlists_context_deferred_alloc(struct i915_gem_context *ctx,
171 struct i915_gem_context *ctx,
221 intel_lr_context_descriptor_update(struct i915_gem_context *ctx, in intel_lr_context_descriptor_update()
1289 static int __context_pin(struct i915_gem_context *ctx, struct i915_vma *vma) in __context_pin()
1314 struct i915_gem_context *ctx, in __execlists_context_pin()
1367 struct i915_gem_context *ctx) in execlists_context_pin()
2567 struct i915_gem_context *ctx, in execlists_init_reg_state()
2660 populate_lr_context(struct i915_gem_context *ctx, in populate_lr_context()
2720 static int execlists_context_deferred_alloc(struct i915_gem_context *ctx, in execlists_context_deferred_alloc()
2786 struct i915_gem_context *ctx; in intel_lr_context_resume()
Di915_trace.h945 TP_PROTO(struct i915_gem_context *ctx),
950 __field(struct i915_gem_context *, ctx)
967 TP_PROTO(struct i915_gem_context *ctx),
972 TP_PROTO(struct i915_gem_context *ctx),
Di915_gem_object.h50 struct i915_gem_context *ctx;
DMakefile61 i915_gem_context.o \
Dintel_ringbuffer.c1192 static int __context_pin_ppgtt(struct i915_gem_context *ctx) in __context_pin_ppgtt()
1204 static void __context_unpin_ppgtt(struct i915_gem_context *ctx) in __context_unpin_ppgtt()
1338 struct i915_gem_context *ctx, in __ring_context_pin()
1385 struct i915_gem_context *ctx) in intel_ring_context_pin()
1669 struct i915_gem_context *ctx = rq->gem_context; in switch_context()
Di915_drv.h1444 struct i915_gem_context *ctx;
1629 struct i915_gem_context *kernel_context;
1631 struct i915_gem_context *preempt_context;
3216 static inline struct i915_gem_context *
3222 static inline struct i915_gem_context *
3225 struct i915_gem_context *ctx; in i915_gem_context_lookup()
3243 struct i915_gem_context *ctx,
Di915_perf.c1202 struct i915_gem_context *ctx) in oa_pin_context()
1633 static void gen8_update_reg_state_unlocked(struct i915_gem_context *ctx, in gen8_update_reg_state_unlocked()
1815 struct i915_gem_context *ctx; in gen8_configure_all_contexts()
1944 struct i915_gem_context *ctx = in gen7_oa_enable()
2233 struct i915_gem_context *ctx, in i915_oa_init_reg_state()
2640 struct i915_gem_context *specific_ctx = NULL; in i915_perf_open_ioctl_locked()
Dintel_ringbuffer.h146 struct i915_gem_context;
463 struct i915_gem_context *ctx);
/Linux-v4.19/drivers/gpu/drm/i915/selftests/
Dmock_context.h30 struct i915_gem_context *
34 void mock_context_close(struct i915_gem_context *ctx);
36 struct i915_gem_context *
39 struct i915_gem_context *kernel_context(struct drm_i915_private *i915);
40 void kernel_context_close(struct i915_gem_context *ctx);
Dmock_context.c28 struct i915_gem_context *
32 struct i915_gem_context *ctx; in mock_context()
81 void mock_context_close(struct i915_gem_context *ctx) in mock_context_close()
95 struct i915_gem_context *
103 struct i915_gem_context *
109 void kernel_context_close(struct i915_gem_context *ctx) in kernel_context_close()
Dintel_workarounds.c13 read_nonprivs(struct i915_gem_context *ctx, struct intel_engine_cs *engine) in read_nonprivs()
111 struct i915_gem_context *ctx, in check_whitelist()
171 struct i915_gem_context *ctx; in switch_to_scratch_context()
193 struct i915_gem_context *ctx; in check_whitelist_across_reset()
Di915_gem_context.c113 struct i915_gem_context *ctx, in gpu_fill()
292 create_test_object(struct i915_gem_context *ctx, in create_test_object()
364 struct i915_gem_context *ctx; in igt_ctx_exec()
444 struct i915_gem_context *ctx; in igt_ctx_readonly()
557 struct i915_gem_context *ctx, in __igt_switch_to_kernel_context()
627 struct i915_gem_context *ctx; in igt_switch_to_kernel_context()
Dintel_lrc.c152 struct i915_gem_context *ctx, in spinner_create_request()
215 struct i915_gem_context *ctx; in live_sanitycheck()
271 struct i915_gem_context *ctx_hi, *ctx_lo; in live_preempt()
360 struct i915_gem_context *ctx_hi, *ctx_lo; in live_late_preempt()
457 struct i915_gem_context *ctx_hi, *ctx_lo; in live_preempt_hang()
Dmock_request.h41 struct i915_gem_context *context,
Dmock_request.c30 struct i915_gem_context *context, in mock_request()
Dhuge_pages.c965 struct i915_gem_context *ctx, in gpu_write()
1047 static int __igt_write_huge(struct i915_gem_context *ctx, in __igt_write_huge()
1104 static int igt_write_huge(struct i915_gem_context *ctx, in igt_write_huge()
1188 struct i915_gem_context *ctx = arg; in igt_ppgtt_exhaust_huge()
1289 struct i915_gem_context *ctx = arg; in igt_ppgtt_internal_huge()
1354 struct i915_gem_context *ctx = arg; in igt_ppgtt_gemfs_huge()
1418 struct i915_gem_context *ctx = arg; in igt_ppgtt_pin_update()
1540 struct i915_gem_context *ctx = arg; in igt_tmpfs_fallback()
1598 struct i915_gem_context *ctx = arg; in igt_shrink_thp()
1750 struct i915_gem_context *ctx; in i915_gem_huge_page_live_selftests()
Di915_vma.c34 struct i915_gem_context *ctx) in assert_vma()
107 struct i915_gem_context *ctx; in create_vmas()
146 struct i915_gem_context *ctx, *cn; in igt_vma_create()
Dintel_guc.c76 struct i915_gem_context *ctx_owner = is_preempt_client ? in validate_client()
Dmock_engine.c92 struct i915_gem_context *ctx) in mock_context_pin()
Di915_request.c189 struct i915_gem_context *ctx[2]; in igt_request_rewind()
559 struct i915_gem_context *ctx = i915->kernel_context; in recursive_batch()

12