/src/sys/external/bsd/drm2/dist/drm/i915/gem/selftests/ |
mock_context.c | 43 struct i915_ppgtt *ppgtt; local in function:mock_context 47 ppgtt = mock_ppgtt(i915, name); 48 if (!ppgtt) 52 __set_ppgtt(ctx, &ppgtt->vm); 55 i915_vm_put(&ppgtt->vm);
|
huge_pages.c | 384 struct i915_ppgtt *ppgtt = arg; local in function:igt_mock_exhaust_device_supported_pages 385 struct drm_i915_private *i915 = ppgtt->vm.i915; 421 vma = i915_vma_instance(obj, &ppgtt->vm, NULL); 464 struct i915_ppgtt *ppgtt = arg; local in function:igt_mock_memory_region_huge_pages 465 struct drm_i915_private *i915 = ppgtt->vm.i915; 492 vma = i915_vma_instance(obj, &ppgtt->vm, NULL); 545 struct i915_ppgtt *ppgtt = arg; local in function:igt_mock_ppgtt_misaligned_dma 546 struct drm_i915_private *i915 = ppgtt->vm.i915; 588 vma = i915_vma_instance(obj, &ppgtt->vm, NULL); 673 struct i915_ppgtt *ppgtt) 693 struct i915_ppgtt *ppgtt = arg; local in function:igt_mock_ppgtt_huge_fill 814 struct i915_ppgtt *ppgtt = arg; local in function:igt_mock_ppgtt_64K 1862 struct i915_ppgtt *ppgtt; local in function:i915_gem_huge_page_mock_selftests [all...] |
/src/sys/external/bsd/drm2/dist/drm/i915/selftests/ |
mock_gtt.c | 70 struct i915_ppgtt *ppgtt; local in function:mock_ppgtt 72 ppgtt = kzalloc(sizeof(*ppgtt), GFP_KERNEL); 73 if (!ppgtt) 76 ppgtt->vm.gt = &i915->gt; 77 ppgtt->vm.i915 = i915; 78 ppgtt->vm.total = round_down(U64_MAX, PAGE_SIZE); 79 ppgtt->vm.file = ERR_PTR(-ENODEV); 81 i915_address_space_init(&ppgtt->vm, VM_CLASS_PPGTT); 83 ppgtt->vm.clear_range = mock_clear_range [all...] |
i915_gem_gtt.c | 151 struct i915_ppgtt *ppgtt; local in function:igt_ppgtt_alloc 160 ppgtt = i915_ppgtt_create(&dev_priv->gt); 161 if (IS_ERR(ppgtt)) 162 return PTR_ERR(ppgtt); 164 if (!ppgtt->vm.allocate_va_range) 175 limit = min(ppgtt->vm.total, limit); 179 err = ppgtt->vm.allocate_va_range(&ppgtt->vm, 0, size); 191 ppgtt->vm.clear_range(&ppgtt->vm, 0, size) 1006 struct i915_ppgtt *ppgtt; local in function:exercise_ppgtt [all...] |
/src/sys/external/bsd/drm2/dist/drm/i915/gt/ |
intel_ppgtt.c | 157 struct i915_ppgtt *ppgtt; local in function:i915_ppgtt_create 159 ppgtt = __ppgtt_create(gt); 160 if (IS_ERR(ppgtt)) 161 return ppgtt; 163 trace_i915_ppgtt_create(&ppgtt->vm); 165 return ppgtt; 213 void ppgtt_init(struct i915_ppgtt *ppgtt, struct intel_gt *gt) 217 ppgtt->vm.gt = gt; 218 ppgtt->vm.i915 = i915; 220 ppgtt->vm.dmat = i915->drm.dmat [all...] |
gen6_ppgtt.c | 21 static inline void gen6_write_pde(const struct gen6_ppgtt *ppgtt, 28 bus_space_write_4(ppgtt->pd_bst, ppgtt->pd_bsh, pde*sizeof(gen6_pte_t), 32 ppgtt->pd_addr + pde); 88 /* PPGTT support for Sandybdrige/Gen6 and later */ 92 struct gen6_ppgtt * const ppgtt = to_gen6_ppgtt(i915_vm_to_ppgtt(vm)); local in function:gen6_ppgtt_clear_range 101 i915_pt_entry(ppgtt->base.pd, pde++); 111 ppgtt->scan_for_unused_pt = true; 133 struct i915_ppgtt *ppgtt = i915_vm_to_ppgtt(vm); local in function:gen6_ppgtt_insert_entries 134 struct i915_page_directory * const pd = ppgtt->pd 219 struct gen6_ppgtt *ppgtt = to_gen6_ppgtt(i915_vm_to_ppgtt(vm)); local in function:gen6_alloc_va_range 313 struct gen6_ppgtt *ppgtt = to_gen6_ppgtt(i915_vm_to_ppgtt(vm)); local in function:gen6_ppgtt_cleanup 344 struct gen6_ppgtt *ppgtt = vma->private; local in function:pd_vma_bind 383 struct gen6_ppgtt *ppgtt = vma->private; local in function:pd_vma_unbind 445 struct gen6_ppgtt *ppgtt = to_gen6_ppgtt(base); local in function:gen6_ppgtt_pin 479 struct gen6_ppgtt *ppgtt = to_gen6_ppgtt(base); local in function:gen6_ppgtt_unpin 488 struct gen6_ppgtt *ppgtt = to_gen6_ppgtt(base); local in function:gen6_ppgtt_unpin_all 500 struct gen6_ppgtt *ppgtt; local in function:gen6_ppgtt_create [all...] |
gen8_ppgtt.c | 33 static void gen8_ppgtt_notify_vgt(struct i915_ppgtt *ppgtt, bool create) 35 struct drm_i915_private *i915 = ppgtt->vm.i915; 36 struct intel_uncore *uncore = ppgtt->vm.gt->uncore; 41 atomic_inc(px_used(ppgtt->pd)); /* never remove */ 43 atomic_dec(px_used(ppgtt->pd)); 47 if (i915_vm_is_4lvl(&ppgtt->vm)) { 48 const u64 daddr = px_dma(ppgtt->pd); 60 const u64 daddr = i915_page_dir_dma_addr(ppgtt, i); 135 struct i915_ppgtt * const ppgtt = i915_vm_to_ppgtt(vm); local in function:gen8_pdp_for_page_index 138 return ppgtt->pd 170 struct i915_ppgtt *ppgtt = i915_vm_to_ppgtt(vm); local in function:gen8_ppgtt_cleanup 638 struct i915_ppgtt * const ppgtt = i915_vm_to_ppgtt(vm); local in function:gen8_ppgtt_insert 760 struct i915_ppgtt *ppgtt; local in function:gen8_ppgtt_create [all...] |
selftest_hangcheck.c | 1313 struct i915_ppgtt *ppgtt; local in function:igt_reset_evict_ppgtt 1320 ppgtt = i915_ppgtt_create(gt); 1321 if (IS_ERR(ppgtt)) 1322 return PTR_ERR(ppgtt); 1324 err = __igt_reset_evict_vma(gt, &ppgtt->vm, 1326 i915_vm_put(&ppgtt->vm);
|
intel_ggtt.c | 575 * Without aliasing PPGTT there's no difference between 747 struct i915_ppgtt *ppgtt; local in function:init_aliasing_ppgtt 750 ppgtt = i915_ppgtt_create(ggtt->vm.gt); 751 if (IS_ERR(ppgtt)) 752 return PTR_ERR(ppgtt); 754 if (GEM_WARN_ON(ppgtt->vm.total < ggtt->vm.total)) { 765 err = ppgtt->vm.allocate_va_range(&ppgtt->vm, 0, ggtt->vm.total); 769 ggtt->alias = ppgtt; 770 ggtt->vm.bind_async_flags |= ppgtt->vm.bind_async_flags 787 struct i915_ppgtt *ppgtt; local in function:fini_aliasing_ppgtt [all...] |
/src/sys/external/bsd/drm2/dist/drm/i915/gvt/ |
scheduler.h | 131 bool ppgtt; member in struct:intel_vgpu_shadow_bb
|
scheduler.c | 374 struct i915_ppgtt *ppgtt = i915_vm_to_ppgtt(ce->vm); local in function:set_context_ppgtt_from_shadow 378 px_dma(ppgtt->pd) = mm->ppgtt_mm.shadow_pdps[0]; 382 i915_pd_entry(ppgtt->pd, i); 470 if (bb->ppgtt) { 627 gvt_vgpu_err("workload shadow ppgtt isn't ready\n"); 1136 struct i915_ppgtt *ppgtt) 1140 if (i915_vm_is_4lvl(&ppgtt->vm)) { 1141 px_dma(ppgtt->pd) = s->i915_context_pml4; 1145 i915_pd_entry(ppgtt->pd, i); 1197 struct i915_ppgtt *ppgtt) 1228 struct i915_ppgtt *ppgtt; local in function:intel_vgpu_setup_submission [all...] |
/src/sys/external/bsd/drm2/dist/drm/i915/gem/ |
i915_gem_context.c | 193 * We do not allow downgrading from full-ppgtt [to a shared 201 * This ppgtt may have be reallocated between 204 * of this ppgtt with that third context (and not 206 * ppgtt after passing through the strong memory 210 * Once we have acquired the current ppgtt of ctx, 539 * the ppgtt). 734 struct i915_ppgtt *ppgtt; local in function:i915_gem_create_context 736 ppgtt = i915_ppgtt_create(&i915->gt); 737 if (IS_ERR(ppgtt)) { 738 DRM_DEBUG_DRIVER("PPGTT setup failed (%ld)\n" 895 struct i915_ppgtt *ppgtt; local in function:i915_gem_vm_create_ioctl 1118 struct i915_ppgtt *ppgtt = i915_vm_to_ppgtt(vm); local in function:emit_ppgtt_update 1135 struct i915_ppgtt *ppgtt = i915_vm_to_ppgtt(vm); local in function:emit_ppgtt_update [all...] |