drm_rect_debug_print(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– drm_rect_debug_print(9) πŸ’–

okay bestie so this is a page from the Kernel API Manual (yes, the kernel, we're fancy now ✨), and it's all about drm_rect_debug_print β€” literally just printing the rectangle information. that's it. that's the whole vibe. πŸŽ€


✨ NAME ✨

drm_rect_debug_print β€” print the rectangle information πŸ’…

no cap, that's exactly what it does: rectangle goes in, rectangle info comes out, you look at it and go "ohhh okay" πŸ¦‹


🌸 SYNOPSIS 🌸

void drm_rect_debug_print (const char *prefix , const struct drm_rect *r
, bool fixed_point );

three little args and she's off living her main character energy πŸ‘‘


🫢 ARGUMENTS 🫢

  • prefix β€” the prefix string πŸ’¬ like, the little name tag your rectangle wears so you know which one it is in the logs, iykyk
  • r β€” the rectangle to print πŸ“ the actual rect in question, the star of the show
  • fixed_point β€” rectangle is in 16.16 fixed point format πŸ”’ like, that's a bool, so bestie you're telling it yes this rect is 16.16 fixed point format or no it isn't β€” pick one, don't be shy
ngl, fixed_point is doing a lot of heavy lifting for a bool. know what you're passing, bestie, or your numbers will look unhinged πŸ’€

πŸ¦‹ SEE ALSO πŸ¦‹

the kernel file itself lives at ./drivers/gpu/drm/drm_rect.c β€” go say hi 🧚

and it's got friends, all in the same little rect squad:

fr fr go read them, they ate 🌈


πŸ’œ the sign-off πŸ’œ

so this little icon lives in ./drivers/gpu/drm (that's the source, bestie 🏠), dated October 2026 ⭐ and it's page drm_rect_debug_print(9) of the Kernel API Manual. slay, periodt, print your rectangles responsibly πŸ”₯πŸ‘‘

πŸ“¦ where this page comes from