drm_gem_vram...r_cleanup_fb(9)
π drm_gem_vram_plane_helper_cleanup_fb β a Kernel API Manual moment β¨
okay so bestie, welcome to the Kernel API Manual entry for drm_gem_vram_plane_helper_cleanup_fb(9) β yes the header is literally drm_gem_vram...r_cleanup_fb(9) because even manpage titles gotta abbreviate when they're too iconic for one line π
πΈ NAME πΈ
drm_gem_vram_plane_helper_cleanup_fb β the function that implements &struct drm_plane_helper_funcs.cleanup_fb. that's it, that's the whole job description, and honestly? slay π
β¨ SYNOPSIS β¨
void drm_gem_vram_plane_helper_cleanup_fb (struct drm_plane *plane ,
struct drm_plane_state *old_state );
like, it returns void, it takes two pointers, no drama, no cap π«Ά
π¦ ARGUMENTS π¦
planeβ a DRM plane, the whole main character of this story πold_stateβ the plane's old state, aka the lore we're about to clean up π§
π₯ DESCRIPTION π₯
okay so during plane updates, this function unpins the GEM VRAM objects of the plane's old framebuffer from VRAM. literally undoing the pinning, giving those objects their freedom back π
it complements drm_gem_vram_plane_helper_prepare_fb β like, prepare is the setup era and cleanup is the closing-the-tab era, they're a matched set, iykyk π
π SEE ALSO π
the whole friend group, fr fr β go say hi:
- Kernel file
./drivers/gpu/drm/drm_gem_vram_helper.coverview(9) 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_object_vmap(9)drm_gem_vram_object_vunmap(9)drm_vram_mm_debugfs_init(9)drmm_vram_helper_init(9)drm_vram_helper_mode_valid(9)
ngl bestie, there's no exit status, no env vars, no warnings in here β just vibes, one function, two args, and a very clean unpin π
and that's the page!! sign-off time: this one lives over in ./drivers/gpu/drm and it's dated October 2026 β see u in the next manpage, bestie, mwah πππ
π¦ 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