Home
last modified time | relevance | path

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

123

/linux-6.6.21/drivers/gpu/drm/i915/gt/
Dintel_gtt.h230 void (*bind_vma)(struct i915_address_space *vm,
239 void (*unbind_vma)(struct i915_address_space *vm,
244 struct i915_address_space { struct
300 (*alloc_pt_dma)(struct i915_address_space *vm, int sz); argument
302 (*alloc_scratch_dma)(struct i915_address_space *vm, int sz); argument
310 void (*allocate_va_range)(struct i915_address_space *vm, argument
313 void (*clear_range)(struct i915_address_space *vm, argument
315 void (*scratch_range)(struct i915_address_space *vm, argument
317 void (*insert_page)(struct i915_address_space *vm, argument
322 void (*insert_entries)(struct i915_address_space *vm, argument
[all …]
Dintel_gtt.c35 struct drm_i915_gem_object *alloc_pt_lmem(struct i915_address_space *vm, int sz) in alloc_pt_lmem()
66 struct drm_i915_gem_object *alloc_pt_dma(struct i915_address_space *vm, int sz) in alloc_pt_dma()
87 int map_pt_dma(struct i915_address_space *vm, struct drm_i915_gem_object *obj) in map_pt_dma()
101 int map_pt_dma_locked(struct i915_address_space *vm, struct drm_i915_gem_object *obj) in map_pt_dma_locked()
151 static void __i915_vm_close(struct i915_address_space *vm) in __i915_vm_close()
166 int i915_vm_lock_objects(struct i915_address_space *vm, in i915_vm_lock_objects()
179 void i915_address_space_fini(struct i915_address_space *vm) in i915_address_space_fini()
194 struct i915_address_space *vm = in i915_vm_resv_release()
205 struct i915_address_space *vm = in __i915_vm_release()
206 container_of(work, struct i915_address_space, release_work); in __i915_vm_release()
[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()
Dgen8_ppgtt.c179 static unsigned int gen8_pd_top_count(const struct i915_address_space *vm) in gen8_pd_top_count()
187 gen8_pdp_for_page_index(struct i915_address_space * const vm, const u64 idx) in gen8_pdp_for_page_index()
198 gen8_pdp_for_page_address(struct i915_address_space * const vm, const u64 addr) in gen8_pdp_for_page_address()
203 static void __gen8_ppgtt_cleanup(struct i915_address_space *vm, in __gen8_ppgtt_cleanup()
221 static void gen8_ppgtt_cleanup(struct i915_address_space *vm) in gen8_ppgtt_cleanup()
235 static u64 __gen8_ppgtt_clear(struct i915_address_space * const vm, in __gen8_ppgtt_clear()
303 static void gen8_ppgtt_clear(struct i915_address_space *vm, in gen8_ppgtt_clear()
318 static void __gen8_ppgtt_alloc(struct i915_address_space * const vm, in __gen8_ppgtt_alloc()
386 static void gen8_ppgtt_alloc(struct i915_address_space *vm, in gen8_ppgtt_alloc()
402 static void __gen8_ppgtt_foreach(struct i915_address_space *vm, in __gen8_ppgtt_foreach()
[all …]
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.c109 void i915_ggtt_suspend_vm(struct i915_address_space *vm) in i915_ggtt_suspend_vm()
279 static void gen8_ggtt_insert_page(struct i915_address_space *vm, in gen8_ggtt_insert_page()
294 static void gen8_ggtt_insert_entries(struct i915_address_space *vm, in gen8_ggtt_insert_entries()
333 static void gen8_ggtt_clear_range(struct i915_address_space *vm, in gen8_ggtt_clear_range()
354 static void gen6_ggtt_insert_page(struct i915_address_space *vm, in gen6_ggtt_insert_page()
375 static void gen6_ggtt_insert_entries(struct i915_address_space *vm, in gen6_ggtt_insert_entries()
408 static void nop_clear_range(struct i915_address_space *vm, in nop_clear_range()
413 static void bxt_vtd_ggtt_wa(struct i915_address_space *vm) in bxt_vtd_ggtt_wa()
426 struct i915_address_space *vm;
443 static void bxt_vtd_ggtt_insert_page__BKL(struct i915_address_space *vm, in bxt_vtd_ggtt_insert_page__BKL()
[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()
491 struct i915_address_space *vm; in ring_context_pre_pin()
510 struct i915_address_space *vm; in __context_unpin_ppgtt()
655 struct i915_address_space *vm, in load_pd_dir()
856 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()
223 void (*tlbinv)(struct i915_address_space *vm, u64 addr, u64 length)) in mem_tlbinv()
356 static void tlbinv_full(struct i915_address_space *vm, u64 addr, u64 length) in tlbinv_full()
/linux-6.6.21/drivers/gpu/drm/i915/display/
Dintel_dpt.h11 struct i915_address_space;
16 void intel_dpt_destroy(struct i915_address_space *vm);
17 struct i915_vma *intel_dpt_pin(struct i915_address_space *vm);
18 void intel_dpt_unpin(struct i915_address_space *vm);
21 struct i915_address_space *
Dintel_dpt.c19 struct i915_address_space vm;
29 i915_vm_to_dpt(struct i915_address_space *vm) in i915_vm_to_dpt()
43 static void dpt_insert_page(struct i915_address_space *vm, in dpt_insert_page()
56 static void dpt_insert_entries(struct i915_address_space *vm, in dpt_insert_entries()
78 static void dpt_clear_range(struct i915_address_space *vm, in dpt_clear_range()
83 static void dpt_bind_vma(struct i915_address_space *vm, in dpt_bind_vma()
113 static void dpt_unbind_vma(struct i915_address_space *vm, in dpt_unbind_vma()
119 static void dpt_cleanup(struct i915_address_space *vm) in dpt_cleanup()
126 struct i915_vma *intel_dpt_pin(struct i915_address_space *vm) in intel_dpt_pin()
177 void intel_dpt_unpin(struct i915_address_space *vm) in intel_dpt_unpin()
[all …]
/linux-6.6.21/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.6.21/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.c97 int i915_gem_gtt_reserve(struct i915_address_space *vm, in i915_gem_gtt_reserve()
190 int i915_gem_gtt_insert(struct i915_address_space *vm, in i915_gem_gtt_insert()
/linux-6.6.21/drivers/gpu/drm/i915/gem/
Di915_gem_context_types.h29 struct i915_address_space;
192 struct i915_address_space *vm;
281 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.6.21/drivers/gpu/drm/i915/gem/selftests/
Dmock_context.h13 struct i915_address_space;
30 struct i915_address_space *vm);

123