riva_get_cmap_len(9)
π NAME π
okay so bestie, welcome to the Kernel API Manual entry for riva_get_cmap_len(9) β manual name folded in near the top, cute and cozy, exactly as requested. π
riva_get_cmap_len - query current color map length. that's the whole NAME vibe, no cap. π
β¨ SYNOPSIS β¨
here's the signature, bestie β keep it exactly like this:
int riva_get_cmap_len (const struct fb_var_screeninfo *var );
π¦ ARGUMENTS π¦
varβ standard kernel fb changeable data. that's the one argument, and that's the data vibe. π«Ά
πΈ DESCRIPTION πΈ
okay so the function does exactly what it says on the tin: Get current color map length. no side quests, no drama. β¨
CALLED FROM: rivafb_setcolreg
that's the call site, periodt. π
β RETURN β
it hands you back the Length of color map. iconic, useful, straightforward. π
π SEE ALSO π
go read these too, iykyk:
Kernel file ./drivers/video/fbdev/riva/fbdev.c
rivafb_load_cursor_image(9)riva_wclut(9)riva_rclut(9)riva_save_state(9)riva_load_state(9)riva_load_video_mode(9)rivafb_do_maximize(9)rivafb_pan_display(9)rivafb_setcolreg(9)rivafb_fillrect(9)rivafb_copyarea(9)rivafb_imageblit(9)rivafb_cursor(9)
mwah π this lil page comes from the source/version ./drivers/video/fbdev/riva and is dated October 2026 β periodt, bye bestie π«Άβ¨
π¦ 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