drm_gem_dmabuf_vunmap(9)
π drm_gem_dmabuf_vunmap(9) β the Kernel API Manual, but make it make sense
okay so bestie, welcome to drm_gem_dmabuf_vunmap, a page from the Kernel API Manual itself, and honestly? she's short, she's sweet, and she undoes things. iconic behavior tbh. π
β¨ NAME β¨
drm_gem_dmabuf_vunmap β the dma_buf vunmap implementation for GEM. yes, that's the whole vibe: she unmaps. π¦
β¨ SYNOPSIS β¨
void drm_gem_dmabuf_vunmap (struct dma_buf *dma_buf , struct iosys_map
*map );
like, literally the whole signature, no cap. two args, void return, that's it, that's the girl. π
β¨ ARGUMENTS β¨
dma_bufβ the buffer that's getting unmapped, bestie. she's the one catching the release π«Άmapβ the virtual address of the buffer. the location. the spot. π
β¨ DESCRIPTION β¨
so what she actually does: she releases a kernel virtual mapping. that's the whole job. lowkey noble. π
she's built to be used as the dma_buf_ops.vunmap callback, so if you need that slot filled, she's right there, ready, main character energy β¨
and the way that she operates? she calls into drm_gem_object_funcs.vunmap for any device specific handling. so the generic part is hers, the device-specific part gets handed off, and everyone eats. π
ngl this is the cleanup half of the mapping story β the counterpart energy to drm_gem_dmabuf_vmap(9) down in SEE ALSO. the facts stay the facts, she just serves them cute. π
π SEE ALSO π
okay this list is LONG and we're not skipping a single one, bestie β every single reference, exactly as printed, periodt:
- Kernel file
./drivers/gpu/drm/drm_prime.coverview and lifetime rules(9) drm_gem_dmabuf_export(9)drm_gem_dmabuf_release(9)drm_gem_prime_fd_to_handle(9)drm_gem_prime_handle_to_dmabuf(9)drm_gem_prime_handle_to_fd(9)PRIME Helpers(9)drm_gem_map_attach(9)drm_gem_map_detach(9)drm_gem_map_dma_buf(9)drm_gem_unmap_dma_buf(9)drm_gem_dmabuf_vmap(9)drm_gem_prime_mmap(9)drm_gem_dmabuf_mmap(9)drm_prime_pages_to_sg(9)drm_prime_get_contiguous_size(9)drm_gem_prime_export(9)drm_gem_is_prime_exported_dma_buf(9)drm_gem_prime_import_dev(9)drm_gem_prime_import(9)drm_prime_sg_to_page_array(9)drm_prime_sg_to_dma_addr_array(9)drm_prime_gem_destroy(9)
like, go read them, iykyk ππ₯
and that's the whole page, bestie!! π§ no notes, she slayed π
sign-off time π : this one lives in ./drivers/gpu/drm, and she's stamped October 2026 and titled drm_gem_dmabuf_vunmap(9) β so long, farewell, go unmap something responsibly ππΈ
π¦ 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