Lines Matching refs:view
116 const struct i915_gtt_view *view)
148 if (view && view->type != I915_GTT_VIEW_NORMAL) {
149 vma->gtt_view = *view;
150 if (view->type == I915_GTT_VIEW_PARTIAL) {
152 view->partial.offset,
153 view->partial.size,
155 vma->size = view->partial.size;
158 } else if (view->type == I915_GTT_VIEW_ROTATED) {
159 vma->size = intel_rotation_info_size(&view->rotated);
161 } else if (view->type == I915_GTT_VIEW_REMAPPED) {
162 vma->size = intel_remapped_info_size(&view->remapped);
212 * If the view already exists in the tree, another thread
216 cmp = i915_vma_compare(pos, vm, view);
255 const struct i915_gtt_view *view)
264 cmp = i915_vma_compare(vma, vm, view);
281 * @view: additional mapping requirements
284 * the same @view characteristics. If a match is not found, one is created.
293 const struct i915_gtt_view *view)
297 GEM_BUG_ON(view && !i915_is_ggtt_or_dpt(vm));
301 vma = i915_vma_lookup(obj, vm, view);
306 vma = vma_create(obj, vm, view);
308 GEM_BUG_ON(!IS_ERR(vma) && i915_vma_compare(vma, vm, view));
804 * If binding the object/GGTT view requires more space than the entire
1236 intel_partial_pages(const struct i915_gtt_view *view,
1241 unsigned int count = view->partial.size;
1254 sg = remap_contiguous_pages(obj, view->partial.offset, count, st, st->sgl);
1305 "Failed to get pages for VMA view type %u (%ld)!\n",