fb_mode_is_equal(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 πŸ’œ:


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