Lines Matching refs:ppgtt
436 struct i915_ppgtt *ppgtt = i915_vm_to_ppgtt(ce->vm); in set_context_ppgtt_from_shadow() local
440 set_dma_address(ppgtt->pd, mm->ppgtt_mm.shadow_pdps[0]); in set_context_ppgtt_from_shadow()
444 i915_pd_entry(ppgtt->pd, i); in set_context_ppgtt_from_shadow()
549 if (!bb->ppgtt) { in prepare_shadow_batch_buffer()
1294 struct i915_ppgtt *ppgtt) in i915_context_ppgtt_root_restore() argument
1298 if (i915_vm_is_4lvl(&ppgtt->vm)) { in i915_context_ppgtt_root_restore()
1299 set_dma_address(ppgtt->pd, s->i915_context_pml4); in i915_context_ppgtt_root_restore()
1303 i915_pd_entry(ppgtt->pd, i); in i915_context_ppgtt_root_restore()
1355 struct i915_ppgtt *ppgtt) in i915_context_ppgtt_root_save() argument
1359 if (i915_vm_is_4lvl(&ppgtt->vm)) { in i915_context_ppgtt_root_save()
1360 s->i915_context_pml4 = px_dma(ppgtt->pd); in i915_context_ppgtt_root_save()
1364 i915_pd_entry(ppgtt->pd, i); in i915_context_ppgtt_root_save()
1386 struct i915_ppgtt *ppgtt; in intel_vgpu_setup_submission() local
1390 ppgtt = i915_ppgtt_create(&i915->gt); in intel_vgpu_setup_submission()
1391 if (IS_ERR(ppgtt)) in intel_vgpu_setup_submission()
1392 return PTR_ERR(ppgtt); in intel_vgpu_setup_submission()
1394 i915_context_ppgtt_root_save(s, ppgtt); in intel_vgpu_setup_submission()
1409 ce->vm = i915_vm_get(&ppgtt->vm); in intel_vgpu_setup_submission()
1438 i915_vm_put(&ppgtt->vm); in intel_vgpu_setup_submission()
1442 i915_context_ppgtt_root_restore(s, ppgtt); in intel_vgpu_setup_submission()
1449 i915_vm_put(&ppgtt->vm); in intel_vgpu_setup_submission()