Home
last modified time | relevance | path

Searched refs:shadow_mm (Results 1 – 3 of 3) sorted by relevance

/drivers/gpu/drm/i915/gvt/
Dscheduler.c64 if (WARN_ON(!workload->shadow_mm)) in update_shadow_pdps()
67 if (WARN_ON(!atomic_read(&workload->shadow_mm->pincount))) in update_shadow_pdps()
72 (void *)workload->shadow_mm->ppgtt_mm.shadow_pdps); in update_shadow_pdps()
417 struct intel_vgpu_mm *mm = workload->shadow_mm; in set_context_ppgtt_from_shadow()
642 ret = intel_vgpu_pin_mm(workload->shadow_mm); in intel_vgpu_shadow_mm_pin()
648 if (workload->shadow_mm->type != INTEL_GVT_MM_PPGTT || in intel_vgpu_shadow_mm_pin()
649 !workload->shadow_mm->ppgtt_mm.shadowed) { in intel_vgpu_shadow_mm_pin()
650 intel_vgpu_unpin_mm(workload->shadow_mm); in intel_vgpu_shadow_mm_pin()
671 intel_vgpu_unpin_mm(workload->shadow_mm); in intel_vgpu_shadow_mm_pin()
686 intel_vgpu_unpin_mm(workload->shadow_mm); in intel_vgpu_shadow_mm_unpin()
[all …]
Dscheduler.h89 struct intel_vgpu_mm *shadow_mm; member
Dcmd_parser.c896 struct intel_vgpu_mm *shadow_mm = s->workload->shadow_mm; in cmd_pdp_mmio_update_handler() local
900 if (shadow_mm->ppgtt_mm.root_entry_type == in cmd_pdp_mmio_update_handler()
1782 s->vgpu->gtt.ggtt_mm : s->workload->shadow_mm; in find_bb_size()
1865 s->vgpu->gtt.ggtt_mm : s->workload->shadow_mm; in perform_bb_shadow()