drm_gem_sim..._plane_state(9)
π NAME
Okay so bestie, the whole main character of this page is drm_gem_simple_kms_destroy_shadow_plane_state β and what it does is resets shadow-buffered plane state. That's it, that's the vibe. (Also, for the record, this lil page lives under the manual name drm_gem_sim..._plane_state(9) in the Kernel API Manual, because long kernel symbol names got places to be and the header column is only so wide π)
β¨ SYNOPSIS
void drm_gem_simple_kms_destroy_shadow_plane_state (struct
drm_simple_display_pipe *pipe , struct drm_plane_state *plane_state );
π ARGUMENTS
pipeβ the simple display pipe π«Άplane_stateβ the plane state, and it's of typestruct drm_shadow_plane_state(iykyk)
π¦ DESCRIPTION
So what this function does, fr fr, is it implements struct drm_simple_display_funcs.destroy_plane_state for shadow-buffered planes. That's the whole gig. β¨
Heads up though β it expects that mappings of shadow buffers have been released already. Like, that's already done by the time you call this. Not it's job. So don't come in here with live mappings, okay? π
π SEE ALSO
Grab a snack, because this list is long and it's giving very much "family reunion" energy π:
- Kernel file
./drivers/gpu/drm/drm_gem_atomic_helper.cβoverview(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_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)
That's the whole page, bestie β no crumbs left behind π This one ships out of ./drivers/gpu/drm and it's dated October 2026, living under the name drm_gem_sim..._plane_state(9). Slay, go reset some plane state, 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