DRM_GEM_SHADOW_PLANE_FUNCS(9)
πΈ DRM_GEM_SHADOW_PLANE_FUNCS(9) πΈ
okay bestie, welcome to the Kernel API Manual β this one's a macro page, it's short, it's sweet, and it's gonna make your shadow-buffered planes look flawless β¨
π NAME π
DRM_GEM_SHADOW_PLANE_FUNCS β the macro that initializes struct drm_plane_funcs for shadow-buffered planes. like, it sets up the whole vibe of your plane's function table for you π
β¨ SYNOPSIS β¨
DRM_GEM_SHADOW_PLANE_FUNCS
that's it. that's the whole thing. no args, no nothing, just the macro name sitting there being iconic π
π¦ DESCRIPTION π¦
so here's the tea β β drivers are allowed to use GEM BOs as shadow buffers layered over the framebuffer memory. think of it like a little understudy that's ready to step in π
this macro initializes struct drm_plane_funcs so it uses the rsp helper functions. that's it, that's the job β it wires your plane funcs up to the rsp helpers and dips, no cap π«Ά
π SEE ALSO π
- Kernel file
./include/drm/drm_gem_atomic_helper.hβ go read it, iykyk π DRM_SHADOW_PLANE_MAX_WIDTH(9)DRM_SHADOW_PLANE_MAX_HEIGHT(9)struct drm_shadow_plane_state(9)to_drm_shadow_plane_state(9)DRM_GEM_SHADOW_PLANE_HELPER_FUNCS(9)DRM_GEM_SIMPLE_DISPLAY_PIPE_SHADOW_PLANE_FUNCS(9)
and that's the whole page, bestie!! π it lives in ./include/drm, it's part of the Kernel API Manual, and it's dated October 2026 β so like, mark your calendar, mwah πβ¨ no notes, ate and left no crumbs ππ§
π¦ 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