Lines Matching refs:view
202 struct i915_gtt_view view; in compute_partial_view() local
207 view.type = I915_GTT_VIEW_PARTIAL; in compute_partial_view()
208 view.partial.offset = rounddown(page_offset, chunk); in compute_partial_view()
209 view.partial.size = in compute_partial_view()
211 (obj->base.size >> PAGE_SHIFT) - view.partial.offset); in compute_partial_view()
215 view.type = I915_GTT_VIEW_NORMAL; in compute_partial_view()
217 return view; in compute_partial_view()
384 struct i915_gtt_view view = in vm_fault_gtt() local
389 if (view.type == I915_GTT_VIEW_NORMAL) in vm_fault_gtt()
397 vma = i915_gem_object_ggtt_pin_ww(obj, &ww, &view, 0, 0, flags); in vm_fault_gtt()
400 view.type = I915_GTT_VIEW_PARTIAL; in vm_fault_gtt()
401 vma = i915_gem_object_ggtt_pin_ww(obj, &ww, &view, 0, 0, flags); in vm_fault_gtt()
417 vma = i915_gem_object_ggtt_pin_ww(obj, &ww, &view, 0, 0, flags); in vm_fault_gtt()