riva_load_state(9)
π 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 ariva_parobject, 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 ariva_regsobject. Nothing deeper to say, it's justβ¦ ariva_regspointer. π¦
β¨ 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:
rivafb_load_cursor_image(9)riva_wclut(9)riva_rclut(9)riva_save_state(9)riva_load_video_mode(9)rivafb_do_maximize(9)riva_get_cmap_len(9)rivafb_pan_display(9)rivafb_setcolreg(9)rivafb_fillrect(9)rivafb_copyarea(9)rivafb_imageblit(9)rivafb_cursor(9)
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
- 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