DRM_SHADOW_PLANE_MAX_WIDTH(9)
β¨ NAME β¨
DRM_SHADOW_PLANE_MAX_WIDTH β the maximum width of a plane's shadow buffer, measured in pixels π
π¦ SYNOPSIS π¦
DRM_SHADOW_PLANE_MAX_WIDTH
π DESCRIPTION π
okay so listen bestie π«Ά β if you're dealing with drivers that have shadow planes, here's the tea: the max width of the framebuffer is usually independent from whatever the hardware limitations are. like, they're just not the same thing, no cap.
so what do drivers do with this? they can initialize struct drm_mode_config.max_width from DRM_SHADOW_PLANE_MAX_WIDTH. that's literally it. that's the whole vibe β¨
ngl this is a "small but mighty" kind of macro β it's giving main character energy for exactly one job and it does that job flawlessly π
π SEE ALSO π
- the kernel file
./include/drm/drm_gem_atomic_helper.hβ go read it, iykyk π DRM_SHADOW_PLANE_MAX_HEIGHT(9)struct drm_shadow_plane_state(9)to_drm_shadow_plane_state(9)DRM_GEM_SHADOW_PLANE_FUNCS(9)DRM_GEM_SHADOW_PLANE_HELPER_FUNCS(9)DRM_GEM_SIMPLE_DISPLAY_PIPE_SHADOW_PLANE_FUNCS(9)
aaaand that's the page, bestie π straight from ./include/drm, dated October 2026 β this iconic little entry lives in the DRM_SHADOW_PLANE_MAX_WIDTH(9) slot of the Kernel API Manual, and honestly? 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