pvr_page_create(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay so welcome to pvr_page_create(9) from the Kernel API Manual, bestie πŸ’– this is the lil function that makes a device-virtual memory page and inserts it into a level 0 page table. no cap.

🌸 NAME 🌸

pvr_page_create β€” create a device-virtual memory page and insert it into a level 0 page table. periodt πŸŽ€

✨ SYNOPSIS ✨

int pvr_page_create (struct pvr_mmu_op_context *op_ctx , dma_addr_t
dma_addr , struct pvr_page_flags_raw flags );

πŸŽ€ ARGUMENTS πŸŽ€

  • op_ctx β€” the target MMU op context, pointing at the device-virtual address of the target page. like, that’s the vibe check for where the page goes 🫢
  • dma_addr β€” the DMA address of the physical page backing the created page. yes bestie, the actual physical-page backing info πŸ’…
  • flags β€” page options saved on the level 0 page table entry for reading by the device. the device gets to read them from there, iykyk ⭐

πŸ’« RETURN πŸ’«

  • 0 β€” success, slay πŸ’–
  • -EEXIST β€” the requested page already exists. not me finding out it’s already there 😭

πŸ”— SEE ALSO πŸ”—

the whole reference friend group is right here, no gatekeeping πŸ’–


cute sign-off bestie: this page is from source/version ./drivers/gpu/drm/imagination, dated October 2026, and it’s literally pvr_page_create(9). go be iconic with your pages πŸ’…βœ¨

πŸ“¦ where this page comes from