Lines Matching refs:total
165 vm->clear_range(vm, 0, vm->total); in i915_ggtt_suspend_vm()
552 GEM_BUG_ON(ggtt->vm.total <= GUC_TOP_RESERVE_SIZE); in ggtt_reserve_guc_top()
553 offset = ggtt->vm.total - GUC_TOP_RESERVE_SIZE; in ggtt_reserve_guc_top()
671 ggtt->vm.clear_range(&ggtt->vm, ggtt->vm.total - PAGE_SIZE, PAGE_SIZE); in init_ggtt()
723 if (GEM_WARN_ON(ppgtt->vm.total < ggtt->vm.total)) { in init_aliasing_ppgtt()
728 err = i915_vm_alloc_pt_stash(&ppgtt->vm, &stash, ggtt->vm.total); in init_aliasing_ppgtt()
744 ppgtt->vm.allocate_va_range(&ppgtt->vm, &stash, 0, ggtt->vm.total); in init_aliasing_ppgtt()
995 ggtt->vm.total = (size / sizeof(gen8_pte_t)) * I915_GTT_PAGE_SIZE; in gen8_gmch_probe()
1163 ggtt->vm.total = (size / sizeof(gen6_pte_t)) * I915_GTT_PAGE_SIZE; in gen6_gmch_probe()
1217 if ((ggtt->vm.total - 1) >> 32) { in ggtt_probe_hw()
1221 ggtt->vm.total >> 20); in ggtt_probe_hw()
1222 ggtt->vm.total = 1ULL << 32; in ggtt_probe_hw()
1224 min_t(u64, ggtt->mappable_end, ggtt->vm.total); in ggtt_probe_hw()
1227 if (ggtt->mappable_end > ggtt->vm.total) { in ggtt_probe_hw()
1231 &ggtt->mappable_end, ggtt->vm.total); in ggtt_probe_hw()
1232 ggtt->mappable_end = ggtt->vm.total; in ggtt_probe_hw()
1236 drm_dbg(&i915->drm, "GGTT size = %lluM\n", ggtt->vm.total >> 20); in ggtt_probe_hw()
1309 vm->clear_range(vm, 0, vm->total); in i915_ggtt_resume_vm()