STRUCT VMW_SG_TABLE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– struct vmw_sg_table(9) πŸ’–

okay so bestie, welcome to the Kernel API Manual entry for struct vmw_sg_table β€” this is the scatter/gather table you use for binding, except it's got extra device-specific info tucked in. it's giving "sg_table but make it vmwgfx" ✨


🌸 NAME 🌸

struct vmw_sg_table β€” the scatter/gather table for binding, with additional device-specific information. literally what it says on the tin, no cap 🫢


πŸŽ€ SYNOPSIS πŸŽ€

struct vmw_sg_table {
    enum vmw_dma_map_mode mode;
    struct page **pages;
    const dma_addr_t *addrs;
    struct sg_table *sgt;
    unsigned long num_pages;
 };

πŸ¦‹ Members πŸ¦‹

  • mode β€” which page mapping mode to use. the main character of this struct ngl πŸ’…
  • pages β€” array of page pointers to the pages.
  • addrs β€” DMA addresses to the pages, but only if coherent pages are used. conditional queen πŸ‘‘
  • sgt β€” pointer to a struct sg_table that's holding the binding information.
  • num_pages β€” number of pages. the count. the receipts. πŸ”₯

⭐ SEE ALSO ⭐

okay so the whole friend group is here, all listed in the kernel file ./drivers/gpu/drm/vmwgfx/vmwgfx_drv.h:

like, that's the entire group chat, everybody showed up πŸ«ΆπŸ’œ


ngl bestie, if you're reading this page you're already deep in the vmwgfx lore. iykyk πŸ§šβ€β™€οΈ

and that's a wrap! πŸ’– this lil beauty lives in ./drivers/gpu/drm/vmwgfx, stamped October 2026, and yes the manual name up top is struct vmw_sg_table(9) β€” go off, icon πŸŽ€βœ¨

πŸ“¦ where this page comes from