tgafb_fillrect(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… tgafb_fillrect πŸ’…

okay so this is a page from the Kernel API Manual (section 9, kernel developer land 🧚) and it's all about tgafb_fillrect, bestie. buckle up.


✨ NAME ✨

tgafb_fillrect β€” a REQUIRED function, no cap. you literally cannot skip this one. the good news? you can use the generic routines if your hardware is non acclerated and packed pixel based (iykyk). what does it do? it draws a rectangle on the screen. that's it. that's the whole vibe. πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

void tgafb_fillrect (struct fb_info *info , const struct fb_fillrect *rect );

literally that's the whole signature, copy it exactly pls, don't get creative πŸ™ˆ


🌸 ARGUMENTS 🌸

  • info β€” the frame buffer structure that represents a single frame buffer. it's giving "one struct to rule them all" energy πŸ‘‘
  • rect β€” structure defining the rectagle and operation. yes bestie, the rectagle. the shape. the operation. all of it lives in here πŸ’…

πŸ”₯ SEE ALSO πŸ”₯

go read the whole friend group, they all hang out together 🫢


heads up queen: this one is marked REQUIRED in the NAME section, so if you're implementing a driver and thinking "maybe I'll skip it" β€” not me catching you trying to skip a required function 😭 don't do it.

that's the whole page!! source/version lives at ./drivers/video/fbdev and the date on this beauty is October 2026 β€” see you in the future, mwah πŸ’–βœ¨

πŸ“¦ where this page comes from