Lines Matching refs:view
101 const struct i915_ggtt_view *view) in vma_create() argument
134 if (view && view->type != I915_GGTT_VIEW_NORMAL) { in vma_create()
135 vma->ggtt_view = *view; in vma_create()
136 if (view->type == I915_GGTT_VIEW_PARTIAL) { in vma_create()
138 view->partial.offset, in vma_create()
139 view->partial.size, in vma_create()
141 vma->size = view->partial.size; in vma_create()
144 } else if (view->type == I915_GGTT_VIEW_ROTATED) { in vma_create()
145 vma->size = intel_rotation_info_size(&view->rotated); in vma_create()
147 } else if (view->type == I915_GGTT_VIEW_REMAPPED) { in vma_create()
148 vma->size = intel_remapped_info_size(&view->remapped); in vma_create()
194 cmp = i915_vma_compare(pos, vm, view); in vma_create()
231 const struct i915_ggtt_view *view) in i915_vma_lookup() argument
240 cmp = i915_vma_compare(vma, vm, view); in i915_vma_lookup()
269 const struct i915_ggtt_view *view) in i915_vma_instance() argument
273 GEM_BUG_ON(view && !i915_is_ggtt_or_dpt(vm)); in i915_vma_instance()
277 vma = i915_vma_lookup(obj, vm, view); in i915_vma_instance()
282 vma = vma_create(obj, vm, view); in i915_vma_instance()
284 GEM_BUG_ON(!IS_ERR(vma) && i915_vma_compare(vma, vm, view)); in i915_vma_instance()