drm_atomic_...estroy_state(9)
πΈ 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:
__drm_atomic_helper_crtc_state_init(9)__drm_atomic_helper_crtc_reset(9)drm_atomic_helper_crtc_reset(9)drm_atomic_helper_crtc_create_state(9)__drm_atomic_helper_crtc_duplicate_state(9)drm_atomic_helper_crtc_duplicate_state(9)__drm_atomic_helper_crtc_destroy_state(9)drm_atomic_helper_crtc_destroy_state(9)__drm_atomic_helper_plane_state_init(9)__drm_atomic_helper_plane_reset(9)drm_atomic_helper_plane_reset(9)drm_atomic_helper_plane_create_state(9)__drm_atomic_helper_plane_duplicate_state(9)drm_atomic_helper_plane_duplicate_state(9)__drm_atomic_helper_plane_destroy_state(9)__drm_atomic_helper_connector_state_init(9)__drm_atomic_helper_connector_reset(9)drm_atomic_helper_connector_reset(9)drm_atomic_helper_connector_create_state(9)drm_atomic_helper_connector_tv_margins_reset(9)drm_atomic_helper_connector_tv_reset(9)drm_atomic_helper_connector_tv_check(9)__drm_atomic_helper_connector_duplicate_state(9)drm_atomic_helper_connector_duplicate_state(9)__drm_atomic_helper_connector_destroy_state(9)drm_atomic_helper_connector_destroy_state(9)__drm_atomic_helper_private_obj_create_state(9)__drm_atomic_helper_private_obj_duplicate_state(9)__drm_atomic_helper_bridge_duplicate_state(9)drm_atomic_helper_bridge_duplicate_state(9)drm_atomic_helper_bridge_destroy_state(9)__drm_atomic_helper_bridge_state_init(9)drm_atomic_helper_bridge_create_state(9)
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
- 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