Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/gpu/drm/i915/gvt/
Dgtt.c558 entry->type = mm->ppgtt_mm.root_entry_type; in _ppgtt_get_root_entry()
559 pte_ops->get_entry(guest ? mm->ppgtt_mm.guest_pdps : in _ppgtt_get_root_entry()
560 mm->ppgtt_mm.shadow_pdps, in _ppgtt_get_root_entry()
583 pte_ops->set_entry(guest ? mm->ppgtt_mm.guest_pdps : in _ppgtt_set_root_entry()
584 mm->ppgtt_mm.shadow_pdps, in _ppgtt_set_root_entry()
1763 if (!mm->ppgtt_mm.shadowed) in invalidate_ppgtt_mm()
1766 for (index = 0; index < ARRAY_SIZE(mm->ppgtt_mm.shadow_pdps); index++) { in invalidate_ppgtt_mm()
1780 mm->ppgtt_mm.shadowed = false; in invalidate_ppgtt_mm()
1794 if (mm->ppgtt_mm.shadowed) in shadow_ppgtt_mm()
1800 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.h171 } ppgtt_mm; member
Dcmd_parser.c867 if (shadow_mm->ppgtt_mm.root_entry_type == in cmd_pdp_mmio_update_handler()
878 list_add_tail(&mm->ppgtt_mm.link, in cmd_pdp_mmio_update_handler()
880 *cmd_ptr(s, 2) = upper_32_bits(mm->ppgtt_mm.shadow_pdps[0]); in cmd_pdp_mmio_update_handler()
881 *cmd_ptr(s, 4) = lower_32_bits(mm->ppgtt_mm.shadow_pdps[0]); in cmd_pdp_mmio_update_handler()