pvr_mmu_map_sgl(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

pvr_mmu_map_sgl(9) πŸ’…βœ¨

okay so bestie, this is the Kernel API Manual entry for pvr_mmu_map_sgl, and it's giving β€œmap part of a scatter-gather table entry to device-virtual memory” energy. no cap, it's a whole little memory-mapping moment. 🫢


✨ NAME ✨

pvr_mmu_map_sgl β€” Map part of a scatter-gather table entry to device-virtual memory.

🌸 SYNOPSIS 🌸

int pvr_mmu_map_sgl (struct pvr_mmu_op_context *op_ctx , struct
       scatterlist *sgl , u64 offset , u64 size , struct pvr_page_flags_raw
       page_flags );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • op_ctx β€” the target MMU op context, and it points to the first page that should be mapped. literally the starting point of the whole vibe.
  • sgl β€” the target scatter-gather table entry. that's the thing we're working with.
  • offset β€” offset into sgl to map from. it must result in a starting address from sgl which is CPU page-aligned. not optional, bestie.
  • size β€” size of the memory to be mapped in bytes. it must be a non-zero multiple of the device page size. periodt.
  • page_flags β€” page options to be applied to every device-virtual memory page in the created mapping. every single one gets the same treatment. πŸ’…

πŸ‘‘ RETURN πŸ‘‘

  • 0 on success,
  • -EINVAL if the range specified by offset and size is not completely within sgl, or
  • any error encountered while creating a page with pvr_page_create, or
  • any error encountered while advancing op_ctx.curr_page with pvr_mmu_op_context_next_page.

πŸŽ€ SEE ALSO πŸŽ€

bestie, the extended fam is long, but every single reference is here. no skips, no summaries, we keep the whole guest list. 🫢

okay that’s the whole page, bestie πŸ’– source/version: ./drivers/gpu/drm/imagination Β· date: October 2026 Β· page: pvr_mmu_map_sgl(9) β€” mwah, go map that memory responsibly 🫢✨
πŸ“¦ where this page comes from