STRUCT VMW_SG_TABLE(9)
π 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 astruct sg_tablethat'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:
struct vmw_resource(9)struct vmw_surface_metadata(9)struct vmw_surface(9)struct vmw_res_cache_entry(9)enum vmw_dma_map_mode(9)struct vmw_piter(9)struct vmw_sw_context(9)enum vmw_sm_type(9)has_sm4_context(9)has_sm4_1_context(9)has_sm5_context(9)has_gl43_context(9)vmw_resource_mob_attached(9)vmw_fifo_caps(9)vmw_is_cursor_bypass3_enabled(9)vmw_piter_next(9)vmw_piter_dma_addr(9)vmw_piter_page(9)struct vmw_diff_cpy(9)VMW_DEBUG_USER(9)VMW_DEBUG_KMS(9)vmw_fifo_mem_read(9)vmw_fifo_mem_write(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms