i915_sg_dma_sizes(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ i915_sg_dma_sizes(9) ✨

okay bestie, welcome to the i915_sg_dma_sizes(9) page from the Kernel API Manual. this one is short, sweet, and very much β€œdo one thing well” energy. πŸ’…


πŸŽ€ NAME πŸŽ€

i915_sg_dma_sizes β€” Record the dma segment sizes of a scatterlist


πŸ›  SYNOPSIS πŸ› 

unsigned int i915_sg_dma_sizes (struct scatterlist *sg );

🌸 ARGUMENTS 🌸

  • sg β€” The scatterlist. that’s the whole argument, bestie. one scatterlist, no cap. 🫢

⭐ RETURN ⭐

it returns an unsigned int with segment sizes logically or'ed together. ✨

so a caller can use this info to determine what hardware page table entry sizes can be used to map the memory represented by the scatterlist. that’s the vibe check: caller gets the bits, caller figures out which hardware page table entry sizes are usable. πŸ”₯


πŸ¦‹ SEE ALSO πŸ¦‹

the kernel file ./drivers/gpu/drm/i915/i915_scatterlist.h is where this whole situation lives, and these are the friends in the group chat:


πŸ’– tiny sign-off: this page is chillin’ under ./drivers/gpu/drm/i915, dated October 2026, and it’s literally the i915_sg_dma_sizes(9) manual page. slay. πŸŽ€βœ¨
πŸ“¦ where this page comes from