Lines Matching refs:view
148 const struct i915_gtt_view *view)
180 if (view && view->type != I915_GTT_VIEW_NORMAL) {
181 vma->gtt_view = *view;
182 if (view->type == I915_GTT_VIEW_PARTIAL) {
184 view->partial.offset,
185 view->partial.size,
187 vma->size = view->partial.size;
190 } else if (view->type == I915_GTT_VIEW_ROTATED) {
191 vma->size = intel_rotation_info_size(&view->rotated);
193 } else if (view->type == I915_GTT_VIEW_REMAPPED) {
194 vma->size = intel_remapped_info_size(&view->remapped);
244 * If the view already exists in the tree, another thread
248 cmp = i915_vma_compare(pos, vm, view);
287 const struct i915_gtt_view *view)
296 cmp = i915_vma_compare(vma, vm, view);
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)
329 GEM_BUG_ON(view && !i915_is_ggtt_or_dpt(vm));
333 vma = i915_vma_lookup(obj, vm, view);
338 vma = vma_create(obj, vm, view);
340 GEM_BUG_ON(!IS_ERR(vma) && i915_vma_compare(vma, vm, view));
836 * If binding the object/GGTT view requires more space than the entire
1268 intel_partial_pages(const struct i915_gtt_view *view,
1273 unsigned int count = view->partial.size;
1286 sg = remap_contiguous_pages(obj, view->partial.offset, count, st, st->sgl);
1337 "Failed to get pages for VMA view type %u (%ld)!\n",