drm_format_i...plane_height(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ drm_format_i...plane_height(9) ✨

okay so this is a page from the Kernel API Manual (yes, the kernel has lore, and yes, it's sending us mail πŸ’Œ) and it's all about one smol but iconic function: drm_format_info_plane_height. bestie, if you've ever wondered "how tall is this plane, actually?" β€” this is the girl for you 🫢


🌸 NAME 🌸

drm_format_info_plane_height β€” the height of the plane, given the first plane. literally that's the whole vibe: you tell it the height of plane zero, it tells you how tall your plane is ✨


🌈 SYNOPSIS 🌈

int drm_format_info_plane_height (const struct drm_format_info *info ,
       int height , int plane );

no cap, that's the whole signature πŸ’…


πŸŽ€ ARGUMENTS πŸŽ€

  • info β€” the pixel format info πŸ–ΌοΈ like, the whole personality of the format. it's a const struct drm_format_info *.
  • height β€” the height of the first plane. key word: first. that's the reference point, the main character πŸ‘‘
  • plane β€” the plane index. which plane are we asking about, bestie? πŸ”’

πŸ’– RETURN πŸ’–

the height of plane, given that the height of the first plane is height. that's it, that's the answer β€” an int. slay ✨

ngl it's a very short page, but it's doing exactly what it says. no surprises, no drama, just math for plane heights 🧚

πŸ”₯ SEE ALSO πŸ”₯


okay that's the whole thing, you ate that πŸ“ mwah πŸ’‹

sign-off time, bestie: this page lives in ./include/drm, dated October 2026 πŸ’œ ty for reading, go touch some planes βœ¨πŸŽ€

πŸ“¦ where this page comes from