STRUCT PVR_MMU_OP_CONTEXT(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ struct pvr_mmu_op_context(9) πŸŽ€

okay bestie, welcome to the Kernel API Manual entry for struct pvr_mmu_op_context. This is literally the context holding data for individual device-virtual mapping operations. Intended for use with a VM bind operation. no cap. πŸ’–

🌸 NAME 🌸

struct pvr_mmu_op_context β€” context holding data for individual device-virtual mapping operations. Intended for use with a VM bind operation. ✨

πŸ¦‹ SYNOPSIS πŸ¦‹

here's the struct in all its glory, bestie β€” keep it exact:

       struct pvr_mmu_op_context {
           struct pvr_mmu_context *mmu_ctx;
           struct {
             struct sg_table *sgt;
             u64 sgt_offset;
             struct pvr_page_table_l1 *l1_prealloc_tables;
             struct pvr_page_table_l0 *l0_prealloc_tables;
           } map;
           struct {
             struct pvr_page_table_l1 *l1_free_tables;
             struct pvr_page_table_l0 *l0_free_tables;
           } unmap;
           struct pvr_page_table_ptr curr_page;
           enum pvr_mmu_sync_level sync_level_required;
        };

🫢 Members 🫢

okay so the top-level members are giving main character energy:

  • mmu_ctx β€” the MMU context associated with the owning VM context. 🫢
  • map β€” data specifically for map operations. πŸ—ΊοΈ
  • unmap β€” data specifically for unmap operations. 🧽
  • curr_page β€” a reference to a single physical page as indexed by the page table structure. πŸ“„
  • sync_level_required β€” the maximum level of the page table tree structure which has (possibly) been modified since it was last flushed to the device. 🚦
⚠️ this field should only be set with pvr_mmu_op_context_require_sync or indirectly by pvr_mmu_op_context_sync_partial. no cap.

πŸ’… SEE ALSO πŸ’…

the whole extended universe, bestie:


xoxo, your resident kernel bestie πŸ’œ β€” source/version: ./drivers/gpu/drm/imagination, date: October 2026. struct pvr_mmu_op_context(9), out. πŸŽ€

πŸ“¦ where this page comes from