drm_rect_debug_print(9)
π 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, iykykrβ the rectangle to print π the actual rect in question, the star of the showfixed_pointβ rectangle is in 16.16 fixed point format π’ like, that's abool, 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_pointis doing a lot of heavy lifting for abool. 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:
drm_rect_intersect(9)drm_rect_clip_scaled(9)drm_rect_calc_hscale(9)drm_rect_calc_vscale(9)drm_rect_rotate(9)drm_rect_rotate_inv(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms