drm_gem_vram_object_vunmap(9)
π drm_gem_vram_object_vunmap
okay bestie, welcome to the Kernel API Manual β¨ β this one's a little function page from the kernel DRM docs, and honestly? It's a short one, so we can absolutely devour it together π«Ά
β¨ NAME β¨
drm_gem_vram_object_vunmap β no cap, this is literally the implementation behind &struct drm_gem_object_funcs.vunmap. That's it, that's the whole job π
π¦ SYNOPSIS π¦
void drm_gem_vram_object_vunmap (struct drm_gem_object *gem , struct iosys_map *map );
likeβ¦ it returns void. No result, no drama, she just does the thing and leaves π
πΈ ARGUMENTS πΈ
gemβ the GEM object you're unmapping, bestie. The actual thing getting cleaned up πmapβ the kernel virtual address where the VRAM GEM object was mapped before. So like, the spot she was hanging out at π
π§ SEE ALSO π§
okay this is the part where the manpage goes full group-chat-tag-everyone π first up, the overview lives in the kernel file ./drivers/gpu/drm/drm_gem_vram_helper.c β go read overview(9) if you want the whole lore π¦
and then the entire squad:
drm_gem_vram_create(9)drm_gem_vram_put(9)drm_gem_vram_offset(9)drm_gem_vram_vmap(9)drm_gem_vram_vunmap(9)drm_gem_vram_fill_create_dumb(9)drm_gem_vram_object_free(9)drm_gem_vram_driver_dumb_create(9)drm_gem_vram_plane_helper_prepare_fb(9)drm_gem_vram_plane_helper_cleanup_fb(9)drm_gem_vram_object_vmap(9)drm_vram_mm_debugfs_init(9)drmm_vram_helper_init(9)drm_vram_helper_mode_valid(9)
like, the whole friend group fr fr π (and yes, drm_gem_vram_object_vmap(9) is literally her sister function β vmap up, vunmap down, the way that it should be π
)
and that's the page!! tiny but iconic π no bugs mentioned, no warnings, no exit statuses β she's just a clean little unmap. iykyk π
mwah, that's a wrap π this little beauty lives under ./drivers/gpu/drm, it's dated October 2026, and it came to you straight from the Kernel API Manual β stan forever, periodt ππ
π¦ 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