Home
last modified time | relevance | path

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

123

/linux-6.12.1/drivers/gpu/drm/i915/gt/
Dintel_gtt.h233 void (*bind_vma)(struct i915_address_space *vm,
242 void (*unbind_vma)(struct i915_address_space *vm,
247 struct i915_address_space { struct
308 (*alloc_pt_dma)(struct i915_address_space *vm, int sz); argument
310 (*alloc_scratch_dma)(struct i915_address_space *vm, int sz); argument
318 void (*allocate_va_range)(struct i915_address_space *vm, argument
321 void (*clear_range)(struct i915_address_space *vm, argument
323 void (*scratch_range)(struct i915_address_space *vm, argument
325 void (*insert_page)(struct i915_address_space *vm, argument
330 void (*insert_entries)(struct i915_address_space *vm, argument
[all …]
Dintel_gtt.c41 struct drm_i915_gem_object *alloc_pt_lmem(struct i915_address_space *vm, int sz) in alloc_pt_lmem()
75 struct drm_i915_gem_object *alloc_pt_dma(struct i915_address_space *vm, int sz) in alloc_pt_dma()
99 int map_pt_dma(struct i915_address_space *vm, struct drm_i915_gem_object *obj) in map_pt_dma()
123 int map_pt_dma_locked(struct i915_address_space *vm, struct drm_i915_gem_object *obj) in map_pt_dma_locked()
183 static void __i915_vm_close(struct i915_address_space *vm) in __i915_vm_close()
198 int i915_vm_lock_objects(struct i915_address_space *vm, in i915_vm_lock_objects()
211 void i915_address_space_fini(struct i915_address_space *vm) in i915_address_space_fini()
226 struct i915_address_space *vm = in i915_vm_resv_release()
237 struct i915_address_space *vm = in __i915_vm_release()
238 container_of(work, struct i915_address_space, release_work); in __i915_vm_release()
[all …]
Dgen8_ppgtt.c180 static unsigned int gen8_pd_top_count(const struct i915_address_space *vm) in gen8_pd_top_count()
188 gen8_pdp_for_page_index(struct i915_address_space * const vm, const u64 idx) in gen8_pdp_for_page_index()
199 gen8_pdp_for_page_address(struct i915_address_space * const vm, const u64 addr) in gen8_pdp_for_page_address()
204 static void __gen8_ppgtt_cleanup(struct i915_address_space *vm, in __gen8_ppgtt_cleanup()
222 static void gen8_ppgtt_cleanup(struct i915_address_space *vm) in gen8_ppgtt_cleanup()
239 static u64 __gen8_ppgtt_clear(struct i915_address_space * const vm, in __gen8_ppgtt_clear()
307 static void gen8_ppgtt_clear(struct i915_address_space *vm, in gen8_ppgtt_clear()
322 static void __gen8_ppgtt_alloc(struct i915_address_space * const vm, in __gen8_ppgtt_alloc()
390 static void gen8_ppgtt_alloc(struct i915_address_space *vm, in gen8_ppgtt_alloc()
406 static void __gen8_ppgtt_foreach(struct i915_address_space *vm, in __gen8_ppgtt_foreach()
[all …]
Dintel_ppgtt.c16 struct i915_page_table *alloc_pt(struct i915_address_space *vm, int sz) in alloc_pt()
53 struct i915_page_directory *alloc_pd(struct i915_address_space *vm) in alloc_pd()
71 void free_px(struct i915_address_space *vm, struct i915_page_table *pt, int lvl) in free_px()
182 void ppgtt_bind_vma(struct i915_address_space *vm, in ppgtt_bind_vma()
207 void ppgtt_unbind_vma(struct i915_address_space *vm, in ppgtt_unbind_vma()
223 int i915_vm_alloc_pt_stash(struct i915_address_space *vm, in i915_vm_alloc_pt_stash()
276 int i915_vm_map_pt_stash(struct i915_address_space *vm, in i915_vm_map_pt_stash()
293 void i915_vm_free_pt_stash(struct i915_address_space *vm, in i915_vm_free_pt_stash()
Dintel_ggtt_gmch.c18 static void gmch_ggtt_insert_page(struct i915_address_space *vm, in gmch_ggtt_insert_page()
30 static void gmch_ggtt_insert_entries(struct i915_address_space *vm, in gmch_ggtt_insert_entries()
47 static void gmch_ggtt_clear_range(struct i915_address_space *vm, in gmch_ggtt_clear_range()
53 static void gmch_ggtt_remove(struct i915_address_space *vm) in gmch_ggtt_remove()
Dintel_ggtt.c114 void i915_ggtt_suspend_vm(struct i915_address_space *vm) in i915_ggtt_suspend_vm()
435 static void gen8_ggtt_insert_page(struct i915_address_space *vm, in gen8_ggtt_insert_page()
450 static void gen8_ggtt_insert_page_bind(struct i915_address_space *vm, in gen8_ggtt_insert_page_bind()
465 static void gen8_ggtt_insert_entries(struct i915_address_space *vm, in gen8_ggtt_insert_entries()
504 static bool __gen8_ggtt_insert_entries_bind(struct i915_address_space *vm, in __gen8_ggtt_insert_entries_bind()
535 static void gen8_ggtt_insert_entries_bind(struct i915_address_space *vm, in gen8_ggtt_insert_entries_bind()
548 static void gen8_ggtt_clear_range(struct i915_address_space *vm, in gen8_ggtt_clear_range()
569 static void gen8_ggtt_scratch_range_bind(struct i915_address_space *vm, in gen8_ggtt_scratch_range_bind()
590 static void gen6_ggtt_insert_page(struct i915_address_space *vm, in gen6_ggtt_insert_page()
611 static void gen6_ggtt_insert_entries(struct i915_address_space *vm, in gen6_ggtt_insert_entries()
[all …]
Dgen6_ppgtt.c74 static void gen6_ppgtt_clear_range(struct i915_address_space *vm, in gen6_ppgtt_clear_range()
110 static void gen6_ppgtt_insert_entries(struct i915_address_space *vm, in gen6_ppgtt_insert_entries()
172 static void gen6_alloc_va_range(struct i915_address_space *vm, in gen6_alloc_va_range()
221 struct i915_address_space * const vm = &ppgtt->base.vm; in gen6_ppgtt_init_scratch()
267 static void gen6_ppgtt_cleanup(struct i915_address_space *vm) in gen6_ppgtt_cleanup()
280 static void pd_vma_bind(struct i915_address_space *vm, in pd_vma_bind()
296 static void pd_vma_unbind(struct i915_address_space *vm, in pd_vma_unbind()
Dgen8_ppgtt.h11 struct i915_address_space;
Dintel_ring_submission.c145 static struct i915_address_space *vm_alias(struct i915_address_space *vm) in vm_alias()
153 static u32 pp_dir(struct i915_address_space *vm) in pp_dir()
160 struct i915_address_space *vm = vm_alias(engine->gt->vm); in set_pp_dir()
490 struct i915_address_space *vm; in ring_context_pre_pin()
509 struct i915_address_space *vm; in __context_unpin_ppgtt()
657 struct i915_address_space *vm, in load_pd_dir()
858 static int switch_mm(struct i915_request *rq, struct i915_address_space *vm) in switch_mm()
Dselftest_tlb.c36 void (*tlbinv)(struct i915_address_space *vm, u64 addr, u64 length), in pte_tlbinv()
230 void (*tlbinv)(struct i915_address_space *vm, u64 addr, u64 length)) in mem_tlbinv()
363 static void tlbinv_full(struct i915_address_space *vm, u64 addr, u64 length) in tlbinv_full()
/linux-6.12.1/drivers/gpu/drm/i915/display/
Dintel_dpt.h13 struct i915_address_space;
17 void intel_dpt_destroy(struct i915_address_space *vm);
18 struct i915_vma *intel_dpt_pin_to_ggtt(struct i915_address_space *vm,
20 void intel_dpt_unpin_from_ggtt(struct i915_address_space *vm);
23 struct i915_address_space *
Dintel_dpt.c17 struct i915_address_space vm;
27 i915_vm_to_dpt(struct i915_address_space *vm) in i915_vm_to_dpt()
41 static void dpt_insert_page(struct i915_address_space *vm, in dpt_insert_page()
54 static void dpt_insert_entries(struct i915_address_space *vm, in dpt_insert_entries()
76 static void dpt_clear_range(struct i915_address_space *vm, in dpt_clear_range()
81 static void dpt_bind_vma(struct i915_address_space *vm, in dpt_bind_vma()
111 static void dpt_unbind_vma(struct i915_address_space *vm, in dpt_unbind_vma()
117 static void dpt_cleanup(struct i915_address_space *vm) in dpt_cleanup()
124 struct i915_vma *intel_dpt_pin_to_ggtt(struct i915_address_space *vm, in intel_dpt_pin_to_ggtt()
176 void intel_dpt_unpin_from_ggtt(struct i915_address_space *vm) in intel_dpt_unpin_from_ggtt()
[all …]
/linux-6.12.1/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()
94 static void mock_bind_ggtt(struct i915_address_space *vm, in mock_bind_ggtt()
102 static void mock_unbind_ggtt(struct i915_address_space *vm, in mock_unbind_ggtt()
Di915_gem_gtt.c244 static int lowlevel_hole(struct i915_address_space *vm, in lowlevel_hole()
391 struct i915_address_space *vm) in close_object_list()
408 static int fill_hole(struct i915_address_space *vm, in fill_hole()
633 static int walk_hole(struct i915_address_space *vm, in walk_hole()
716 static int pot_hole(struct i915_address_space *vm, in pot_hole()
791 static int drunk_hole(struct i915_address_space *vm, in drunk_hole()
901 static int __shrink_hole(struct i915_address_space *vm, in __shrink_hole()
979 static int shrink_hole(struct i915_address_space *vm, in shrink_hole()
1001 static int shrink_boom(struct i915_address_space *vm, in shrink_boom()
1079 static int misaligned_case(struct i915_address_space *vm, struct intel_memory_region *mr, in misaligned_case()
[all …]
/linux-6.12.1/drivers/gpu/drm/i915/
Di915_gem_evict.h12 struct i915_address_space;
16 int __must_check i915_gem_evict_something(struct i915_address_space *vm,
22 int __must_check i915_gem_evict_for_node(struct i915_address_space *vm,
26 int i915_gem_evict_vm(struct i915_address_space *vm,
Di915_vma_resource.h109 struct i915_address_space *vm;
202 struct i915_address_space *vm, in i915_vma_resource_init()
243 int i915_vma_resource_bind_dep_sync(struct i915_address_space *vm,
248 int i915_vma_resource_bind_dep_await(struct i915_address_space *vm,
255 void i915_vma_resource_bind_dep_sync_all(struct i915_address_space *vm);
Di915_vma_resource.c105 struct i915_address_space *vm; in __i915_vma_resource_unhold()
177 struct i915_address_space *vm = vma_res->vm; in i915_vma_resource_unbind_work()
233 struct i915_address_space *vm = vma_res->vm; in i915_vma_resource_unbind()
272 i915_vma_resource_color_adjust_range(struct i915_address_space *vm, in i915_vma_resource_color_adjust_range()
295 int i915_vma_resource_bind_dep_sync(struct i915_address_space *vm, in i915_vma_resource_bind_dep_sync()
330 void i915_vma_resource_bind_dep_sync_all(struct i915_address_space *vm) in i915_vma_resource_bind_dep_sync_all()
379 int i915_vma_resource_bind_dep_await(struct i915_address_space *vm, in i915_vma_resource_bind_dep_await()
Di915_gem_gtt.h18 struct i915_address_space;
28 int i915_gem_gtt_reserve(struct i915_address_space *vm,
34 int i915_gem_gtt_insert(struct i915_address_space *vm,
Di915_trace.h64 __field(struct i915_address_space *, vm)
90 __field(struct i915_address_space *, vm)
197 TP_PROTO(struct i915_address_space *vm, u64 size, u64 align, unsigned int flags),
202 __field(struct i915_address_space *, vm)
222 TP_PROTO(struct i915_address_space *vm, struct drm_mm_node *node, unsigned int flags),
227 __field(struct i915_address_space *, vm)
250 TP_PROTO(struct i915_address_space *vm),
255 __field(struct i915_address_space *, vm)
684 TP_PROTO(struct i915_address_space *vm),
688 __field(struct i915_address_space *, vm)
[all …]
Di915_gem_evict.c46 static int ggtt_flush(struct i915_address_space *vm) in ggtt_flush()
148 i915_gem_evict_something(struct i915_address_space *vm, in i915_gem_evict_something()
328 int i915_gem_evict_for_node(struct i915_address_space *vm, in i915_gem_evict_for_node()
458 int i915_gem_evict_vm(struct i915_address_space *vm, struct i915_gem_ww_ctx *ww, in i915_gem_evict_vm()
Di915_vma.h45 struct i915_address_space *vm,
209 struct i915_address_space *vm, in i915_vma_compare()
263 void vma_invalidate_tlb(struct i915_address_space *vm, u32 *tlb);
Di915_gem_gtt.c96 int i915_gem_gtt_reserve(struct i915_address_space *vm, in i915_gem_gtt_reserve()
189 int i915_gem_gtt_insert(struct i915_address_space *vm, in i915_gem_gtt_insert()
/linux-6.12.1/drivers/gpu/drm/i915/gem/
Di915_gem_context_types.h29 struct i915_address_space;
195 struct i915_address_space *vm;
284 struct i915_address_space *vm;
Di915_gem_context.h157 static inline struct i915_address_space *
170 static inline struct i915_address_space *
173 struct i915_address_space *vm; in i915_gem_context_get_eb_vm()
/linux-6.12.1/drivers/gpu/drm/i915/gem/selftests/
Dmock_context.h13 struct i915_address_space;
30 struct i915_address_space *vm);

123