Lines Matching refs:ppgtt

407 	struct i915_ppgtt *ppgtt = arg;  in igt_mock_exhaust_device_supported_pages()  local
408 struct drm_i915_private *i915 = ppgtt->vm.i915; in igt_mock_exhaust_device_supported_pages()
444 vma = i915_vma_instance(obj, &ppgtt->vm, NULL); in igt_mock_exhaust_device_supported_pages()
483 struct i915_ppgtt *ppgtt = arg; in igt_mock_memory_region_huge_pages() local
484 struct drm_i915_private *i915 = ppgtt->vm.i915; in igt_mock_memory_region_huge_pages()
512 vma = i915_vma_instance(obj, &ppgtt->vm, NULL); in igt_mock_memory_region_huge_pages()
561 struct i915_ppgtt *ppgtt = arg; in igt_mock_ppgtt_misaligned_dma() local
562 struct drm_i915_private *i915 = ppgtt->vm.i915; in igt_mock_ppgtt_misaligned_dma()
604 vma = i915_vma_instance(obj, &ppgtt->vm, NULL); in igt_mock_ppgtt_misaligned_dma()
681 struct i915_ppgtt *ppgtt) in close_object_list() argument
697 struct i915_ppgtt *ppgtt = arg; in igt_mock_ppgtt_huge_fill() local
698 struct drm_i915_private *i915 = ppgtt->vm.i915; in igt_mock_ppgtt_huge_fill()
699 unsigned long max_pages = ppgtt->vm.total >> PAGE_SHIFT; in igt_mock_ppgtt_huge_fill()
735 vma = i915_vma_instance(obj, &ppgtt->vm, NULL); in igt_mock_ppgtt_huge_fill()
808 close_object_list(&objects, ppgtt); in igt_mock_ppgtt_huge_fill()
818 struct i915_ppgtt *ppgtt = arg; in igt_mock_ppgtt_64K() local
819 struct drm_i915_private *i915 = ppgtt->vm.i915; in igt_mock_ppgtt_64K()
913 vma = i915_vma_instance(obj, &ppgtt->vm, NULL); in igt_mock_ppgtt_64K()
1643 struct i915_ppgtt *ppgtt; in i915_gem_huge_page_mock_selftests() local
1654 ppgtt = i915_ppgtt_create(&dev_priv->gt, 0); in i915_gem_huge_page_mock_selftests()
1655 if (IS_ERR(ppgtt)) { in i915_gem_huge_page_mock_selftests()
1656 err = PTR_ERR(ppgtt); in i915_gem_huge_page_mock_selftests()
1660 if (!i915_vm_is_4lvl(&ppgtt->vm)) { in i915_gem_huge_page_mock_selftests()
1667 if (!i915_vm_has_scratch_64K(&ppgtt->vm)) { in i915_gem_huge_page_mock_selftests()
1673 err = i915_subtests(tests, ppgtt); in i915_gem_huge_page_mock_selftests()
1676 i915_vm_put(&ppgtt->vm); in i915_gem_huge_page_mock_selftests()