ENUM VMW_DMA_MAP_MODE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… enum vmw_dma_map_mode(9) πŸ’…

okay so this is a page from the Kernel API Manual bestie, and it's literally all about enum vmw_dma_map_mode β€” the icon of the show ✨


🌸 NAME 🌸

enum vmw_dma_map_mode β€” the little enum that tells you how to perform TTM page dma mappings πŸŽ€


✨ SYNOPSIS ✨

enum vmw_dma_map_mode {
    vmw_dma_alloc_coherent ,
    vmw_dma_map_populate ,
    vmw_dma_map_bind

};

like. the vibes are immaculate, the syntax is minimal, we love to see it πŸ’…


πŸ¦‹ Constants πŸ¦‹

  • vmw_dma_alloc_coherent β€” use TTM coherent pages, periodt ✨
  • vmw_dma_map_populate β€” unmap from DMA just after unpopulate 🫢
  • vmw_dma_map_bind β€” unmap from DMA just before unbind πŸ‘‘

ngl that's the whole enum, it ate and left no crumbs πŸ’–


πŸ”₯ SEE ALSO πŸ”₯

so the kernel file is ./drivers/gpu/drm/vmwgfx/vmwgfx_drv.h β€” that's the main character energy source file πŸŽ€ and it's besties with all of these:

iykyk πŸ’€ the whole friend group is here, no one got left on read πŸ™ˆ


lowkey a reminder: this is all kernel-space stuff, so treat it with the respect it deserves, bestie β€” no cap 🧚

okay that's the whole page, and here's your cute lil sign-off πŸŽ€: this one lives in ./drivers/gpu/drm/vmwgfx, it's dated October 2026, and it goes by enum vmw_dma_map_mode(9) β€” slay, bye πŸ’œπŸŒˆβ­

πŸ“¦ where this page comes from