Searched refs:shadow_mm (Results 1 – 3 of 3) sorted by relevance
68 if (WARN_ON(!workload->shadow_mm)) in update_shadow_pdps()71 if (WARN_ON(!atomic_read(&workload->shadow_mm->pincount))) in update_shadow_pdps()76 (void *)workload->shadow_mm->ppgtt_mm.shadow_pdps); in update_shadow_pdps()437 struct intel_vgpu_mm *mm = workload->shadow_mm; in set_context_ppgtt_from_shadow()691 ret = intel_vgpu_pin_mm(workload->shadow_mm); in intel_vgpu_shadow_mm_pin()697 if (workload->shadow_mm->type != INTEL_GVT_MM_PPGTT || in intel_vgpu_shadow_mm_pin()698 !workload->shadow_mm->ppgtt_mm.shadowed) { in intel_vgpu_shadow_mm_pin()719 intel_vgpu_unpin_mm(workload->shadow_mm); in intel_vgpu_shadow_mm_pin()734 intel_vgpu_unpin_mm(workload->shadow_mm); in intel_vgpu_shadow_mm_unpin()1534 if (workload->shadow_mm) in intel_vgpu_destroy_workload()[all …]
94 struct intel_vgpu_mm *shadow_mm; member
859 struct intel_vgpu_mm *shadow_mm = s->workload->shadow_mm; in cmd_pdp_mmio_update_handler() local863 if (shadow_mm->ppgtt_mm.root_entry_type == in cmd_pdp_mmio_update_handler()1817 s->vgpu->gtt.ggtt_mm : s->workload->shadow_mm; in find_bb_size()1900 s->vgpu->gtt.ggtt_mm : s->workload->shadow_mm; in perform_bb_shadow()