fb_mode_is_equal(9)
π fb_mode_is_equal(9) β from the Kernel API Manual β¨
okay so bestie, welcome to fb_mode_is_equal(9) π β the little kernel function whose whole entire job is to look at two videomodes and be like "same? same. π
" or "nope, different, not today π". That's it. That's the whole vibe. She's a comparer, she's a queen, she's the vibe check for struct fb_videomode. π
β¨ SYNOPSIS β¨
int fb_mode_is_equal (const struct fb_videomode *mode1 , const struct
fb_videomode *mode2 );
literally her whole signature, character for character, no cap π«Ά
πΈ ARGUMENTS πΈ
mode1β the first videomode, aka contestant number one πmode2β the second videomode, aka contestant number two π¦
β RETURN β
1 if equal, 0 if not π₯
yes that's the whole return contract, she's not complicated, she's just honest π
π SEE ALSO π
okay so there's a whole friend group here and they all live in the kernel file ./drivers/video/fbdev/core/modedb.c β go say hi to the whole squad π:
fb_try_mode(9)fb_find_mode(9)fb_var_to_videomode(9)fb_videomode_to_var(9)fb_find_best_mode(9)fb_find_nearest_mode(9)fb_match_mode(9)fb_add_videomode(9)fb_delete_videomode(9)fb_destroy_modelist(9)fb_videomode_to_modelist(9)
and that's the page, bestie, that's the whole thing π mwah π β this gem dropped in October 2026 and comes to you straight from ./drivers/video/fbdev/core, filed under fb_mode_is_equal(9) in the Kernel API Manual βπ¦π
π¦ 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