fb_create_modedb(9)
π fb_create_modedb(9) π
ok so this is a kernel API manual page, section 9, all about fb_create_modedb β yes bestie, we're in the fb_create_modedb(9) chapter of the Kernel API Manual and it's literally about making a video mode database. slay.
πΈ NAME πΈ
fb_create_modedb β create video mode database π
like, it builds the mode db. that's the whole vibe.
β¨ SYNOPSIS β¨
struct fb_videomode * fb_create_modedb (unsigned char *edid , int
*dbsize , const struct fb_monspecs *specs );
that's the signature, copy it exactly, don't come for me about the line wrap β that's how it ships π
π«Ά ARGUMENTS π«Ά
edidβ the EDID data, bestie. this is the raw goods.dbsizeβ database size. it's anint *and it comes back holding the length of the database (see RETURN below, iykyk).specsβ monitor specifications, and yes it may beNULLβ no monitor specs? totally fine, still valid.
π RETURN π
returns a struct fb_videomode, and dbsize contains the length of the database. so you get the modes and the count. two-for-one, we love to see it π₯
π¦ DESCRIPTION π¦
ok so what this function actually does: it builds a mode database using the contents of the EDID data. that's it, that's the whole thing. EDID in, mode database out. iconic behavior honestly π
π SEE ALSO π
- the kernel file
./drivers/video/fbdev/core/fbmon.cβ that's where the source lives, go look, it's giving main character energy fb_destroy_modedb(9)fb_get_vblank(9)fb_get_hblank_by_hfreq(9)fb_get_hblank_by_dclk(9)fb_get_hfreq(9)of_get_fb_videomode(9)
all the sibling functions, the whole friend group π§
ngl this page is short and I respect that β fb_create_modedb said "my job is one sentence" and left. periodt. π
and that's the page!! this one's filed under ./drivers/video/fbdev/core, dated October 2026, and it's the fb_create_modedb(9) manual page from the Kernel API Manual β mwah, go build some mode databases bestie ππβ¨
π¦ 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