drm_atomic_...estroy_state(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

drm_atomic_helper_plane_destroy_state β€” the default state destroy hook, bestie πŸ’…

okay so real quick, this page lives in the Kernel API Manual and it's about one tiny little cleanup function that your DRM driver calls when it's time to let a plane state go πŸ¦‹


✨ SYNOPSIS ✨

void drm_atomic_helper_plane_destroy_state (struct drm_plane *plane ,
       struct drm_plane_state *state );

πŸŽ€ ARGUMENTS πŸŽ€

  • plane β€” the drm plane, like, the actual plane object πŸ›©οΈ
  • state β€” the plane state object to release, aka the thing we're saying bye to πŸ™ˆ

πŸ’– DESCRIPTION πŸ’–

It's the default plane state destroy hook for drivers that don't have their own subclassed plane state structure πŸ’€

That's the whole vibe. If you went and made your own fancy custom plane state struct, this hook isn't your girl β€” but if you're riding with the plain default one? She's got you, no cap 🫢


πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file ./drivers/gpu/drm/drm_atomic_state_helper.c, plus the whole friend group β€” atomic state reset and initialization(9) and literally all of these:


okay that's the whole page, ily, go free your plane states responsibly πŸ’œ

sign-off besties: source ./drivers/gpu/drm, dated October 2026 β€” that's the version and date, periodt ⭐🌈
πŸ“¦ where this page comes from