fb_videomode_to_modelist(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… fb_videomode_to_modelist(9) πŸ’…

okay bestie, welcome to the kernel API manual ✨ this one's called fb_videomode_to_modelist and it lives in section 9 of the Kernel API Manual β€” yes we're in kernel land today, buckle up πŸŽ€


🌸 NAME 🌸

fb_videomode_to_modelist β€” convert mode array to mode list, that's literally the whole vibe πŸ’–


✨ SYNOPSIS ✨

void fb_videomode_to_modelist (const struct fb_videomode *modedb , int
num , struct list_head *head );

notice how it returns void? it's giving "I do the work and I don't need a receipt" energy ngl 🫢


πŸ¦‹ ARGUMENTS πŸ¦‹

  • modedb β€” the array of struct fb_videomode, i.e. the mode info you're handing over 🌈
  • num β€” how many entries are in that array, count 'em, don't be shy πŸ”’
  • head β€” the struct list_head of the modelist, the place where everything's gonna get linked up πŸ”—

πŸ‘‘ SEE ALSO πŸ‘‘

the kernel file is right here bestie: ./drivers/video/fbdev/core/modedb.c β€” go read it, iykyk πŸ“–

and the whole friend group of related calls, all of them, no gatekeeping:


and that's the page, periodt πŸ’… this icon was brought to you by ./drivers/video/fbdev/core, dated October 2026, and stamped with fb_videomode_to_modelist(9) β€” slay, go convert those modes bestie πŸ¦‹βœ¨πŸ’–

πŸ“¦ where this page comes from