Lines Matching full:view
141 * for the mappable aperture!), a view is created instead and faulted
142 * into userspace. (This view is aligned and sized appropriately for
189 struct i915_ggtt_view view; in compute_partial_view() local
194 view.type = I915_GGTT_VIEW_PARTIAL; in compute_partial_view()
195 view.partial.offset = rounddown(page_offset, chunk); in compute_partial_view()
196 view.partial.size = in compute_partial_view()
198 (obj->base.size >> PAGE_SHIFT) - view.partial.offset); in compute_partial_view()
202 view.type = I915_GGTT_VIEW_NORMAL; in compute_partial_view()
204 return view; in compute_partial_view()
326 /* Use a partial view if it is bigger than available space */ in vm_fault_gtt()
327 struct i915_ggtt_view view = in vm_fault_gtt() local
332 if (view.type == I915_GGTT_VIEW_NORMAL) in vm_fault_gtt()
340 vma = i915_gem_object_ggtt_pin_ww(obj, &ww, &view, 0, 0, flags); in vm_fault_gtt()
343 view.type = I915_GGTT_VIEW_PARTIAL; in vm_fault_gtt()
344 vma = i915_gem_object_ggtt_pin_ww(obj, &ww, &view, 0, 0, flags); in vm_fault_gtt()