riva_save_state(9)
πΎ 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 ariva_parobject 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 ariva_regsobject π 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:
rivafb_load_cursor_image(9)riva_wclut(9)riva_rclut(9)riva_load_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)
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
- 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