Lines Matching refs:total
181 limit = min(ppgtt->vm.total, limit); in igt_ppgtt_alloc()
287 GEM_BUG_ON(count * BIT_ULL(aligned_size) > vm->total); in lowlevel_hole()
315 GEM_BUG_ON(addr + BIT_ULL(aligned_size) > vm->total); in lowlevel_hole()
374 GEM_BUG_ON(addr + BIT_ULL(size) > vm->total); in lowlevel_hole()
1215 GEM_BUG_ON(offset_in_page(ppgtt->vm.total)); in exercise_ppgtt()
1218 err = func(&ppgtt->vm, 0, ppgtt->vm.total, end_time); in exercise_ppgtt()
1472 err = func(vm, 0, min(vm->total, limit), end_time); in exercise_mock()
1540 u64 total; in igt_gtt_reserve() local
1550 for (total = 0; in igt_gtt_reserve()
1551 total + 2 * I915_GTT_PAGE_SIZE <= ggtt->vm.total; in igt_gtt_reserve()
1552 total += 2 * I915_GTT_PAGE_SIZE) { in igt_gtt_reserve()
1575 err = reserve_gtt_with_resource(vma, total); in igt_gtt_reserve()
1578 total, ggtt->vm.total, err); in igt_gtt_reserve()
1584 if (vma->node.start != total || in igt_gtt_reserve()
1588 total, 2*I915_GTT_PAGE_SIZE); in igt_gtt_reserve()
1595 for (total = I915_GTT_PAGE_SIZE; in igt_gtt_reserve()
1596 total + 2 * I915_GTT_PAGE_SIZE <= ggtt->vm.total; in igt_gtt_reserve()
1597 total += 2 * I915_GTT_PAGE_SIZE) { in igt_gtt_reserve()
1621 err = reserve_gtt_with_resource(vma, total); in igt_gtt_reserve()
1624 total, ggtt->vm.total, err); in igt_gtt_reserve()
1630 if (vma->node.start != total || in igt_gtt_reserve()
1634 total, 2*I915_GTT_PAGE_SIZE); in igt_gtt_reserve()
1658 0, ggtt->vm.total, in igt_gtt_reserve()
1665 total, ggtt->vm.total, err); in igt_gtt_reserve()
1702 obj->pat_index, 0, vm->total, 0); in insert_gtt_with_resource()
1725 ggtt->vm.total + I915_GTT_PAGE_SIZE, 0, in igt_gtt_insert()
1726 0, ggtt->vm.total, in igt_gtt_insert()
1747 u64 total; in igt_gtt_insert() local
1773 for (total = 0; in igt_gtt_insert()
1774 total + I915_GTT_PAGE_SIZE <= ggtt->vm.total; in igt_gtt_insert()
1775 total += I915_GTT_PAGE_SIZE) { in igt_gtt_insert()
1807 total, ggtt->vm.total, err); in igt_gtt_insert()
1857 total, ggtt->vm.total, err); in igt_gtt_insert()
1872 for (total = 0; in igt_gtt_insert()
1873 total + 2 * I915_GTT_PAGE_SIZE <= ggtt->vm.total; in igt_gtt_insert()
1874 total += 2 * I915_GTT_PAGE_SIZE) { in igt_gtt_insert()
1901 total, ggtt->vm.total, err); in igt_gtt_insert()
1976 GEM_BUG_ON(offset_in_page(to_gt(i915)->ggtt->vm.total)); in i915_gem_gtt_live_selftests()