drm_gem_sim...ow_fb_access(9)
π« drm_gem_simple_kms_end_shadow_fb_access π«
okay bestie, welcome to the Kernel API Manual β¨ this one's a function page, and yes the name is a whole mouthful β the header literally abbreviates it as drm_gem_sim...ow_fb_access(9) and honestly? fair. π«Ά
πΈ NAME πΈ
drm_gem_simple_kms_end_shadow_fb_access β it releases shadow framebuffers from CPU access, no cap π
π¦ SYNOPSIS π¦
void drm_gem_simple_kms_end_shadow_fb_access (struct
drm_simple_display_pipe *pipe , struct drm_plane_state *plane_state );
like, it returns nothing (void, queen of not giving anything back) and it takes exactly two things. slay. β
π ARGUMENTS π
pipeβ the simple display pipe π§ the literal pipe in questionplane_stateβ the plane state, and bestie it's of typestruct drm_shadow_plane_stateπ (that type detail matters, don't @ me)
π₯ DESCRIPTION π₯
so this function implements struct drm_simple_display_funcs.end_fb_access. it's the cleanup girlie π
β it undoes all of the effects of drm_gem_simple_kms_begin_shadow_fb_access, and it does it in reverse order. that's the whole vibe: begin does stuff, end un-stuffs it, backwards, iconically.
See drm_gem_simple_kms_begin_shadow_fb_access. it's giving "read the other page too" ππ«Ά
π SEE ALSO π
the whole friend group, fr fr:
- 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_reset_shadow_plane(9)drm_gem_simple_kms_duplicate_shadow_plane_state(9)drm_gem_simple_kms_destroy_shadow_plane_state(9)
ok that's the whole page bestie, go forth and release those shadow framebuffers from CPU access π
and finally, the cute little sign-off bit: this one lives in ./drivers/gpu/drm (that's the source dir, mwah π), dated October 2026, and it's the drm_gem_sim...ow_fb_access(9) page β 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