Searched refs:ggtt_view (Results 1 - 5 of 5) sorted by relevance

/linux-4.4.14/drivers/gpu/drm/i915/
H A Di915_gem_gtt.c86 * i915_get_vma_pages function. This table is stored in the vma.ggtt_view and
2517 vma->vm->insert_entries(vma->vm, vma->ggtt_view.pages, ggtt_bind_vma()
2545 pages = vma->ggtt_view.pages; aliasing_gtt_bind_vma()
3207 const struct i915_ggtt_view *ggtt_view) __i915_gem_vma_create()
3211 if (WARN_ON(i915_is_ggtt(vm) != !!ggtt_view)) __i915_gem_vma_create()
3225 vma->ggtt_view = *ggtt_view; __i915_gem_vma_create()
3303 intel_rotate_fb_obj_pages(struct i915_ggtt_view *ggtt_view, intel_rotate_fb_obj_pages() argument
3306 struct intel_rotation_info *rot_info = &ggtt_view->rotation_info; intel_rotate_fb_obj_pages()
3437 if (vma->ggtt_view.pages) i915_get_ggtt_vma_pages()
3440 if (vma->ggtt_view.type == I915_GGTT_VIEW_NORMAL) i915_get_ggtt_vma_pages()
3441 vma->ggtt_view.pages = vma->obj->pages; i915_get_ggtt_vma_pages()
3442 else if (vma->ggtt_view.type == I915_GGTT_VIEW_ROTATED) i915_get_ggtt_vma_pages()
3443 vma->ggtt_view.pages = i915_get_ggtt_vma_pages()
3444 intel_rotate_fb_obj_pages(&vma->ggtt_view, vma->obj); i915_get_ggtt_vma_pages()
3445 else if (vma->ggtt_view.type == I915_GGTT_VIEW_PARTIAL) i915_get_ggtt_vma_pages()
3446 vma->ggtt_view.pages = i915_get_ggtt_vma_pages()
3447 intel_partial_pages(&vma->ggtt_view, vma->obj); i915_get_ggtt_vma_pages()
3450 vma->ggtt_view.type); i915_get_ggtt_vma_pages()
3452 if (!vma->ggtt_view.pages) { i915_get_ggtt_vma_pages()
3454 vma->ggtt_view.type); i915_get_ggtt_vma_pages()
3456 } else if (IS_ERR(vma->ggtt_view.pages)) { i915_get_ggtt_vma_pages()
3457 ret = PTR_ERR(vma->ggtt_view.pages); i915_get_ggtt_vma_pages()
3458 vma->ggtt_view.pages = NULL; i915_get_ggtt_vma_pages()
3460 vma->ggtt_view.type, ret); i915_get_ggtt_vma_pages()
3205 __i915_gem_vma_create(struct drm_i915_gem_object *obj, struct i915_address_space *vm, const struct i915_ggtt_view *ggtt_view) __i915_gem_vma_create() argument
H A Di915_gem.c3296 vma->ggtt_view.type == I915_GGTT_VIEW_NORMAL) { __i915_vma_unbind()
3312 if (vma->ggtt_view.type == I915_GGTT_VIEW_NORMAL) { __i915_vma_unbind()
3314 } else if (vma->ggtt_view.pages) { __i915_vma_unbind()
3315 sg_free_table(vma->ggtt_view.pages); __i915_vma_unbind()
3316 kfree(vma->ggtt_view.pages); __i915_vma_unbind()
3318 vma->ggtt_view.pages = NULL; __i915_vma_unbind()
3421 const struct i915_ggtt_view *ggtt_view, i915_gem_object_bind_to_vm()
3437 if (WARN_ON(!ggtt_view)) i915_gem_object_bind_to_vm()
3440 view_size = i915_ggtt_view_size(obj, ggtt_view); i915_gem_object_bind_to_vm()
3482 ggtt_view ? ggtt_view->type : 0, i915_gem_object_bind_to_vm()
3493 ggtt_view ? ggtt_view->type : 0, i915_gem_object_bind_to_vm()
3506 vma = ggtt_view ? i915_gem_obj_lookup_or_create_ggtt_vma(obj, ggtt_view) : i915_gem_object_bind_to_vm()
4161 const struct i915_ggtt_view *ggtt_view, i915_gem_object_do_pin()
4179 if (WARN_ON(i915_is_ggtt(vm) != !!ggtt_view)) i915_gem_object_do_pin()
4182 vma = ggtt_view ? i915_gem_obj_to_ggtt_view(obj, ggtt_view) : i915_gem_object_do_pin()
4197 ggtt_view ? "ggtt" : "ppgtt", i915_gem_object_do_pin()
4213 vma = i915_gem_object_bind_to_vm(obj, vm, ggtt_view, alignment, i915_gem_object_do_pin()
4223 if (ggtt_view && ggtt_view->type == I915_GGTT_VIEW_NORMAL && i915_gem_object_do_pin()
4545 vma->ggtt_view.type != I915_GGTT_VIEW_NORMAL) i915_gem_obj_to_vma()
4564 i915_ggtt_view_equal(&vma->ggtt_view, view)) i915_gem_obj_to_ggtt_view()
5145 vma->ggtt_view.type != I915_GGTT_VIEW_NORMAL) i915_gem_obj_offset()
5164 i915_ggtt_view_equal(&vma->ggtt_view, view)) i915_gem_obj_ggtt_offset_view()
5178 vma->ggtt_view.type != I915_GGTT_VIEW_NORMAL) i915_gem_obj_bound()
5195 i915_ggtt_view_equal(&vma->ggtt_view, view) && i915_gem_obj_ggtt_bound_view()
5225 vma->ggtt_view.type != I915_GGTT_VIEW_NORMAL) i915_gem_obj_size()
3419 i915_gem_object_bind_to_vm(struct drm_i915_gem_object *obj, struct i915_address_space *vm, const struct i915_ggtt_view *ggtt_view, unsigned alignment, uint64_t flags) i915_gem_object_bind_to_vm() argument
4159 i915_gem_object_do_pin(struct drm_i915_gem_object *obj, struct i915_address_space *vm, const struct i915_ggtt_view *ggtt_view, uint32_t alignment, uint64_t flags) i915_gem_object_do_pin() argument
H A Di915_gem_gtt.h198 struct i915_ggtt_view ggtt_view; member in struct:i915_vma
H A Di915_debugfs.c172 seq_printf(m, ", type: %u)", vma->ggtt_view.type); describe_obj()
H A Dintel_display.c2972 offset += vma->ggtt_view.rotation_info.uv_start_page * intel_plane_obj_offset()

Completed in 326 milliseconds