__drm_gem_de..._plane_state(9)
π __drm_gem_destroy_shadow_plane_state β NAME β¨
okay so bestie, welcome to the Kernel API Manual π β this one's called __drm_gem_destroy_shadow_plane_state, and it literally cleans up shadow-buffered plane state. that's the whole vibe. she's a cleanup girlie π§Ήπ
πΈ SYNOPSIS πΈ
void __drm_gem_destroy_shadow_plane_state (struct drm_shadow_plane_state
*shadow_plane_state );
like, she takes one thing and returns nothing (void, no cap) π«Ά
π¦ ARGUMENTS π¦
shadow_plane_stateβ the shadow-buffered plane state π« that's it, that's the argument. she's the plane state that's shadow-buffered, and she's the one getting cleaned up.
β DESCRIPTION β
So here's the tea β: this function cleans up shadow-buffered plane state. cleanup era, honestly π
And the reason she exists as a lil' __-prefixed helper is that she's helpful for drivers that subclass struct drm_shadow_plane_state β like, if your driver is doing the subclass thing and needs the inner cleanup without the whole wrapper situation, this is your girl. iykyk π
ngl the subclassing detail is the whole point of this function β don't skip it π«Ά
π SEE ALSO π
okay this is the friend group, and they're all iconic in their own way β¨
- Kernel file
./drivers/gpu/drm/drm_gem_atomic_helper.coverview(9) drm_gem_plane_helper_prepare_fb(9)__drm_gem_duplicate_shadow_plane_state(9)drm_gem_duplicate_shadow_plane_state(9)drm_gem_destroy_shadow_plane_state(9)__drm_gem_reset_shadow_plane(9)drm_gem_reset_shadow_plane(9)drm_gem_begin_shadow_fb_access(9)drm_gem_end_shadow_fb_access(9)drm_gem_simple_kms_begin_shadow_fb_access(9)drm_gem_simple_kms_end_shadow_fb_access(9)drm_gem_simple_kms_reset_shadow_plane(9)drm_gem_simple_kms_duplicate_shadow_plane_state(9)drm_gem_simple_kms_destroy_shadow_plane_state(9)
and that's the page!! π she lives in ./drivers/gpu/drm π¦ dated October 2026 πΈ and yes, the footer still says __drm_gem_de..._plane_state(9) because the title was too long for the terminal and honestly? relatable ππ go clean up that plane state bestie, slay πβ¨
π¦ 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