drm_plane_helper_destroy(9)
π drm_plane_helper_destroy(9) π
okay so bestie, welcome to the Kernel API Manual page for drm_plane_helper_destroy β yes that's the whole title, it's giving "long function name, tiny job," and honestly? iconic. β¨
πΈ NAME πΈ
drm_plane_helper_destroy β the helper for primary plane destruction, aka the cleanup crew that shows up after the party π
π¦ SYNOPSIS π¦
void drm_plane_helper_destroy (struct drm_plane *plane );
literally one argument. one void return. no drama. we love a low-maintenance function. π
π ARGUMENTS π
planeβ the plane to destroy. yeah. that one. the one you're about to send to the shadow realm π«Ά
π₯ DESCRIPTION π₯
so here's the tea β β this function gives you a default plane destroy handler for primary planes. think of it as the pre-packaged, ready-to-go cleanup routine so you don't have to write your own.
This handler gets called during CRTC destruction. and when it's called, it does three things, in order, no cap:
- We disable the primary plane β it's done, it's over, lights off π
- Remove it from the DRM plane list β you're off the guest list, bestie, bye π
- Deallocate the plane structure β memory freed, vibes immaculate, nothing left behind β¨
so yeah, three-step goodbye tour. very main character energy for something whose entire personality is "clean up after yourself." π₯
π SEE ALSO π
- Kernel file
./drivers/gpu/drm/drm_plane_helper.cβ like, the actual source, go read it iykyk π overview(9)β the big picture bestiedrm_plane_helper_update_primary(9)β the one that updates πdrm_plane_helper_disable_primary(9)β the one that disables π
okay that's the whole page, you ate that π and like, a cute lil sign-off for the girlies keeping receipts: this page lives in ./drivers/gpu/drm and it's dated October 2026 β future-proof and fabulous, 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