size_is_lt(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay bestie, meet size_is_lt(9) from the Kernel API Manual ✨ this function returns whether a miplevel of the given size will use the lineartile (LT) tiling layout rather than the normal T tiling layout. that's it, that's the whole serve, no cap πŸ’…

πŸŽ€ SYNOPSIS πŸŽ€

bool size_is_lt (uint32_t width , uint32_t height , int cpp );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • width β€” Width in pixels of the miplevel πŸ’–
  • height β€” Height in pixels of the miplevel 🌸
  • cpp β€” Bytes per pixel of the pixel format ✨

πŸ”₯ SEE ALSO πŸ”₯

  • Kernel file ./drivers/gpu/drm/vc4/vc4_validate.c β€” Command list validator for VC4.(9) πŸ‘‘

mwah πŸ’‹ this page is from ./drivers/gpu/drm/vc4, dated October 2026, and it's still all about size_is_lt(9) β€” periodt 🫢

πŸ“¦ where this page comes from