Home
last modified time | relevance | path

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

123

/linux-6.1.9/drivers/gpu/drm/i915/gt/
Dintel_gtt.h215 void (*bind_vma)(struct i915_address_space *vm,
224 void (*unbind_vma)(struct i915_address_space *vm,
229 struct i915_address_space { struct
285 (*alloc_pt_dma)(struct i915_address_space *vm, int sz); argument
287 (*alloc_scratch_dma)(struct i915_address_space *vm, int sz); argument
295 void (*allocate_va_range)(struct i915_address_space *vm, argument
298 void (*clear_range)(struct i915_address_space *vm, argument
300 void (*insert_page)(struct i915_address_space *vm, argument
305 void (*insert_entries)(struct i915_address_space *vm, argument
309 void (*raw_insert_page)(struct i915_address_space *vm, argument
[all …]
Dintel_gtt.c32 struct drm_i915_gem_object *alloc_pt_lmem(struct i915_address_space *vm, int sz) in alloc_pt_lmem()
63 struct drm_i915_gem_object *alloc_pt_dma(struct i915_address_space *vm, int sz) in alloc_pt_dma()
84 int map_pt_dma(struct i915_address_space *vm, struct drm_i915_gem_object *obj) in map_pt_dma()
98 int map_pt_dma_locked(struct i915_address_space *vm, struct drm_i915_gem_object *obj) in map_pt_dma_locked()
148 static void __i915_vm_close(struct i915_address_space *vm) in __i915_vm_close()
163 int i915_vm_lock_objects(struct i915_address_space *vm, in i915_vm_lock_objects()
176 void i915_address_space_fini(struct i915_address_space *vm) in i915_address_space_fini()
191 struct i915_address_space *vm = in i915_vm_resv_release()
202 struct i915_address_space *vm = in __i915_vm_release()
203 container_of(work, struct i915_address_space, release_work); in __i915_vm_release()
[all …]
Dgen8_ppgtt.c150 static unsigned int gen8_pd_top_count(const struct i915_address_space *vm) in gen8_pd_top_count()
158 gen8_pdp_for_page_index(struct i915_address_space * const vm, const u64 idx) in gen8_pdp_for_page_index()
169 gen8_pdp_for_page_address(struct i915_address_space * const vm, const u64 addr) in gen8_pdp_for_page_address()
174 static void __gen8_ppgtt_cleanup(struct i915_address_space *vm, in __gen8_ppgtt_cleanup()
192 static void gen8_ppgtt_cleanup(struct i915_address_space *vm) in gen8_ppgtt_cleanup()
206 static u64 __gen8_ppgtt_clear(struct i915_address_space * const vm, in __gen8_ppgtt_clear()
274 static void gen8_ppgtt_clear(struct i915_address_space *vm, in gen8_ppgtt_clear()
289 static void __gen8_ppgtt_alloc(struct i915_address_space * const vm, in __gen8_ppgtt_alloc()
357 static void gen8_ppgtt_alloc(struct i915_address_space *vm, in gen8_ppgtt_alloc()
373 static void __gen8_ppgtt_foreach(struct i915_address_space *vm, in __gen8_ppgtt_foreach()
[all …]
Dintel_ppgtt.c15 struct i915_page_table *alloc_pt(struct i915_address_space *vm, int sz) in alloc_pt()
52 struct i915_page_directory *alloc_pd(struct i915_address_space *vm) in alloc_pd()
70 void free_px(struct i915_address_space *vm, struct i915_page_table *pt, int lvl) in free_px()
181 void ppgtt_bind_vma(struct i915_address_space *vm, in ppgtt_bind_vma()
206 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.c19 static void gmch_ggtt_insert_page(struct i915_address_space *vm, in gmch_ggtt_insert_page()
31 static void gmch_ggtt_insert_entries(struct i915_address_space *vm, in gmch_ggtt_insert_entries()
48 static void gmch_ggtt_clear_range(struct i915_address_space *vm, in gmch_ggtt_clear_range()
54 static void gmch_ggtt_remove(struct i915_address_space *vm) in gmch_ggtt_remove()
Dintel_ggtt.c29 static inline bool suspend_retains_ptes(struct i915_address_space *vm) in suspend_retains_ptes()
111 static u64 read_last_pte(struct i915_address_space *vm) in read_last_pte()
131 void i915_ggtt_suspend_vm(struct i915_address_space *vm) in i915_ggtt_suspend_vm()
257 static void gen8_ggtt_insert_page(struct i915_address_space *vm, in gen8_ggtt_insert_page()
272 static void gen8_ggtt_insert_entries(struct i915_address_space *vm, in gen8_ggtt_insert_entries()
308 static void gen6_ggtt_insert_page(struct i915_address_space *vm, in gen6_ggtt_insert_page()
329 static void gen6_ggtt_insert_entries(struct i915_address_space *vm, in gen6_ggtt_insert_entries()
359 static void nop_clear_range(struct i915_address_space *vm, in nop_clear_range()
364 static void gen8_ggtt_clear_range(struct i915_address_space *vm, in gen8_ggtt_clear_range()
385 static void bxt_vtd_ggtt_wa(struct i915_address_space *vm) in bxt_vtd_ggtt_wa()
[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()
265 static void gen6_ppgtt_cleanup(struct i915_address_space *vm) in gen6_ppgtt_cleanup()
278 static void pd_vma_bind(struct i915_address_space *vm, in pd_vma_bind()
294 static void pd_vma_unbind(struct i915_address_space *vm, in pd_vma_unbind()
Dgen8_ppgtt.h11 struct i915_address_space;
Dintel_ring_submission.c143 static struct i915_address_space *vm_alias(struct i915_address_space *vm) in vm_alias()
151 static u32 pp_dir(struct i915_address_space *vm) in pp_dir()
158 struct i915_address_space *vm = vm_alias(engine->gt->vm); in set_pp_dir()
489 struct i915_address_space *vm; in ring_context_pre_pin()
508 struct i915_address_space *vm; in __context_unpin_ppgtt()
653 struct i915_address_space *vm, in load_pd_dir()
854 static int switch_mm(struct i915_request *rq, struct i915_address_space *vm) in switch_mm()
/linux-6.1.9/drivers/gpu/drm/i915/display/
Dintel_dpt.h11 struct i915_address_space;
15 void intel_dpt_destroy(struct i915_address_space *vm);
16 struct i915_vma *intel_dpt_pin(struct i915_address_space *vm);
17 void intel_dpt_unpin(struct i915_address_space *vm);
20 struct i915_address_space *
Dintel_dpt.c16 struct i915_address_space vm;
26 i915_vm_to_dpt(struct i915_address_space *vm) in i915_vm_to_dpt()
40 static void dpt_insert_page(struct i915_address_space *vm, in dpt_insert_page()
53 static void dpt_insert_entries(struct i915_address_space *vm, in dpt_insert_entries()
75 static void dpt_clear_range(struct i915_address_space *vm, in dpt_clear_range()
80 static void dpt_bind_vma(struct i915_address_space *vm, in dpt_bind_vma()
110 static void dpt_unbind_vma(struct i915_address_space *vm, in dpt_unbind_vma()
116 static void dpt_cleanup(struct i915_address_space *vm) in dpt_cleanup()
123 struct i915_vma *intel_dpt_pin(struct i915_address_space *vm) in intel_dpt_pin()
172 void intel_dpt_unpin(struct i915_address_space *vm) in intel_dpt_unpin()
[all …]
/linux-6.1.9/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.c240 static int lowlevel_hole(struct i915_address_space *vm, in lowlevel_hole()
385 struct i915_address_space *vm) in close_object_list()
402 static int fill_hole(struct i915_address_space *vm, in fill_hole()
627 static int walk_hole(struct i915_address_space *vm, in walk_hole()
710 static int pot_hole(struct i915_address_space *vm, in pot_hole()
785 static int drunk_hole(struct i915_address_space *vm, in drunk_hole()
895 static int __shrink_hole(struct i915_address_space *vm, in __shrink_hole()
973 static int shrink_hole(struct i915_address_space *vm, in shrink_hole()
995 static int shrink_boom(struct i915_address_space *vm, in shrink_boom()
1073 static int misaligned_case(struct i915_address_space *vm, struct intel_memory_region *mr, in misaligned_case()
[all …]
/linux-6.1.9/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.h84 struct i915_address_space *vm;
187 struct i915_address_space *vm, in i915_vma_resource_init()
226 int i915_vma_resource_bind_dep_sync(struct i915_address_space *vm,
231 int i915_vma_resource_bind_dep_await(struct i915_address_space *vm,
238 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;
26 int i915_gem_gtt_reserve(struct i915_address_space *vm,
32 int i915_gem_gtt_insert(struct i915_address_space *vm,
Di915_trace.h65 __field(struct i915_address_space *, vm)
91 __field(struct i915_address_space *, vm)
198 TP_PROTO(struct i915_address_space *vm, u64 size, u64 align, unsigned int flags),
203 __field(struct i915_address_space *, vm)
223 TP_PROTO(struct i915_address_space *vm, struct drm_mm_node *node, unsigned int flags),
228 __field(struct i915_address_space *, vm)
251 TP_PROTO(struct i915_address_space *vm),
256 __field(struct i915_address_space *, vm)
700 TP_PROTO(struct i915_address_space *vm),
704 __field(struct i915_address_space *, vm)
[all …]
Di915_gem_evict.c139 i915_gem_evict_something(struct i915_address_space *vm, in i915_gem_evict_something()
311 int i915_gem_evict_for_node(struct i915_address_space *vm, in i915_gem_evict_for_node()
433 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,
162 struct i915_address_space *vm, in i915_vma_compare()
216 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()
Di915_vma.c111 struct i915_address_space *vm, in vma_create()
250 struct i915_address_space *vm, in i915_vma_lookup()
288 struct i915_address_space *vm, in i915_vma_instance()
310 struct i915_address_space *vm;
1311 void vma_invalidate_tlb(struct i915_address_space *vm, u32 *tlb) in vma_invalidate_tlb()
1549 struct i915_address_space *vm = vma->vm; in __i915_ggtt_pin()
1746 struct i915_address_space *vm = vma->vm; in i915_vma_parked()
1765 struct i915_address_space *vm = vma->vm; in i915_vma_parked()
2056 struct i915_address_space *vm = vma->vm; in i915_vma_unbind()
2095 struct i915_address_space *vm = vma->vm; in i915_vma_unbind_async()
/linux-6.1.9/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.1.9/drivers/gpu/drm/i915/gem/selftests/
Dmock_context.h13 struct i915_address_space;
30 struct i915_address_space *vm);

123