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

/linux-4.1.27/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
1885 intel_gtt_insert_sg_entries(vma->ggtt_view.pages, entry, flags); i915_ggtt_bind_vma()
1923 pages = vma->ggtt_view.pages; ggtt_bind_vma()
2529 const struct i915_ggtt_view *ggtt_view) __i915_gem_vma_create()
2533 if (WARN_ON(i915_is_ggtt(vm) != !!ggtt_view)) __i915_gem_vma_create()
2547 vma->ggtt_view = *ggtt_view; __i915_gem_vma_create()
2557 vma->ggtt_view = *ggtt_view; __i915_gem_vma_create()
2633 intel_rotate_fb_obj_pages(struct i915_ggtt_view *ggtt_view, intel_rotate_fb_obj_pages() argument
2637 struct intel_rotation_info *rot_info = &ggtt_view->rotation_info; intel_rotate_fb_obj_pages()
2710 if (vma->ggtt_view.pages) i915_get_ggtt_vma_pages()
2713 if (vma->ggtt_view.type == I915_GGTT_VIEW_NORMAL) i915_get_ggtt_vma_pages()
2714 vma->ggtt_view.pages = vma->obj->pages; i915_get_ggtt_vma_pages()
2715 else if (vma->ggtt_view.type == I915_GGTT_VIEW_ROTATED) i915_get_ggtt_vma_pages()
2716 vma->ggtt_view.pages = i915_get_ggtt_vma_pages()
2717 intel_rotate_fb_obj_pages(&vma->ggtt_view, vma->obj); i915_get_ggtt_vma_pages()
2720 vma->ggtt_view.type); i915_get_ggtt_vma_pages()
2722 if (!vma->ggtt_view.pages) { i915_get_ggtt_vma_pages()
2724 vma->ggtt_view.type); i915_get_ggtt_vma_pages()
2726 } else if (IS_ERR(vma->ggtt_view.pages)) { i915_get_ggtt_vma_pages()
2727 ret = PTR_ERR(vma->ggtt_view.pages); i915_get_ggtt_vma_pages()
2728 vma->ggtt_view.pages = NULL; i915_get_ggtt_vma_pages()
2730 vma->ggtt_view.type, ret); i915_get_ggtt_vma_pages()
2527 __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.c2987 vma->ggtt_view.type == I915_GGTT_VIEW_NORMAL) { i915_vma_unbind()
3002 if (vma->ggtt_view.type == I915_GGTT_VIEW_NORMAL) { i915_vma_unbind()
3004 } else if (vma->ggtt_view.pages) { i915_vma_unbind()
3005 sg_free_table(vma->ggtt_view.pages); i915_vma_unbind()
3006 kfree(vma->ggtt_view.pages); i915_vma_unbind()
3008 vma->ggtt_view.pages = NULL; i915_vma_unbind()
3432 const struct i915_ggtt_view *ggtt_view, i915_gem_object_bind_to_vm()
3446 if(WARN_ON(i915_is_ggtt(vm) != !!ggtt_view)) i915_gem_object_bind_to_vm()
3487 vma = ggtt_view ? i915_gem_obj_lookup_or_create_ggtt_vma(obj, ggtt_view) : i915_gem_object_bind_to_vm()
4105 const struct i915_ggtt_view *ggtt_view, i915_gem_object_do_pin()
4123 if (WARN_ON(i915_is_ggtt(vm) != !!ggtt_view)) i915_gem_object_do_pin()
4126 vma = ggtt_view ? i915_gem_obj_to_ggtt_view(obj, ggtt_view) : i915_gem_object_do_pin()
4138 offset = ggtt_view ? i915_gem_obj_ggtt_offset_view(obj, ggtt_view) : i915_gem_object_do_pin()
4144 ggtt_view ? "ggtt" : "ppgtt", i915_gem_object_do_pin()
4163 vma = i915_gem_object_bind_to_vm(obj, vm, ggtt_view, alignment, i915_gem_object_do_pin()
4541 vma->ggtt_view.type != I915_GGTT_VIEW_NORMAL) i915_gem_obj_to_vma()
4560 i915_ggtt_view_equal(&vma->ggtt_view, view)) i915_gem_obj_to_ggtt_view()
5104 vma->ggtt_view.type != I915_GGTT_VIEW_NORMAL) i915_gem_obj_offset()
5124 i915_ggtt_view_equal(&vma->ggtt_view, view)) i915_gem_obj_ggtt_offset_view()
5138 vma->ggtt_view.type != I915_GGTT_VIEW_NORMAL) i915_gem_obj_bound()
5155 i915_ggtt_view_equal(&vma->ggtt_view, view) && i915_gem_obj_ggtt_bound_view()
5185 vma->ggtt_view.type != I915_GGTT_VIEW_NORMAL) i915_gem_obj_size()
5198 vma->ggtt_view.type != I915_GGTT_VIEW_NORMAL) i915_gem_obj_is_pinned()
3430 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
4103 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.h171 struct i915_ggtt_view ggtt_view; member in struct:i915_vma
H A Di915_debugfs.c158 vma->ggtt_view.type); describe_obj()

Completed in 196 milliseconds