rivafb_cursor(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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 πŸŽ€:


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