rivafb_cursor(9)
β¨ rivafb_cursor β the hardware cursor function π
okay so bestie, this is the <pink>rivafb_cursor</pink> page from the Kernel API Manual, and honestly it's giving "small function, big job" energy. She's literally the one putting your cursor on the screen with hardware. iconic. π±οΈβ¨
πΈ SYNOPSIS πΈ
int rivafb_cursor (struct fb_info *info , struct fb_cursor *cursor );
like, that's the whole signature. no notes. π«Ά
π ARGUMENTS π
infoβ pointer to info structure (yes, that's the whole description, she's a woman of mystery π)cursorβ pointer to fbcursor structure (again, short and sweet π)
π¦ DESCRIPTION π¦
so basically <purple>rivafb_cursor</purple> is a cursor function that supports displaying a cursor image via hardware. like, the hardware does the work, not the CPU. slay. π₯
here's the tea on the rops, bestie β inside the kernel, copy and invert rops are supported. but if this gets exported to user space, only the copy rop will be supported. that's it. that's the rule. no cap. π
β οΈ okay important vibe check: this function is CALLED FROM framebuffer hook. that's the whole note, but it matters, so keep it in mind. π
π SEE ALSO π
the kernel file lives at, literally:
./drivers/video/fbdev/riva/fbdev.c
and here's the whole friend group, all of them, no one left behind π:
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)riva_get_cmap_len(9)rivafb_pan_display(9)rivafb_setcolreg(9)rivafb_fillrect(9)rivafb_copyarea(9)rivafb_imageblit(9)
and that's the page, bestie π«Ά this one came out of ./drivers/video/fbdev/riva, dated October 2026, in the <rainbow>Kernel API Manual</rainbow>. go forth and let the hardware draw your cursor. periodt. π¦π
π¦ 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