Lines Matching full:view
105 const struct i915_ggtt_view *view) in vma_create() argument
138 if (view && view->type != I915_GGTT_VIEW_NORMAL) { in vma_create()
139 vma->ggtt_view = *view; in vma_create()
140 if (view->type == I915_GGTT_VIEW_PARTIAL) { in vma_create()
142 view->partial.offset, in vma_create()
143 view->partial.size, in vma_create()
145 vma->size = view->partial.size; in vma_create()
148 } else if (view->type == I915_GGTT_VIEW_ROTATED) { in vma_create()
149 vma->size = intel_rotation_info_size(&view->rotated); in vma_create()
151 } else if (view->type == I915_GGTT_VIEW_REMAPPED) { in vma_create()
152 vma->size = intel_remapped_info_size(&view->remapped); in vma_create()
194 * If the view already exists in the tree, another thread in vma_create()
198 cmp = i915_vma_compare(pos, vm, view); in vma_create()
235 const struct i915_ggtt_view *view) in vma_lookup() argument
244 cmp = i915_vma_compare(vma, vm, view); in vma_lookup()
261 * @view: additional mapping requirements
264 * the same @view characteristics. If a match is not found, one is created.
273 const struct i915_ggtt_view *view) in i915_vma_instance() argument
277 GEM_BUG_ON(view && !i915_is_ggtt(vm)); in i915_vma_instance()
281 vma = vma_lookup(obj, vm, view); in i915_vma_instance()
286 vma = vma_create(obj, vm, view); in i915_vma_instance()
288 GEM_BUG_ON(!IS_ERR(vma) && i915_vma_compare(vma, vm, view)); in i915_vma_instance()
654 /* If binding the object/GGTT view requires more space than the entire in i915_vma_insert()