drm_draw_can...rom_xrgb8888(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… drm_draw_can...rom_xrgb8888(9) πŸ’…

okay so bestie, welcome to the Kernel API Manual β€” this page is literally all about one tiny bool-returning function and honestly it's giving "small but mighty" πŸ¦‹


✨ NAME ✨

drm_draw_can_convert_from_xrgb8888 β€” the vibe check that tells you whether xrgb8888 can be converted to whatever format you're dreaming of πŸ’–


🌸 SYNOPSIS 🌸

bool drm_draw_can_convert_from_xrgb8888 (u32 format );

πŸŽ€ ARGUMENTS πŸŽ€

  • format β€” the format. that's it. that's the argument. it's the format you're asking about, no cap 🫢

⭐ RETURN ⭐

Returns True if XRGB8888 can be converted to the specified format, and false otherwise. literally a yes-or-no girlie, no in-between 😌✨

ngl this is the whole personality of the function β€” it just tells you can it convert, it does not do the converting. main character energy of a bouncer, not a bartender πŸ’…

πŸ”₯ SEE ALSO πŸ”₯

  • Kernel file ./drivers/gpu/drm/drm_draw.c β€” go read the source, bestie, it's right there πŸ“–
  • drm_draw_color_from_xrgb8888(9) β€” the sibling function, the one that actually does the color thing 🌈

and that's the whole page fr fr πŸ’€ go off, you now know everything this manpage knows πŸ§šπŸ’œ

kisses, your favorite kernel bestie β€” this page lives in ./drivers/gpu/drm, dated October 2026, and it's iconic for it πŸŽ€πŸ‘‘

πŸ“¦ where this page comes from