drm_mode_is_420_only(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– drm_mode_is_420_only πŸ’–

okay so bestie, welcome to the Kernel API Manual β€” yes we're literally in the kernel today, it's giving ✨low-level glamour✨ β€” and this lil function is the one that tells you whether a videomode is only supportable in YCBCR420 output format. that's the whole vibe check. no cap. πŸŽ€


🌸 NAME 🌸

drm_mode_is_420_only β€” the icon that answers "is this videomode only supported in YCBCR420 output format?" πŸ’…

like fr fr, that's the question it's asking. not "can it also do 420," only 420. iykyk. πŸ”₯


✨ SYNOPSIS ✨

bool drm_mode_is_420_only (const struct drm_display_info *display ,
       const struct drm_display_mode *mode );

she takes two structs, she returns a bool. simple queen behaviour πŸ‘‘


πŸ¦‹ ARGUMENTS πŸ¦‹

  • display β€” the display under action 🫢 like, this is the display we're doing the thing to, bestie.
  • mode β€” video mode to be tested. yes, this is the one getting the vibe check πŸ’€

⭐ RETURN ⭐

true if the mode can be supported in YCBCR420 format, false if not. that's it, that's the whole answer. πŸŽ€

ngl, it's a clean yes/no. no maybe, no "it depends," no "let me check with my manager." true or false. periodt. πŸ’œ

🌈 SEE ALSO 🌈

the whole friend group shows up for this one, so let's get the roll call going 🫢

that's 39 links bestie, i counted, she's popular πŸ’…


that's the whole page!! short and sweet, just like drm_mode_is_420_only herself. love that for us. πŸ“

anyway, this lil baddie comes from ./drivers/gpu/drm and the calendar says October 2026, so go off, future queens 🧚 mwah, see you in the next manpage πŸ’–πŸ’œπŸŽ€

πŸ“¦ where this page comes from