intel_forma...v_semiplanar(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… NAME πŸ’…

intel_format_info_is_yuv_semiplanar β€” the vibe-check function that tells you whether the format you're holding is a YUV semiplanar situation or not, bestie. Yes this is from the Kernel API Manual, no I will not stop talking about it.


✨ SYNOPSIS ✨

bool intel_format_info_is_yuv_semiplanar (const struct drm_format_info
*info , u64 modifier );

That's it. That's the whole entrance. A bool walks in, two arguments in hand, and everyone in the group chat wants to know the answer. πŸ’–


🌸 ARGUMENTS 🌸

  • info β€” the format you want checked, okay? Like, the actual format info struct. Hand it over, she's got this. 🫢
  • modifier β€” the modifier being used with that format. They come as a pair, they're literally a matching set, you don't split them up. πŸ‘‘

πŸ”₯ RETURN πŸ”₯

It gives you back true when the info / modifier combo is YUV semiplanar. That's the whole answer. true means yes, icon. ⭐

No cap, it's a bool, so it's giving "yes or no" and nothing else. Don't go looking for extra lore in the return value, there isn't any. πŸ’€

πŸ¦‹ SEE ALSO πŸ¦‹

The kernel file where all this lives:

./drivers/gpu/drm/i915/display/intel_fb.c

And the whole friend group, all of them, in order, because we don't leave anyone out:


Okay that's the whole page, you ate that. πŸ’…βœ¨ This little beauty ships out of ./drivers/gpu/drm/i915/display, dated October 2026, and it's part of the Kernel API Manual. Go check your formats, bestie, I believe in you. πŸŽ€πŸŒˆπŸ’œ

πŸ“¦ where this page comes from