drm_gem_vram...r_cleanup_fb(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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:


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