DRM_FORMAT_MAX_PLANES(9)
π DRM_FORMAT_MAX_PLANES π
okay so bestie, welcome to the Kernel API Manual β yes, the kernel API manual, we're in the big leagues now π and this page is about one very specific little thing. So tiny. So iconic.
β¨ NAME β¨
DRM_FORMAT_MAX_PLANES β the maximum number of planes a DRM format can have π
like, the absolute ceiling. the hard limit. the "that's it, that's as many planes as a DRM format gets" number π
πΈ SYNOPSIS πΈ
DRM_FORMAT_MAX_PLANES
yep, that's the whole thing. no arguments, no options, no little curly braces, nothing β it's just The Name itself doing its thing β¨ honestly? main character energy.
π¦ SEE ALSO π¦
the friend group π«Ά β go say hi:
- kernel file
./include/drm/drm_fourcc.hβ that's where the whole squad lives, iykyk struct drm_format_info(9)drm_format_info_is_yuv_packed(9)drm_format_info_is_yuv_semiplanar(9)drm_format_info_is_yuv_planar(9)drm_format_info_is_yuv_sampling_410(9)drm_format_info_is_yuv_sampling_411(9)drm_format_info_is_yuv_sampling_420(9)drm_format_info_is_yuv_sampling_422(9)drm_format_info_is_yuv_sampling_444(9)drm_format_info_plane_width(9)drm_format_info_plane_height(9)
ngl this page is short enough to read in one breath, so if you blinked and missed it β same. but every one of those SEE ALSOs is a real page, so don't skip them just because this one's a snack-sized read π
okay that's the whole vibe check, bestie β you made it to the end π this little gem lives in ./include/drm, the version on the tin says October 2026, and it ships under the very dramatic name DRM_FORMAT_MAX_PLANES(9). slay, go read some more manpages π
π¦ 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