riva_save_state(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’Ύ riva_save_state(9) β€” Kernel API Manual, bestie edition

okay so this is riva_save_state, straight out of the Kernel API Manual ✨ it's a kernel function page, so buckle up β€” it's short, it's sweet, and it literally just saves the current chip state. no cap. πŸŽ€


🌸 NAME 🌸

riva_save_state β€” saves current chip state πŸ’–

like, that's the whole job. the chip has a state, and this bad boy saves it. iconic behavior honestly.


✨ SYNOPSIS ✨

void riva_save_state (struct riva_par *par , struct riva_regs *regs );

return type is void, so it gives you nothing back β€” it's giving mysterious, it's giving "my work speaks for itself." 🫢


πŸ¦‹ ARGUMENTS πŸ¦‹

  • par β€” pointer to a riva_par object containing info for the current riva board πŸ’… like, all the deets about which riva board we're dealing with live in here.
  • regs β€” pointer to a riva_regs object 🌟 this is the destination, the vessel, the little home where the saved state goes.

🌈 DESCRIPTION 🌈

Saves current chip state to regs. that's it. that's the description. short king energy πŸ‘‘ literally just take the chip's current state and stash it into regs, no drama, no extra steps.

CALLED FROM: rivafb_probe 🧚 so if you're wondering "who even calls this?", it's rivafb_probe. mystery solved, bestie.


πŸ”₯ SEE ALSO πŸ”₯

the kernel file lives at ./drivers/video/fbdev/riva/fbdev.c β€” that's the main character's address πŸ’€ and here's the whole friend group, all of them (9) manpages so you know they're kernel-internal:

ngl that's a whole squad 😭 go read them if you want the full lore, iykyk πŸ“


source/version: ./drivers/video/fbdev/riva Β· date: October 2026 πŸŽ€

okay that's the whole page, you ate it up fr fr β€” go save some chip state, bestie, you got this πŸ’œπŸ‘‘βœ¨

πŸ“¦ where this page comes from