Home
last modified time | relevance | path

Searched refs:i915_vma (Results 1 – 25 of 95) sorted by relevance

1234

/drivers/gpu/drm/i915/
Di915_vma.h42 struct i915_vma *
47 void i915_vma_unpin_and_release(struct i915_vma **p_vma, unsigned int flags);
50 static inline bool i915_vma_is_active(const struct i915_vma *vma) in i915_vma_is_active()
58 int __must_check __i915_vma_move_to_active(struct i915_vma *vma,
60 int __must_check i915_vma_move_to_active(struct i915_vma *vma,
66 static inline bool i915_vma_is_ggtt(const struct i915_vma *vma) in i915_vma_is_ggtt()
71 static inline bool i915_vma_is_dpt(const struct i915_vma *vma) in i915_vma_is_dpt()
76 static inline bool i915_vma_has_ggtt_write(const struct i915_vma *vma) in i915_vma_has_ggtt_write()
81 static inline void i915_vma_set_ggtt_write(struct i915_vma *vma) in i915_vma_set_ggtt_write()
87 static inline bool i915_vma_unset_ggtt_write(struct i915_vma *vma) in i915_vma_unset_ggtt_write()
[all …]
Di915_vma.c43 struct i915_vma *i915_vma_alloc(void) in i915_vma_alloc()
48 void i915_vma_free(struct i915_vma *vma) in i915_vma_free()
57 static void vma_print_allocator(struct i915_vma *vma, const char *reason) in vma_print_allocator()
77 static void vma_print_allocator(struct i915_vma *vma, const char *reason) in vma_print_allocator()
83 static inline struct i915_vma *active_to_vma(struct i915_active *ref) in active_to_vma()
85 return container_of(ref, typeof(struct i915_vma), active); in active_to_vma()
98 static struct i915_vma *
103 struct i915_vma *pos = ERR_PTR(-E2BIG); in vma_create()
104 struct i915_vma *vma; in vma_create()
187 pos = rb_entry(rb, struct i915_vma, obj_node); in vma_create()
[all …]
Di915_gem_evict.c54 struct i915_vma *vma, in mark_free()
65 static bool defer_evict(struct i915_vma *vma) in defer_evict()
108 struct i915_vma *vma, *next; in i915_gem_evict_something()
111 struct i915_vma *active; in i915_gem_evict_something()
240 vma = container_of(node, struct i915_vma, node); in i915_gem_evict_something()
271 struct i915_vma *vma, *next; in i915_gem_evict_for_node()
389 struct i915_vma *vma, *vn; in i915_gem_evict_vm()
Di915_perf_types.h29 struct i915_vma;
248 struct i915_vma *vma;
308 struct i915_vma *noa_wait;
Di915_gem.c93 struct i915_vma *vma; in i915_gem_get_aperture_ioctl()
118 struct i915_vma *vma; in i915_gem_object_unbind()
136 struct i915_vma, in i915_gem_object_unbind()
287 static struct i915_vma *i915_gem_gtt_prepare(struct drm_i915_gem_object *obj, in i915_gem_gtt_prepare()
293 struct i915_vma *vma; in i915_gem_gtt_prepare()
350 struct i915_vma *vma) in i915_gem_gtt_cleanup()
373 struct i915_vma *vma; in i915_gem_gtt_pread()
529 struct i915_vma *vma; in i915_gem_gtt_pwrite_fast()
857 static void discard_ggtt_vma(struct i915_vma *vma) in discard_ggtt_vma()
869 struct i915_vma *
[all …]
/drivers/gpu/drm/i915/gem/selftests/
Digt_gem_utils.h14 struct i915_vma;
22 struct i915_vma *
23 igt_emit_store_dw(struct i915_vma *vma,
29 struct i915_vma *vma, u64 offset,
Digt_gem_utils.c40 struct i915_vma *
41 igt_emit_store_dw(struct i915_vma *vma, in igt_emit_store_dw()
111 struct i915_vma *vma, u64 offset, in igt_gpu_fill_dw()
115 struct i915_vma *batch; in igt_gpu_fill_dw()
Di915_gem_client_blt.c24 struct i915_vma *vma;
33 struct i915_vma *batch;
118 static struct i915_vma *
123 struct i915_vma *vma; in __create_vma()
139 static struct i915_vma *create_vma(struct tiled_blits *t, bool lmem) in create_vma()
165 struct i915_vma *vma; in tiled_blits_create_buffers()
294 static int move_to_active(struct i915_vma *vma, in move_to_active()
309 static int pin_buffer(struct i915_vma *vma, u64 addr) in pin_buffer()
/drivers/gpu/drm/i915/gt/
Dintel_gtt.h145 struct i915_vma;
200 struct i915_vma *vma,
208 struct i915_vma *vma);
210 int (*set_pages)(struct i915_vma *vma);
211 void (*clear_pages)(struct i915_vma *vma);
283 struct i915_vma *vma,
592 int ggtt_set_pages(struct i915_vma *vma);
593 int ppgtt_set_pages(struct i915_vma *vma);
594 void clear_pages(struct i915_vma *vma);
598 struct i915_vma *vma,
[all …]
Dselftest_lrc.c28 static struct i915_vma *create_scratch(struct intel_gt *gt) in create_scratch()
359 struct i915_vma *scratch) in __live_lrc_state()
464 struct i915_vma *scratch; in live_lrc_state()
522 __gpr_read(struct intel_context *ce, struct i915_vma *scratch, u32 *slot) in __gpr_read()
577 struct i915_vma *scratch, in __live_lrc_gpr()
662 struct i915_vma *scratch; in live_lrc_gpr()
886 static struct i915_vma *
890 struct i915_vma *vma; in create_user_vma()
912 static struct i915_vma *
913 store_context(struct intel_context *ce, struct i915_vma *scratch) in store_context()
[all …]
Dselftest_engine_cs.c67 static struct i915_vma *create_empty_batch(struct intel_context *ce) in create_empty_batch()
70 struct i915_vma *vma; in create_empty_batch()
134 struct i915_vma *batch; in perf_mi_bb_start()
203 static struct i915_vma *create_nop_batch(struct intel_context *ce) in create_nop_batch()
206 struct i915_vma *vma; in create_nop_batch()
258 struct i915_vma *base, *nop; in perf_mi_noop()
Dgen7_renderclear.h10 struct i915_vma;
13 struct i915_vma * const vma);
Dintel_ring.c34 struct i915_vma *vma = ring->vma; in intel_ring_pin()
93 struct i915_vma *vma = ring->vma; in intel_ring_unpin()
108 static struct i915_vma *create_ring_vma(struct i915_ggtt *ggtt, int size) in create_ring_vma()
113 struct i915_vma *vma; in create_ring_vma()
146 struct i915_vma *vma; in intel_engine_create_ring()
Dintel_ring_types.h22 struct i915_vma;
26 struct i915_vma *vma;
Dselftest_ring_submission.c9 static struct i915_vma *create_wally(struct intel_engine_cs *engine) in create_wally()
12 struct i915_vma *vma; in create_wally()
207 struct i915_vma *bb; in __live_ctx_switch_wa()
263 struct i915_vma *saved_wa; in live_ctx_switch_wa()
Dintel_timeline_types.h17 struct i915_vma;
48 struct i915_vma *hwsp_ggtt;
Dintel_gtt.c96 struct i915_vma *vma, *vn; in __i915_vm_close()
223 void clear_pages(struct i915_vma *vma) in clear_pages()
540 struct i915_vma *
544 struct i915_vma *vma; in __vm_create_scratch_for_read()
561 struct i915_vma *
564 struct i915_vma *vma; in __vm_create_scratch_for_read_pinned()
Dintel_ggtt_fencing.h16 struct i915_vma;
25 struct i915_vma *vma;
/drivers/gpu/drm/i915/selftests/
Dmock_gtt.c36 struct i915_vma *vma, in mock_insert_entries()
43 struct i915_vma *vma, in mock_bind_ppgtt()
52 struct i915_vma *vma) in mock_unbind_ppgtt()
97 struct i915_vma *vma, in mock_bind_ggtt()
104 struct i915_vma *vma) in mock_unbind_ggtt()
Di915_vma.c36 static bool assert_vma(struct i915_vma *vma, in assert_vma()
62 static struct i915_vma *
67 struct i915_vma *vma; in checked_vma_instance()
118 struct i915_vma *vma; in create_vmas()
220 bool (*assert)(const struct i915_vma *,
226 static bool assert_pin_valid(const struct i915_vma *vma, in assert_pin_valid()
240 static bool assert_pin_enospc(const struct i915_vma *vma, in assert_pin_enospc()
248 static bool assert_pin_einval(const struct i915_vma *vma, in assert_pin_einval()
311 struct i915_vma *vma; in igt_vma_pin1()
615 struct i915_vma *vma; in igt_vma_rotate_remap()
[all …]
/drivers/gpu/drm/i915/display/
Dintel_dpt.c16 struct i915_vma *vma;
51 struct i915_vma *vma, in dpt_insert_entries()
79 struct i915_vma *vma, in dpt_bind_vma()
105 static void dpt_unbind_vma(struct i915_address_space *vm, struct i915_vma *vma) in dpt_unbind_vma()
117 struct i915_vma *intel_dpt_pin(struct i915_address_space *vm) in intel_dpt_pin()
122 struct i915_vma *vma; in intel_dpt_pin()
Dintel_dpt.h10 struct i915_vma;
14 struct i915_vma *intel_dpt_pin(struct i915_address_space *vm);
Dintel_dsb.h14 struct i915_vma;
27 struct i915_vma *vma;
/drivers/gpu/drm/i915/gt/uc/
Dintel_guc.h65 struct i915_vma *ads_vma;
70 struct i915_vma *lrc_desc_pool;
181 struct i915_vma *vma) in intel_guc_ggtt_offset()
205 struct i915_vma *intel_guc_allocate_vma(struct intel_guc *guc, u32 size);
207 struct i915_vma **out_vma, void **out_vaddr);
/drivers/gpu/drm/i915/gem/
Di915_gem_execbuffer.c32 struct i915_vma *vma;
253 struct i915_vma *trampoline; /** trampoline used for chaining */
361 const struct i915_vma *vma, in eb_vma_misplaced()
420 struct i915_vma *vma = ev->vma; in eb_pin_vma()
486 struct i915_vma *vma) in eb_validate_vma()
539 struct i915_vma *vma) in eb_add_vma()
600 struct i915_vma *vma = ev->vma; in eb_reserve_vma()
743 u32 handle, struct i915_vma *vma) in __eb_add_lut()
796 static struct i915_vma *eb_lookup_vma(struct i915_execbuffer *eb, u32 handle) in eb_lookup_vma()
802 struct i915_vma *vma; in eb_lookup_vma()
[all …]

1234