Home
last modified time | relevance | path

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

12

/Linux-v5.10/drivers/gpu/drm/i915/gt/
Dintel_gtt.h192 void (*bind_vma)(struct i915_address_space *vm,
201 void (*unbind_vma)(struct i915_address_space *vm,
208 struct i915_address_space { struct
261 (*alloc_pt_dma)(struct i915_address_space *vm, int sz); argument
268 void (*allocate_va_range)(struct i915_address_space *vm, argument
271 void (*clear_range)(struct i915_address_space *vm, argument
273 void (*insert_page)(struct i915_address_space *vm, argument
278 void (*insert_entries)(struct i915_address_space *vm, argument
282 void (*cleanup)(struct i915_address_space *vm); argument
299 struct i915_address_space vm; argument
[all …]
Dintel_gtt.c14 struct drm_i915_gem_object *alloc_pt_dma(struct i915_address_space *vm, int sz) in alloc_pt_dma()
22 int pin_pt_dma(struct i915_address_space *vm, struct drm_i915_gem_object *obj) in pin_pt_dma()
34 void __i915_vm_close(struct i915_address_space *vm) in __i915_vm_close()
59 void i915_address_space_fini(struct i915_address_space *vm) in i915_address_space_fini()
67 struct i915_address_space *vm = in __i915_vm_release()
68 container_of(work, struct i915_address_space, rcu.work); in __i915_vm_release()
78 struct i915_address_space *vm = in i915_vm_release()
79 container_of(kref, struct i915_address_space, ref); in i915_vm_release()
87 void i915_address_space_init(struct i915_address_space *vm, int subclass) in i915_address_space_init()
165 int setup_scratch_page(struct i915_address_space *vm) in setup_scratch_page()
[all …]
Dintel_ppgtt.c13 struct i915_page_table *alloc_pt(struct i915_address_space *vm) in alloc_pt()
49 struct i915_page_directory *alloc_pd(struct i915_address_space *vm) in alloc_pd()
67 void free_px(struct i915_address_space *vm, struct i915_page_table *pt, int lvl) in free_px()
178 void ppgtt_bind_vma(struct i915_address_space *vm, in ppgtt_bind_vma()
200 void ppgtt_unbind_vma(struct i915_address_space *vm, struct i915_vma *vma) in ppgtt_unbind_vma()
212 int i915_vm_alloc_pt_stash(struct i915_address_space *vm, in i915_vm_alloc_pt_stash()
257 int i915_vm_pin_pt_stash(struct i915_address_space *vm, in i915_vm_pin_pt_stash()
274 void i915_vm_free_pt_stash(struct i915_address_space *vm, in i915_vm_free_pt_stash()
Dgen8_ppgtt.c146 gen8_pd_top_count(const struct i915_address_space *vm) in gen8_pd_top_count()
153 gen8_pdp_for_page_index(struct i915_address_space * const vm, const u64 idx) in gen8_pdp_for_page_index()
164 gen8_pdp_for_page_address(struct i915_address_space * const vm, const u64 addr) in gen8_pdp_for_page_address()
169 static void __gen8_ppgtt_cleanup(struct i915_address_space *vm, in __gen8_ppgtt_cleanup()
187 static void gen8_ppgtt_cleanup(struct i915_address_space *vm) in gen8_ppgtt_cleanup()
198 static u64 __gen8_ppgtt_clear(struct i915_address_space * const vm, in __gen8_ppgtt_clear()
257 static void gen8_ppgtt_clear(struct i915_address_space *vm, in gen8_ppgtt_clear()
272 static void __gen8_ppgtt_alloc(struct i915_address_space * const vm, in __gen8_ppgtt_alloc()
344 static void gen8_ppgtt_alloc(struct i915_address_space *vm, in gen8_ppgtt_alloc()
531 static void gen8_ppgtt_insert(struct i915_address_space *vm, in gen8_ppgtt_insert()
[all …]
Dintel_ggtt.c191 static void gen8_ggtt_insert_page(struct i915_address_space *vm, in gen8_ggtt_insert_page()
206 static void gen8_ggtt_insert_entries(struct i915_address_space *vm, in gen8_ggtt_insert_entries()
242 static void gen6_ggtt_insert_page(struct i915_address_space *vm, in gen6_ggtt_insert_page()
263 static void gen6_ggtt_insert_entries(struct i915_address_space *vm, in gen6_ggtt_insert_entries()
293 static void nop_clear_range(struct i915_address_space *vm, in nop_clear_range()
298 static void gen8_ggtt_clear_range(struct i915_address_space *vm, in gen8_ggtt_clear_range()
319 static void bxt_vtd_ggtt_wa(struct i915_address_space *vm) in bxt_vtd_ggtt_wa()
332 struct i915_address_space *vm;
348 static void bxt_vtd_ggtt_insert_page__BKL(struct i915_address_space *vm, in bxt_vtd_ggtt_insert_page__BKL()
360 struct i915_address_space *vm;
[all …]
Dgen6_ppgtt.c79 static void gen6_ppgtt_clear_range(struct i915_address_space *vm, in gen6_ppgtt_clear_range()
116 static void gen6_ppgtt_insert_entries(struct i915_address_space *vm, in gen6_ppgtt_insert_entries()
180 static void gen6_alloc_va_range(struct i915_address_space *vm, in gen6_alloc_va_range()
230 struct i915_address_space * const vm = &ppgtt->base.vm; in gen6_ppgtt_init_scratch()
273 static void gen6_ppgtt_cleanup(struct i915_address_space *vm) in gen6_ppgtt_cleanup()
301 static void pd_vma_bind(struct i915_address_space *vm, in pd_vma_bind()
317 static void pd_vma_unbind(struct i915_address_space *vm, struct i915_vma *vma) in pd_vma_unbind()
Dintel_ring_submission.c197 static struct i915_address_space *vm_alias(struct i915_address_space *vm) in vm_alias()
205 static u32 pp_dir(struct i915_address_space *vm) in pp_dir()
212 struct i915_address_space *vm = vm_alias(engine->gt->vm); in set_pp_dir()
484 struct i915_address_space *vm; in ring_context_pre_pin()
496 struct i915_address_space *vm; in __context_unpin_ppgtt()
622 struct i915_address_space *vm, in load_pd_dir()
821 static int switch_mm(struct i915_request *rq, struct i915_address_space *vm) in switch_mm()
Dintel_gt_types.h99 struct i915_address_space *vm;
Dintel_context_types.h64 struct i915_address_space *vm;
Dintel_gt.c377 static struct i915_address_space *kernel_vm(struct intel_gt *gt) in kernel_vm()
629 struct i915_address_space *vm; in intel_gt_driver_release()
/Linux-v5.10/drivers/gpu/drm/i915/selftests/
Dmock_gtt.c27 static void mock_insert_page(struct i915_address_space *vm, in mock_insert_page()
35 static void mock_insert_entries(struct i915_address_space *vm, in mock_insert_entries()
41 static void mock_bind_ppgtt(struct i915_address_space *vm, in mock_bind_ppgtt()
51 static void mock_unbind_ppgtt(struct i915_address_space *vm, in mock_unbind_ppgtt()
56 static void mock_cleanup(struct i915_address_space *vm) in mock_cleanup()
60 static void mock_clear_range(struct i915_address_space *vm, in mock_clear_range()
96 static void mock_bind_ggtt(struct i915_address_space *vm, in mock_bind_ggtt()
104 static void mock_unbind_ggtt(struct i915_address_space *vm, in mock_unbind_ggtt()
Di915_gem_gtt.c221 static int lowlevel_hole(struct i915_address_space *vm, in lowlevel_hole()
348 struct i915_address_space *vm) in close_object_list()
365 static int fill_hole(struct i915_address_space *vm, in fill_hole()
576 static int walk_hole(struct i915_address_space *vm, in walk_hole()
656 static int pot_hole(struct i915_address_space *vm, in pot_hole()
728 static int drunk_hole(struct i915_address_space *vm, in drunk_hole()
834 static int __shrink_hole(struct i915_address_space *vm, in __shrink_hole()
909 static int shrink_hole(struct i915_address_space *vm, in shrink_hole()
931 static int shrink_boom(struct i915_address_space *vm, in shrink_boom()
1010 int (*func)(struct i915_address_space *vm, in exercise_ppgtt()
[all …]
Di915_vma.c64 struct i915_address_space *vm, in checked_vma_instance()
117 struct i915_address_space *vm; in create_vmas()
479 struct i915_address_space *vm = &ggtt->vm; in igt_vma_rotate_remap()
701 struct i915_address_space *vm = &ggtt->vm; in igt_vma_partial()
/Linux-v5.10/drivers/gpu/drm/i915/
Di915_gem_gtt.h18 struct i915_address_space;
25 int i915_gem_gtt_reserve(struct i915_address_space *vm,
30 int i915_gem_gtt_insert(struct i915_address_space *vm,
Di915_trace.h522 __field(struct i915_address_space *, vm)
548 __field(struct i915_address_space *, vm)
655 TP_PROTO(struct i915_address_space *vm, u64 size, u64 align, unsigned int flags),
660 __field(struct i915_address_space *, vm)
680 TP_PROTO(struct i915_address_space *vm, struct drm_mm_node *node, unsigned int flags),
685 __field(struct i915_address_space *, vm)
708 TP_PROTO(struct i915_address_space *vm),
713 __field(struct i915_address_space *, vm)
971 TP_PROTO(struct i915_address_space *vm),
975 __field(struct i915_address_space *, vm)
[all …]
Di915_gem_evict.c88 i915_gem_evict_something(struct i915_address_space *vm, in i915_gem_evict_something()
251 int i915_gem_evict_for_node(struct i915_address_space *vm, in i915_gem_evict_for_node()
358 int i915_gem_evict_vm(struct i915_address_space *vm) in i915_gem_evict_vm()
Di915_gem_gtt.c101 int i915_gem_gtt_reserve(struct i915_address_space *vm, in i915_gem_gtt_reserve()
192 int i915_gem_gtt_insert(struct i915_address_space *vm, in i915_gem_gtt_insert()
Di915_vma.c104 struct i915_address_space *vm, in vma_create()
234 struct i915_address_space *vm, in vma_lookup()
272 struct i915_address_space *vm, in i915_vma_instance()
294 struct i915_address_space *vm;
1018 struct i915_address_space *vm = vma->vm; in i915_ggtt_pin()
1131 struct i915_address_space *vm = vma->vm; in i915_vma_parked()
1150 struct i915_address_space *vm = vma->vm; in i915_vma_parked()
1334 struct i915_address_space *vm = vma->vm; in i915_vma_unbind()
Di915_vma.h44 struct i915_address_space *vm,
153 struct i915_address_space *vm, in i915_vma_compare()
Di915_vma_types.h172 struct i915_address_space *vm;
/Linux-v5.10/drivers/gpu/drm/i915/gem/
Di915_gem_context_types.h29 struct i915_address_space;
97 struct i915_address_space __rcu *vm;
Di915_gem_context.h149 static inline struct i915_address_space *
155 static inline struct i915_address_space *
158 struct i915_address_space *vm; in i915_gem_context_get_vm_rcu()
Di915_gem_context.c168 static struct i915_address_space *
174 struct i915_address_space *vm; in context_get_vm_rcu()
216 struct i915_address_space *vm; in intel_context_set_gem()
610 struct i915_address_space *vm; in context_close()
793 static struct i915_address_space *
794 __set_ppgtt(struct i915_gem_context *ctx, struct i915_address_space *vm) in __set_ppgtt()
796 struct i915_address_space *old; in __set_ppgtt()
809 struct i915_address_space *vm) in __assign_ppgtt()
923 struct i915_address_space *vm; in gem_context_register()
992 struct i915_address_space *vm; in i915_gem_context_close()
[all …]
Di915_gem_client_blt.c35 static void vma_bind(struct i915_address_space *vm, in vma_bind()
44 static void vma_unbind(struct i915_address_space *vm, struct i915_vma *vma) in vma_unbind()
56 static struct i915_sleeve *create_sleeve(struct i915_address_space *vm, in create_sleeve()
/Linux-v5.10/drivers/gpu/drm/i915/gem/selftests/
Di915_gem_context.c30 static inline struct i915_address_space *ctx_vm(struct i915_gem_context *ctx) in ctx_vm()
557 create_test_object(struct i915_address_space *vm, in create_test_object()
1357 struct i915_address_space *vm; in igt_ctx_readonly()
1474 static int check_scratch(struct i915_address_space *vm, u64 offset) in check_scratch()
1498 struct i915_address_space *vm; in write_to_scratch()
1593 struct i915_address_space *vm; in read_from_scratch()
1742 struct i915_address_space *vm; in check_scratch_page()

12