Lines Matching refs:i915_address_space

233 	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
334 void (*raw_insert_page)(struct i915_address_space *vm, argument
339 void (*raw_insert_entries)(struct i915_address_space *vm, argument
343 void (*cleanup)(struct i915_address_space *vm); argument
345 void (*foreach)(struct i915_address_space *vm, argument
347 void (*fn)(struct i915_address_space *vm,
367 struct i915_address_space vm; argument
410 struct i915_address_space vm;
422 i915_vm_lock_objects(struct i915_address_space *vm, struct i915_gem_ww_ctx *ww);
425 i915_vm_is_4lvl(const struct i915_address_space *vm) in i915_vm_is_4lvl()
431 i915_vm_has_scratch_64K(struct i915_address_space *vm) in i915_vm_has_scratch_64K()
436 static inline u64 i915_vm_min_alignment(struct i915_address_space *vm, in i915_vm_min_alignment()
446 static inline u64 i915_vm_obj_min_alignment(struct i915_address_space *vm, in i915_vm_obj_min_alignment()
456 i915_vm_has_cache_coloring(struct i915_address_space *vm) in i915_vm_has_cache_coloring()
462 i915_vm_to_ggtt(struct i915_address_space *vm) in i915_vm_to_ggtt()
470 i915_vm_to_ppgtt(struct i915_address_space *vm) in i915_vm_to_ppgtt()
477 static inline struct i915_address_space *
478 i915_vm_get(struct i915_address_space *vm) in i915_vm_get()
484 static inline struct i915_address_space *
485 i915_vm_tryget(struct i915_address_space *vm) in i915_vm_tryget()
490 static inline void assert_vm_alive(struct i915_address_space *vm) in assert_vm_alive()
501 static inline struct dma_resv *i915_vm_resv_get(struct i915_address_space *vm) in i915_vm_resv_get()
511 static inline void i915_vm_put(struct i915_address_space *vm) in i915_vm_put()
520 static inline void i915_vm_resv_put(struct i915_address_space *vm) in i915_vm_resv_put()
525 void i915_address_space_init(struct i915_address_space *vm, int subclass);
526 void i915_address_space_fini(struct i915_address_space *vm);
585 void intel_ggtt_bind_vma(struct i915_address_space *vm,
590 void intel_ggtt_unbind_vma(struct i915_address_space *vm,
611 void i915_ggtt_suspend_vm(struct i915_address_space *vm);
612 bool i915_ggtt_resume_vm(struct i915_address_space *vm);
625 int setup_scratch_page(struct i915_address_space *vm);
626 void free_scratch(struct i915_address_space *vm);
628 struct drm_i915_gem_object *alloc_pt_dma(struct i915_address_space *vm, int sz);
629 struct drm_i915_gem_object *alloc_pt_lmem(struct i915_address_space *vm, int sz);
630 struct i915_page_table *alloc_pt(struct i915_address_space *vm, int sz);
631 struct i915_page_directory *alloc_pd(struct i915_address_space *vm);
634 int map_pt_dma(struct i915_address_space *vm, struct drm_i915_gem_object *obj);
635 int map_pt_dma_locked(struct i915_address_space *vm, struct drm_i915_gem_object *obj);
637 void free_px(struct i915_address_space *vm,
663 void ppgtt_bind_vma(struct i915_address_space *vm,
668 void ppgtt_unbind_vma(struct i915_address_space *vm,
675 int i915_vm_alloc_pt_stash(struct i915_address_space *vm,
678 int i915_vm_map_pt_stash(struct i915_address_space *vm,
680 void i915_vm_free_pt_stash(struct i915_address_space *vm,
684 __vm_create_scratch_for_read(struct i915_address_space *vm, unsigned long size);
687 __vm_create_scratch_for_read_pinned(struct i915_address_space *vm, unsigned long size);