Lines Matching defs:vma
51 static inline bool i915_vma_is_active(const struct i915_vma *vma) in i915_vma_is_active()
64 i915_vma_move_to_active(struct i915_vma *vma, struct i915_request *rq, in i915_vma_move_to_active()
72 static inline bool i915_vma_is_ggtt(const struct i915_vma *vma) in i915_vma_is_ggtt()
77 static inline bool i915_vma_is_dpt(const struct i915_vma *vma) in i915_vma_is_dpt()
82 static inline bool i915_vma_has_ggtt_write(const struct i915_vma *vma) in i915_vma_has_ggtt_write()
87 static inline void i915_vma_set_ggtt_write(struct i915_vma *vma) in i915_vma_set_ggtt_write()
93 static inline bool i915_vma_unset_ggtt_write(struct i915_vma *vma) in i915_vma_unset_ggtt_write()
101 static inline bool i915_vma_is_map_and_fenceable(const struct i915_vma *vma) in i915_vma_is_map_and_fenceable()
106 static inline bool i915_vma_set_userfault(struct i915_vma *vma) in i915_vma_set_userfault()
112 static inline void i915_vma_unset_userfault(struct i915_vma *vma) in i915_vma_unset_userfault()
117 static inline bool i915_vma_has_userfault(const struct i915_vma *vma) in i915_vma_has_userfault()
122 static inline bool i915_vma_is_closed(const struct i915_vma *vma) in i915_vma_is_closed()
127 static inline u32 i915_ggtt_offset(const struct i915_vma *vma) in i915_ggtt_offset()
136 static inline u32 i915_ggtt_pin_bias(struct i915_vma *vma) in i915_ggtt_pin_bias()
141 static inline struct i915_vma *i915_vma_get(struct i915_vma *vma) in i915_vma_get()
147 static inline struct i915_vma *i915_vma_tryget(struct i915_vma *vma) in i915_vma_tryget()
155 static inline void i915_vma_put(struct i915_vma *vma) in i915_vma_put()
161 i915_vma_compare(struct i915_vma *vma, in i915_vma_compare()
229 #define assert_vma_held(vma) dma_resv_assert_held((vma)->obj->base.resv) argument
231 static inline void i915_vma_lock(struct i915_vma *vma) in i915_vma_lock()
236 static inline void i915_vma_unlock(struct i915_vma *vma) in i915_vma_unlock()
246 i915_vma_pin(struct i915_vma *vma, u64 size, u64 alignment, u64 flags) in i915_vma_pin()
269 static inline int i915_vma_pin_count(const struct i915_vma *vma) in i915_vma_pin_count()
274 static inline bool i915_vma_is_pinned(const struct i915_vma *vma) in i915_vma_is_pinned()
279 static inline void __i915_vma_pin(struct i915_vma *vma) in __i915_vma_pin()
285 static inline void __i915_vma_unpin(struct i915_vma *vma) in __i915_vma_unpin()
291 static inline void i915_vma_unpin(struct i915_vma *vma) in i915_vma_unpin()
297 static inline bool i915_vma_is_bound(const struct i915_vma *vma, in i915_vma_is_bound()
353 static inline void __i915_vma_unpin_fence(struct i915_vma *vma) in __i915_vma_unpin_fence()
368 i915_vma_unpin_fence(struct i915_vma *vma) in i915_vma_unpin_fence()
376 static inline bool i915_vma_is_scanout(const struct i915_vma *vma) in i915_vma_is_scanout()
381 static inline void i915_vma_mark_scanout(struct i915_vma *vma) in i915_vma_mark_scanout()
386 static inline void i915_vma_clear_scanout(struct i915_vma *vma) in i915_vma_clear_scanout()
412 static inline int i915_vma_sync(struct i915_vma *vma) in i915_vma_sync()
428 i915_vma_get_current_resource(struct i915_vma *vma) in i915_vma_get_current_resource()