drm_format_i...block_height(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… drm_format_i...block_height(9) πŸ’…

okay so this is a page from the Kernel API Manual and bestie, it's a tiny one but it matters. we're talking about one (1) function that tells you how tall a block is. that's it. that's the whole vibe. and honestly? iconic for that.


✨ NAME ✨

drm_format_info_block_height β€” height in pixels of a block πŸŽ€

like literally the height. in pixels. of a block. no cap.


✨ SYNOPSIS ✨

unsigned int drm_format_info_block_height (const struct drm_format_info
                                           *info , int plane );

so you call it, you hand it two things, and it gives you back an unsigned int. that's the shape of it. slay.


✨ ARGUMENTS ✨

  • info β€” the pixel format info 🫢 this is your const struct drm_format_info * bestie, just your regular pixel format info, nothing spooky
  • plane β€” plane index πŸ’« which plane you're asking about, as an int. yes, an index. yes, it's a number. we been knew.

✨ RETURN ✨

it returns the height in pixels of a block, and the value depends on the plane index πŸ”₯ so like, different plane, potentially different answer. that's the whole deal.


✨ SEE ALSO ✨

go off, related functions πŸ‘‘ also there's a kernel file in here so don't come for me:

notice how there's a block_width in there and this page is block_height? yeah. they're a matching set. a duo. main character energy from both of them honestly πŸ’œ


lowkey a wholesome reminder that some of the most useful functions in the kernel are also the shortest manpages. not everything needs to be a whole essay. sometimes you just want to know how tall the block is. πŸ’…

that's the whole page bestie, no filler, no fluff, just block height facts 🌈

this one lives under ./drivers/gpu/drm 🌸 and the version/date stamp on it is October 2026 β€” marking your calendars accordingly, iykyk β­πŸ’–

πŸ“¦ where this page comes from