Home
last modified time | relevance | path

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

/drivers/gpu/drm/i915/
Di915_vgpu.c184 struct i915_address_space *ggtt_vm = &dev_priv->gtt.base; in intel_vgt_balloon() local
185 unsigned long ggtt_vm_end = ggtt_vm->start + ggtt_vm->total; in intel_vgt_balloon()
205 if (mappable_base < ggtt_vm->start || in intel_vgt_balloon()
215 ret = vgt_balloon_space(&ggtt_vm->mm, in intel_vgt_balloon()
229 ret = vgt_balloon_space(&ggtt_vm->mm, in intel_vgt_balloon()
238 if (mappable_base > ggtt_vm->start) { in intel_vgt_balloon()
239 ret = vgt_balloon_space(&ggtt_vm->mm, in intel_vgt_balloon()
241 ggtt_vm->start, mappable_base); in intel_vgt_balloon()
248 ret = vgt_balloon_space(&ggtt_vm->mm, in intel_vgt_balloon()
Di915_gem_gtt.c2656 struct i915_address_space *ggtt_vm = &dev_priv->gtt.base; in i915_gem_setup_global_gtt() local
2664 ggtt_vm->start = start; in i915_gem_setup_global_gtt()
2668 ggtt_vm->total = end - start - PAGE_SIZE; in i915_gem_setup_global_gtt()
2669 i915_address_space_init(ggtt_vm, dev_priv); in i915_gem_setup_global_gtt()
2670 ggtt_vm->total += PAGE_SIZE; in i915_gem_setup_global_gtt()
2673 ggtt_vm->has_read_only = IS_VALLEYVIEW(dev_priv); in i915_gem_setup_global_gtt()
2682 ggtt_vm->mm.color_adjust = i915_gtt_color_adjust; in i915_gem_setup_global_gtt()
2686 struct i915_vma *vma = i915_gem_obj_to_vma(obj, ggtt_vm); in i915_gem_setup_global_gtt()
2692 ret = drm_mm_reserve_node(&ggtt_vm->mm, &vma->node); in i915_gem_setup_global_gtt()
2699 list_add_tail(&vma->mm_list, &ggtt_vm->inactive_list); in i915_gem_setup_global_gtt()
[all …]