intel_forma...v_semiplanar(9)
π 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:
intel_fb_get_format_info(9)intel_fb_is_tiled_modifier(9)intel_fb_is_ccs_modifier(9)intel_fb_is_rc_ccs_cc_modifier(9)intel_fb_is_mc_ccs_modifier(9)intel_fb_needs_64k_phys(9)intel_fb_is_tile4_modifier(9)intel_fb_plane_get_modifiers(9)intel_fb_plane_supports_modifier(9)intel_fb_is_ccs_aux_plane(9)intel_fb_is_gen12_ccs_aux_plane(9)intel_fb_rc_ccs_cc_plane(9)
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
- 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