ENUM VMW_DMA_MAP_MODE(9)
π 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:
struct vmw_resource(9)struct vmw_surface_metadata(9)struct vmw_surface(9)struct vmw_res_cache_entry(9)struct vmw_sg_table(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)
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
- 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