Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/gpu/drm/i915/gvt/
Dgtt.c557 entry->type = mm->ppgtt_mm.root_entry_type; in _ppgtt_get_root_entry()
558 pte_ops->get_entry(guest ? mm->ppgtt_mm.guest_pdps : in _ppgtt_get_root_entry()
559 mm->ppgtt_mm.shadow_pdps, in _ppgtt_get_root_entry()
582 pte_ops->set_entry(guest ? mm->ppgtt_mm.guest_pdps : in _ppgtt_set_root_entry()
583 mm->ppgtt_mm.shadow_pdps, in _ppgtt_set_root_entry()
1762 if (!mm->ppgtt_mm.shadowed) in invalidate_ppgtt_mm()
1765 for (index = 0; index < ARRAY_SIZE(mm->ppgtt_mm.shadow_pdps); index++) { in invalidate_ppgtt_mm()
1779 mm->ppgtt_mm.shadowed = false; in invalidate_ppgtt_mm()
1793 if (mm->ppgtt_mm.shadowed) in shadow_ppgtt_mm()
1799 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()
697 !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()
921 if (m->ppgtt_mm.root_entry_type == GTT_TYPE_PPGTT_ROOT_L4_ENTRY) { in check_shadow_context_ppgtt()
924 if (shadow_pdp != m->ppgtt_mm.shadow_pdps[0]) { in check_shadow_context_ppgtt()
[all …]
Dgtt.h173 } ppgtt_mm; member
Dcmd_parser.c865 if (shadow_mm->ppgtt_mm.root_entry_type == in cmd_pdp_mmio_update_handler()
876 list_add_tail(&mm->ppgtt_mm.link, in cmd_pdp_mmio_update_handler()
878 *cmd_ptr(s, 2) = upper_32_bits(mm->ppgtt_mm.shadow_pdps[0]); in cmd_pdp_mmio_update_handler()
879 *cmd_ptr(s, 4) = lower_32_bits(mm->ppgtt_mm.shadow_pdps[0]); in cmd_pdp_mmio_update_handler()