Lines Matching full:view
148 const struct i915_gtt_view *view) in vma_create() argument
180 if (view && view->type != I915_GTT_VIEW_NORMAL) { in vma_create()
181 vma->gtt_view = *view; in vma_create()
182 if (view->type == I915_GTT_VIEW_PARTIAL) { in vma_create()
184 view->partial.offset, in vma_create()
185 view->partial.size, in vma_create()
187 vma->size = view->partial.size; in vma_create()
190 } else if (view->type == I915_GTT_VIEW_ROTATED) { in vma_create()
191 vma->size = intel_rotation_info_size(&view->rotated); in vma_create()
193 } else if (view->type == I915_GTT_VIEW_REMAPPED) { in vma_create()
194 vma->size = intel_remapped_info_size(&view->remapped); in vma_create()
244 * If the view already exists in the tree, another thread in vma_create()
248 cmp = i915_vma_compare(pos, vm, view); in vma_create()
287 const struct i915_gtt_view *view) in i915_vma_lookup() argument
296 cmp = i915_vma_compare(vma, vm, view); in i915_vma_lookup()
313 * @view: additional mapping requirements
316 * the same @view characteristics. If a match is not found, one is created.
325 const struct i915_gtt_view *view) in i915_vma_instance() argument
329 GEM_BUG_ON(view && !i915_is_ggtt_or_dpt(vm)); in i915_vma_instance()
333 vma = i915_vma_lookup(obj, vm, view); in i915_vma_instance()
338 vma = vma_create(obj, vm, view); in i915_vma_instance()
340 GEM_BUG_ON(!IS_ERR(vma) && i915_vma_compare(vma, vm, view)); in i915_vma_instance()
836 * If binding the object/GGTT view requires more space than the entire in i915_vma_insert()
1268 intel_partial_pages(const struct i915_gtt_view *view, in intel_partial_pages() argument
1273 unsigned int count = view->partial.size; in intel_partial_pages()
1286 sg = remap_contiguous_pages(obj, view->partial.offset, count, st, st->sgl); in intel_partial_pages()
1337 "Failed to get pages for VMA view type %u (%ld)!\n", in __i915_vma_get_pages()