Lines Matching defs:vma
44 static inline void assert_vma_held_evict(const struct i915_vma *vma) in assert_vma_held_evict()
62 static void i915_vma_free(struct i915_vma *vma) in i915_vma_free()
71 static void vma_print_allocator(struct i915_vma *vma, const char *reason) in vma_print_allocator()
88 static void vma_print_allocator(struct i915_vma *vma, const char *reason) in vma_print_allocator()
115 struct i915_vma *vma; in vma_create() local
257 struct i915_vma *vma = rb_entry(rb, struct i915_vma, obj_node); in i915_vma_lookup() local
291 struct i915_vma *vma; in i915_vma_instance() local
369 int i915_vma_wait_for_bind(struct i915_vma *vma) in i915_vma_wait_for_bind()
389 static int i915_vma_verify_bind_complete(struct i915_vma *vma) in i915_vma_verify_bind_complete()
412 struct i915_vma *vma) in i915_vma_resource_init_from_vma()
436 int i915_vma_bind(struct i915_vma *vma, in i915_vma_bind()
545 void __iomem *i915_vma_pin_iomap(struct i915_vma *vma) in i915_vma_pin_iomap()
613 void i915_vma_flush_writes(struct i915_vma *vma) in i915_vma_flush_writes()
619 void i915_vma_unpin_iomap(struct i915_vma *vma) in i915_vma_unpin_iomap()
633 struct i915_vma *vma; in i915_vma_unpin_and_release() local
651 bool i915_vma_misplaced(const struct i915_vma *vma, in i915_vma_misplaced()
681 void __i915_vma_set_map_and_fenceable(struct i915_vma *vma) in __i915_vma_set_map_and_fenceable()
699 bool i915_gem_valid_gtt_space(struct i915_vma *vma, unsigned long color) in i915_gem_valid_gtt_space()
746 i915_vma_insert(struct i915_vma *vma, struct i915_gem_ww_ctx *ww, in i915_vma_insert()
865 i915_vma_detach(struct i915_vma *vma) in i915_vma_detach()
878 static bool try_qad_pin(struct i915_vma *vma, unsigned int flags) in try_qad_pin()
1238 __i915_vma_get_pages(struct i915_vma *vma) in __i915_vma_get_pages()
1285 I915_SELFTEST_EXPORT int i915_vma_get_pages(struct i915_vma *vma) in i915_vma_get_pages()
1324 static void __vma_put_pages(struct i915_vma *vma, unsigned int count) in __vma_put_pages()
1340 I915_SELFTEST_EXPORT void i915_vma_put_pages(struct i915_vma *vma) in i915_vma_put_pages()
1348 static void vma_unbind_pages(struct i915_vma *vma) in vma_unbind_pages()
1362 int i915_vma_pin_ww(struct i915_vma *vma, struct i915_gem_ww_ctx *ww, in i915_vma_pin_ww()
1546 static int __i915_ggtt_pin(struct i915_vma *vma, struct i915_gem_ww_ctx *ww, in __i915_ggtt_pin()
1578 int i915_ggtt_pin(struct i915_vma *vma, struct i915_gem_ww_ctx *ww, in i915_ggtt_pin()
1600 static void __vma_close(struct i915_vma *vma, struct intel_gt *gt) in __vma_close()
1618 void i915_vma_close(struct i915_vma *vma) in i915_vma_close()
1635 static void __i915_vma_remove_closed(struct i915_vma *vma) in __i915_vma_remove_closed()
1640 void i915_vma_reopen(struct i915_vma *vma) in i915_vma_reopen()
1650 static void force_unbind(struct i915_vma *vma) in force_unbind()
1660 static void release_references(struct i915_vma *vma, struct intel_gt *gt, in release_references()
1712 void i915_vma_destroy_locked(struct i915_vma *vma) in i915_vma_destroy_locked()
1721 void i915_vma_destroy(struct i915_vma *vma) in i915_vma_destroy()
1740 struct i915_vma *vma, *next; in i915_vma_parked() local
1783 static void __i915_vma_iounmap(struct i915_vma *vma) in __i915_vma_iounmap()
1797 void i915_vma_revoke_mmap(struct i915_vma *vma) in i915_vma_revoke_mmap()
1821 __i915_request_await_bind(struct i915_request *rq, struct i915_vma *vma) in __i915_request_await_bind()
1826 static int __i915_vma_move_to_active(struct i915_vma *vma, struct i915_request *rq) in __i915_vma_move_to_active()
1838 int _i915_vma_move_to_active(struct i915_vma *vma, in _i915_vma_move_to_active()
1908 struct dma_fence *__i915_vma_evict(struct i915_vma *vma, bool async) in __i915_vma_evict()
1988 int __i915_vma_unbind(struct i915_vma *vma) in __i915_vma_unbind()
2019 static struct dma_fence *__i915_vma_unbind_async(struct i915_vma *vma) in __i915_vma_unbind_async()
2054 int i915_vma_unbind(struct i915_vma *vma) in i915_vma_unbind()
2092 int i915_vma_unbind_async(struct i915_vma *vma, bool trylock_vm) in i915_vma_unbind_async()
2154 int i915_vma_unbind_unlocked(struct i915_vma *vma) in i915_vma_unbind_unlocked()
2165 struct i915_vma *i915_vma_make_unshrinkable(struct i915_vma *vma) in i915_vma_make_unshrinkable()
2171 void i915_vma_make_shrinkable(struct i915_vma *vma) in i915_vma_make_shrinkable()
2176 void i915_vma_make_purgeable(struct i915_vma *vma) in i915_vma_make_purgeable()