intel_fb_get_format_info(9)
π intel_fb_get_format_info π
okay so bestie, welcome to the Kernel API Manual entry for intel_fb_get_format_info β yes that's the whole title, yes it's a mouthful, we love her anyway π«Ά. She lives in the i915 display world and she's here to hand you the format info for a pixel format, but specifically the version of it that your modifier wants. lowkey iconic.
β¨ NAME β¨
intel_fb_get_format_info β get a modifier-specific format information. that's the whole job. she gets. she gives. periodt π
πΈ SYNOPSIS πΈ
const struct drm_format_info * intel_fb_get_format_info (u32
pixel_format , u64 modifier );
so she takes a u32 and a u64 and hands you back a const struct drm_format_info *. no cap, that's the whole signature π
π¦ ARGUMENTS π¦
pixel_formatβ the pixel format. that's it. that's the argument. (the manpage is a woman of few words and honestly? respect π)modifierβ the modifier. again: minimal, mysterious, main character energy β¨
β RETURN β
She returns the format information for pixel_format that's specific to modifier π β but heads up: if the modifier doesn't override the format, you get NULL. not an error, not a vibe check fail, just NULL. so like, check for it, bestie π«Ά
π₯ SEE ALSO π₯
the kernel file she's chillin' in, fr fr:
- Kernel file
./drivers/gpu/drm/i915/display/intel_fb.c
and her whole friend group β every single one of them, no skipping, iykyk π:
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_format_info_is_yuv_semiplanar(9)intel_fb_is_ccs_aux_plane(9)intel_fb_is_gen12_ccs_aux_plane(9)intel_fb_rc_ccs_cc_plane(9)
ngl the arguments section is doing the absolute bare minimum and i respect the restraint, but do not let that fool you β the return value genuinely can be NULL, so handle it π
that's the whole page, bestie β sourced from ./drivers/gpu/drm/i915/display, dated October 2026, and she ate π
π mwah, go read your modifiers β¨π§π
π¦ 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