drm_atomic_h...estroy_state(9)
okay so bestie, welcome to the Kernel API Manual β¨ β this little page is all about drm_atomic_helper_crtc_destroy_state(9), and honestly? she's a cleanup queen and she knows it π
β¨ NAME β¨
drm_atomic_helper_crtc_destroy_state β the default state destroy hook π§Ήπ¦
β¨ SYNOPSIS β¨
void drm_atomic_helper_crtc_destroy_state (struct drm_crtc *crtc ,
struct drm_crtc_state *state );
πΈ ARGUMENTS πΈ
crtcβ adrmCRTC π (yes that's the whole description, she's a woman of few words)stateβ the CRTC state object you're about to release π
π DESCRIPTION π
So this is the default CRTC state destroy hook β the one you get for free, no cap. It's for drivers that don't have their own subclassed CRTC state structure, like, at all. If you do have your own subclassed situation going on, this isn't your girl, but if you're running vanilla? She ate. π₯
π«Ά SEE ALSO π«Ά
- Kernel file
./drivers/gpu/drm/drm_atomic_state_helper.cπ atomic state reset and initialization(9)__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_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_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)
and that's the whole vibe, bestie π this one lives in ./drivers/gpu/drm and it's stamped October 2026 β go forth and free your state objects responsibly, mwah π«Άππ
π¦ 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