Searched refs:ggtt_vm (Results 1 - 2 of 2) sorted by relevance

/linux-4.4.14/drivers/gpu/drm/i915/
H A Di915_vgpu.c184 struct i915_address_space *ggtt_vm = &dev_priv->gtt.base; intel_vgt_balloon() local
185 unsigned long ggtt_vm_end = ggtt_vm->start + ggtt_vm->total; intel_vgt_balloon()
205 if (mappable_base < ggtt_vm->start || intel_vgt_balloon()
215 ret = vgt_balloon_space(&ggtt_vm->mm, intel_vgt_balloon()
229 ret = vgt_balloon_space(&ggtt_vm->mm, intel_vgt_balloon()
238 if (mappable_base > ggtt_vm->start) { intel_vgt_balloon()
239 ret = vgt_balloon_space(&ggtt_vm->mm, intel_vgt_balloon()
241 ggtt_vm->start, mappable_base); intel_vgt_balloon()
248 ret = vgt_balloon_space(&ggtt_vm->mm, intel_vgt_balloon()
H A Di915_gem_gtt.c2640 struct i915_address_space *ggtt_vm = &dev_priv->gtt.base; i915_gem_setup_global_gtt() local
2648 ggtt_vm->start = start; i915_gem_setup_global_gtt()
2652 ggtt_vm->total = end - start - PAGE_SIZE; i915_gem_setup_global_gtt()
2653 i915_address_space_init(ggtt_vm, dev_priv); i915_gem_setup_global_gtt()
2654 ggtt_vm->total += PAGE_SIZE; i915_gem_setup_global_gtt()
2663 ggtt_vm->mm.color_adjust = i915_gtt_color_adjust; i915_gem_setup_global_gtt()
2667 struct i915_vma *vma = i915_gem_obj_to_vma(obj, ggtt_vm); i915_gem_setup_global_gtt()
2673 ret = drm_mm_reserve_node(&ggtt_vm->mm, &vma->node); i915_gem_setup_global_gtt()
2680 list_add_tail(&vma->mm_list, &ggtt_vm->inactive_list); i915_gem_setup_global_gtt()
2684 drm_mm_for_each_hole(entry, &ggtt_vm->mm, hole_start, hole_end) { i915_gem_setup_global_gtt()
2687 ggtt_vm->clear_range(ggtt_vm, hole_start, i915_gem_setup_global_gtt()
2692 ggtt_vm->clear_range(ggtt_vm, end - PAGE_SIZE, PAGE_SIZE, true); i915_gem_setup_global_gtt()

Completed in 118 milliseconds