Lines Matching defs:vma

156 static inline bool i915_vma_is_active(const struct i915_vma *vma)  in i915_vma_is_active()
165 static inline bool i915_vma_is_ggtt(const struct i915_vma *vma) in i915_vma_is_ggtt()
170 static inline bool i915_vma_has_ggtt_write(const struct i915_vma *vma) in i915_vma_has_ggtt_write()
175 static inline void i915_vma_set_ggtt_write(struct i915_vma *vma) in i915_vma_set_ggtt_write()
181 static inline void i915_vma_unset_ggtt_write(struct i915_vma *vma) in i915_vma_unset_ggtt_write()
188 static inline bool i915_vma_is_map_and_fenceable(const struct i915_vma *vma) in i915_vma_is_map_and_fenceable()
193 static inline bool i915_vma_set_userfault(struct i915_vma *vma) in i915_vma_set_userfault()
199 static inline void i915_vma_unset_userfault(struct i915_vma *vma) in i915_vma_unset_userfault()
204 static inline bool i915_vma_has_userfault(const struct i915_vma *vma) in i915_vma_has_userfault()
209 static inline bool i915_vma_is_closed(const struct i915_vma *vma) in i915_vma_is_closed()
214 static inline u32 i915_ggtt_offset(const struct i915_vma *vma) in i915_ggtt_offset()
223 static inline u32 i915_ggtt_pin_bias(struct i915_vma *vma) in i915_ggtt_pin_bias()
228 static inline struct i915_vma *i915_vma_get(struct i915_vma *vma) in i915_vma_get()
234 static inline struct i915_vma *i915_vma_tryget(struct i915_vma *vma) in i915_vma_tryget()
242 static inline void i915_vma_put(struct i915_vma *vma) in i915_vma_put()
253 i915_vma_compare(struct i915_vma *vma, in i915_vma_compare()
309 #define assert_vma_held(vma) dma_resv_assert_held((vma)->resv) argument
311 static inline void i915_vma_lock(struct i915_vma *vma) in i915_vma_lock()
316 static inline void i915_vma_unlock(struct i915_vma *vma) in i915_vma_unlock()
324 i915_vma_pin(struct i915_vma *vma, u64 size, u64 alignment, u64 flags) in i915_vma_pin()
342 static inline int i915_vma_pin_count(const struct i915_vma *vma) in i915_vma_pin_count()
347 static inline bool i915_vma_is_pinned(const struct i915_vma *vma) in i915_vma_is_pinned()
352 static inline void __i915_vma_pin(struct i915_vma *vma) in __i915_vma_pin()
358 static inline void __i915_vma_unpin(struct i915_vma *vma) in __i915_vma_unpin()
363 static inline void i915_vma_unpin(struct i915_vma *vma) in i915_vma_unpin()
370 static inline bool i915_vma_is_bound(const struct i915_vma *vma, in i915_vma_is_bound()
403 static inline struct page *i915_vma_first_page(struct i915_vma *vma) in i915_vma_first_page()
427 static inline void __i915_vma_unpin_fence(struct i915_vma *vma) in __i915_vma_unpin_fence()
442 i915_vma_unpin_fence(struct i915_vma *vma) in i915_vma_unpin_fence()