Lines Matching defs:view
105 const struct i915_ggtt_view *view)
138 if (view && view->type != I915_GGTT_VIEW_NORMAL) {
139 vma->ggtt_view = *view;
140 if (view->type == I915_GGTT_VIEW_PARTIAL) {
142 view->partial.offset,
143 view->partial.size,
145 vma->size = view->partial.size;
148 } else if (view->type == I915_GGTT_VIEW_ROTATED) {
149 vma->size = intel_rotation_info_size(&view->rotated);
151 } else if (view->type == I915_GGTT_VIEW_REMAPPED) {
152 vma->size = intel_remapped_info_size(&view->remapped);
194 * If the view already exists in the tree, another thread
198 cmp = i915_vma_compare(pos, vm, view);
235 const struct i915_ggtt_view *view)
244 cmp = i915_vma_compare(vma, vm, view);
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)
277 GEM_BUG_ON(view && !i915_is_ggtt(vm));
281 vma = vma_lookup(obj, vm, view);
286 vma = vma_create(obj, vm, view);
288 GEM_BUG_ON(!IS_ERR(vma) && i915_vma_compare(vma, vm, view));
657 /* If binding the object/GGTT view requires more space than the entire