Lines Matching refs:i915_vma
45 static inline void assert_vma_held_evict(const struct i915_vma *vma) in assert_vma_held_evict()
58 static struct i915_vma *i915_vma_alloc(void) in i915_vma_alloc()
63 static void i915_vma_free(struct i915_vma *vma) in i915_vma_free()
72 static void vma_print_allocator(struct i915_vma *vma, const char *reason) in vma_print_allocator()
91 static void vma_print_allocator(struct i915_vma *vma, const char *reason) in vma_print_allocator()
97 static inline struct i915_vma *active_to_vma(struct i915_active *ref) in active_to_vma()
99 return container_of(ref, typeof(struct i915_vma), active); in active_to_vma()
112 static struct i915_vma *
117 struct i915_vma *pos = ERR_PTR(-E2BIG); in vma_create()
118 struct i915_vma *vma; in vma_create()
208 pos = rb_entry(rb, struct i915_vma, obj_node); in vma_create()
251 static struct i915_vma *
260 struct i915_vma *vma = rb_entry(rb, struct i915_vma, obj_node); in i915_vma_lookup()
289 struct i915_vma *
294 struct i915_vma *vma; in i915_vma_instance()
372 int i915_vma_wait_for_bind(struct i915_vma *vma) in i915_vma_wait_for_bind()
392 static int i915_vma_verify_bind_complete(struct i915_vma *vma) in i915_vma_verify_bind_complete()
415 struct i915_vma *vma) in i915_vma_resource_init_from_vma()
439 int i915_vma_bind(struct i915_vma *vma, in i915_vma_bind()
548 void __iomem *i915_vma_pin_iomap(struct i915_vma *vma) in i915_vma_pin_iomap()
616 void i915_vma_flush_writes(struct i915_vma *vma) in i915_vma_flush_writes()
622 void i915_vma_unpin_iomap(struct i915_vma *vma) in i915_vma_unpin_iomap()
634 void i915_vma_unpin_and_release(struct i915_vma **p_vma, unsigned int flags) in i915_vma_unpin_and_release()
636 struct i915_vma *vma; in i915_vma_unpin_and_release()
654 bool i915_vma_misplaced(const struct i915_vma *vma, in i915_vma_misplaced()
688 void __i915_vma_set_map_and_fenceable(struct i915_vma *vma) in __i915_vma_set_map_and_fenceable()
707 bool i915_gem_valid_gtt_space(struct i915_vma *vma, unsigned long color) in i915_gem_valid_gtt_space()
754 i915_vma_insert(struct i915_vma *vma, struct i915_gem_ww_ctx *ww, in i915_vma_insert()
893 i915_vma_detach(struct i915_vma *vma) in i915_vma_detach()
906 static bool try_qad_pin(struct i915_vma *vma, unsigned int flags) in try_qad_pin()
1266 __i915_vma_get_pages(struct i915_vma *vma) in __i915_vma_get_pages()
1313 I915_SELFTEST_EXPORT int i915_vma_get_pages(struct i915_vma *vma) in i915_vma_get_pages()
1352 static void __vma_put_pages(struct i915_vma *vma, unsigned int count) in __vma_put_pages()
1368 I915_SELFTEST_EXPORT void i915_vma_put_pages(struct i915_vma *vma) in i915_vma_put_pages()
1376 static void vma_unbind_pages(struct i915_vma *vma) in vma_unbind_pages()
1390 int i915_vma_pin_ww(struct i915_vma *vma, struct i915_gem_ww_ctx *ww, in i915_vma_pin_ww()
1574 static int __i915_ggtt_pin(struct i915_vma *vma, struct i915_gem_ww_ctx *ww, in __i915_ggtt_pin()
1609 int i915_ggtt_pin(struct i915_vma *vma, struct i915_gem_ww_ctx *ww, in i915_ggtt_pin()
1631 static void __vma_close(struct i915_vma *vma, struct intel_gt *gt) in __vma_close()
1649 void i915_vma_close(struct i915_vma *vma) in i915_vma_close()
1666 static void __i915_vma_remove_closed(struct i915_vma *vma) in __i915_vma_remove_closed()
1671 void i915_vma_reopen(struct i915_vma *vma) in i915_vma_reopen()
1681 static void force_unbind(struct i915_vma *vma) in force_unbind()
1691 static void release_references(struct i915_vma *vma, struct intel_gt *gt, in release_references()
1743 void i915_vma_destroy_locked(struct i915_vma *vma) in i915_vma_destroy_locked()
1752 void i915_vma_destroy(struct i915_vma *vma) in i915_vma_destroy()
1771 struct i915_vma *vma, *next; in i915_vma_parked()
1814 static void __i915_vma_iounmap(struct i915_vma *vma) in __i915_vma_iounmap()
1828 void i915_vma_revoke_mmap(struct i915_vma *vma) in i915_vma_revoke_mmap()
1852 __i915_request_await_bind(struct i915_request *rq, struct i915_vma *vma) in __i915_request_await_bind()
1857 static int __i915_vma_move_to_active(struct i915_vma *vma, struct i915_request *rq) in __i915_vma_move_to_active()
1869 int _i915_vma_move_to_active(struct i915_vma *vma, in _i915_vma_move_to_active()
1944 struct dma_fence *__i915_vma_evict(struct i915_vma *vma, bool async) in __i915_vma_evict()
2024 int __i915_vma_unbind(struct i915_vma *vma) in __i915_vma_unbind()
2055 static struct dma_fence *__i915_vma_unbind_async(struct i915_vma *vma) in __i915_vma_unbind_async()
2090 int i915_vma_unbind(struct i915_vma *vma) in i915_vma_unbind()
2128 int i915_vma_unbind_async(struct i915_vma *vma, bool trylock_vm) in i915_vma_unbind_async()
2190 int i915_vma_unbind_unlocked(struct i915_vma *vma) in i915_vma_unbind_unlocked()
2201 struct i915_vma *i915_vma_make_unshrinkable(struct i915_vma *vma) in i915_vma_make_unshrinkable()
2207 void i915_vma_make_shrinkable(struct i915_vma *vma) in i915_vma_make_shrinkable()
2212 void i915_vma_make_purgeable(struct i915_vma *vma) in i915_vma_make_purgeable()
2228 slab_vmas = KMEM_CACHE(i915_vma, SLAB_HWCACHE_ALIGN); in i915_vma_module_init()