drm_plane_helper_destroy(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

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

  1. We disable the primary plane β€” it's done, it's over, lights off πŸ’€
  2. Remove it from the DRM plane list β€” you're off the guest list, bestie, bye πŸ‘‹
  3. 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 🌈


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