Home
last modified time | relevance | path

Searched refs:ppgtt_mm (Results 1 – 4 of 4) sorted by relevance

/Linux-v6.1/drivers/gpu/drm/i915/gvt/
Dgtt.c578 entry->type = mm->ppgtt_mm.root_entry_type; in _ppgtt_get_root_entry()
579 pte_ops->get_entry(guest ? mm->ppgtt_mm.guest_pdps : in _ppgtt_get_root_entry()
580 mm->ppgtt_mm.shadow_pdps, in _ppgtt_get_root_entry()
603 pte_ops->set_entry(guest ? mm->ppgtt_mm.guest_pdps : in _ppgtt_set_root_entry()
604 mm->ppgtt_mm.shadow_pdps, in _ppgtt_set_root_entry()
1810 if (!mm->ppgtt_mm.shadowed) in invalidate_ppgtt_mm()
1813 for (index = 0; index < ARRAY_SIZE(mm->ppgtt_mm.shadow_pdps); index++) { in invalidate_ppgtt_mm()
1827 mm->ppgtt_mm.shadowed = false; in invalidate_ppgtt_mm()
1841 if (mm->ppgtt_mm.shadowed) in shadow_ppgtt_mm()
1844 mm->ppgtt_mm.shadowed = true; in shadow_ppgtt_mm()
[all …]
Dscheduler.c76 (void *)workload->shadow_mm->ppgtt_mm.shadow_pdps); in update_shadow_pdps()
441 if (mm->ppgtt_mm.root_entry_type == GTT_TYPE_PPGTT_ROOT_L4_ENTRY) { in set_context_ppgtt_from_shadow()
442 set_dma_address(ppgtt->pd, mm->ppgtt_mm.shadow_pdps[0]); in set_context_ppgtt_from_shadow()
453 set_dma_address(pd, mm->ppgtt_mm.shadow_pdps[i]); in set_context_ppgtt_from_shadow()
698 !workload->shadow_mm->ppgtt_mm.shadowed) { in intel_vgpu_shadow_mm_pin()
705 ppgtt_mm.link) { in intel_vgpu_shadow_mm_pin()
710 ppgtt_mm.link) in intel_vgpu_shadow_mm_pin()
731 ppgtt_mm.link) in intel_vgpu_shadow_mm_unpin()
920 if (m->ppgtt_mm.root_entry_type == GTT_TYPE_PPGTT_ROOT_L4_ENTRY) { in check_shadow_context_ppgtt()
923 if (shadow_pdp != m->ppgtt_mm.shadow_pdps[0]) { in check_shadow_context_ppgtt()
[all …]
Dgtt.h173 } ppgtt_mm; member
Dcmd_parser.c863 if (shadow_mm->ppgtt_mm.root_entry_type == in cmd_pdp_mmio_update_handler()
874 list_add_tail(&mm->ppgtt_mm.link, in cmd_pdp_mmio_update_handler()
876 *cmd_ptr(s, 2) = upper_32_bits(mm->ppgtt_mm.shadow_pdps[0]); in cmd_pdp_mmio_update_handler()
877 *cmd_ptr(s, 4) = lower_32_bits(mm->ppgtt_mm.shadow_pdps[0]); in cmd_pdp_mmio_update_handler()