riva_load_state(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… riva_load_state(9) β€” Kernel API Manual, bestie edition πŸŽ€

Okay so real talk, this is a page from the Kernel API Manual and it's about riva_load_state. Sit down, grab a strawberry πŸ“, we're learning.


✨ NAME ✨

riva_load_state β€” loads current chip state. That's it, that's the whole vibe. It loads the state. Of the chip. The current one. Slay.


✨ SYNOPSIS ✨

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

Two pointers, no return value, no drama. void said "I'm not giving you anything back" and honestly? Respect. πŸ‘‘


✨ ARGUMENTS ✨

  • par β€” pointer to a riva_par object, and this little guy is holding all the info for the current riva board. Like it literally knows which board we're on. Main character energy tbh.
  • regs β€” pointer to a riva_regs object. Nothing deeper to say, it's just… a riva_regs pointer. πŸ¦‹

✨ DESCRIPTION ✨

Loads chip state from regs. That's the whole thing, no cap. It takes what's in regs and loads it into the chip state. Lowkey iconic.

CALLED FROM: riva_load_video_mode rivafb_probe rivafb_remove

So like, three places call it. That's the whole guest list. πŸŽ€


✨ SEE ALSO ✨

The kernel file this lives in:

./drivers/video/fbdev/riva/fbdev.c

And the whole friend group:

Go read them all, bestie, I'll wait. πŸ’–


k bye ily, this page lives in ./drivers/video/fbdev/riva and it's dated October 2026 β€” go off, calendar queen πŸŒˆβœ¨πŸ’…

πŸ“¦ where this page comes from