Lines Matching refs:total
171 limit = min(ppgtt->vm.total, limit); in igt_ppgtt_alloc()
261 GEM_BUG_ON(count * BIT_ULL(size) > vm->total); in lowlevel_hole()
288 GEM_BUG_ON(addr + BIT_ULL(size) > vm->total); in lowlevel_hole()
330 GEM_BUG_ON(addr + BIT_ULL(size) > vm->total); in lowlevel_hole()
1031 GEM_BUG_ON(offset_in_page(ppgtt->vm.total)); in exercise_ppgtt()
1034 err = func(&ppgtt->vm, 0, ppgtt->vm.total, end_time); in exercise_ppgtt()
1273 err = func(vm, 0, min(vm->total, limit), end_time); in exercise_mock()
1314 u64 total; in igt_gtt_reserve() local
1323 for (total = 0; in igt_gtt_reserve()
1324 total + 2 * I915_GTT_PAGE_SIZE <= ggtt->vm.total; in igt_gtt_reserve()
1325 total += 2 * I915_GTT_PAGE_SIZE) { in igt_gtt_reserve()
1352 total, in igt_gtt_reserve()
1358 total, ggtt->vm.total, err); in igt_gtt_reserve()
1364 if (vma->node.start != total || in igt_gtt_reserve()
1368 total, 2*I915_GTT_PAGE_SIZE); in igt_gtt_reserve()
1375 for (total = I915_GTT_PAGE_SIZE; in igt_gtt_reserve()
1376 total + 2 * I915_GTT_PAGE_SIZE <= ggtt->vm.total; in igt_gtt_reserve()
1377 total += 2 * I915_GTT_PAGE_SIZE) { in igt_gtt_reserve()
1404 total, in igt_gtt_reserve()
1410 total, ggtt->vm.total, err); in igt_gtt_reserve()
1416 if (vma->node.start != total || in igt_gtt_reserve()
1420 total, 2*I915_GTT_PAGE_SIZE); in igt_gtt_reserve()
1444 0, ggtt->vm.total, in igt_gtt_reserve()
1457 total, ggtt->vm.total, err); in igt_gtt_reserve()
1492 ggtt->vm.total + I915_GTT_PAGE_SIZE, 0, in igt_gtt_insert()
1493 0, ggtt->vm.total, in igt_gtt_insert()
1514 u64 total; in igt_gtt_insert() local
1539 for (total = 0; in igt_gtt_insert()
1540 total + I915_GTT_PAGE_SIZE <= ggtt->vm.total; in igt_gtt_insert()
1541 total += I915_GTT_PAGE_SIZE) { in igt_gtt_insert()
1568 0, ggtt->vm.total, in igt_gtt_insert()
1578 total, ggtt->vm.total, err); in igt_gtt_insert()
1628 0, ggtt->vm.total, in igt_gtt_insert()
1633 total, ggtt->vm.total, err); in igt_gtt_insert()
1648 for (total = 0; in igt_gtt_insert()
1649 total + 2 * I915_GTT_PAGE_SIZE <= ggtt->vm.total; in igt_gtt_insert()
1650 total += 2 * I915_GTT_PAGE_SIZE) { in igt_gtt_insert()
1677 0, ggtt->vm.total, in igt_gtt_insert()
1682 total, ggtt->vm.total, err); in igt_gtt_insert()
1854 u64 addr = (vm->total - PAGE_SIZE) + i * sizeof(u32); in igt_cs_tlb()
1889 (vm->total - PAGE_SIZE)); in igt_cs_tlb()
1892 GEM_BUG_ON(vma->node.start != vm->total - PAGE_SIZE); in igt_cs_tlb()
1913 0, vm->total - PAGE_SIZE, in igt_cs_tlb()
2071 GEM_BUG_ON(offset_in_page(i915->ggtt.vm.total)); in i915_gem_gtt_live_selftests()