sm750_hw_copyarea(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… sm750_hw_copyarea(9) β€” the kernel API manual, but make it make sense

okay so bestie, welcome to sm750_hw_copyarea(9), a kernel API manual page. yes that's the manual name, yes it goes in the title, no we're not being normal about it. this one lives in the kernel docs and it's a real one, so grab a lil snack πŸ“ and let's get into it.


✨ NAME ✨

sm750_hw_copyarea β€”

and honestly? that's it. that's the whole description. the original page just kinda trails off after the dash like a text that got left on read 😭 no cap, there is literally nothing after the hyphen. iconic of it, tbh.


🌸 SYNOPSIS 🌸

here's the whole signature, verbatim, don't touch it:

int sm750_hw_copyarea (struct lynx_accel *accel , unsigned int
        source_base , unsigned int source_pitch , unsigned int sx , unsigned int
        sy , unsigned int dest_base , unsigned int dest_pitch , unsigned int bpp
        , unsigned int dx , unsigned int dy , unsigned int width , unsigned int
        height , unsigned int rop2 );

she's long, she's lowercase, she returns int. we stan a consistent queen πŸ‘‘


πŸŽ€ ARGUMENTS πŸŽ€

every single one, bestie, no skipping. the way there's thirteen of them and they're all here:

  • accel β€” the acceleration device data. this is the whole vibe of the device, hand it over.
  • source_base β€” address of source: offset in frame buffer. where the pixels are coming from πŸ’–
  • source_pitch β€” pitch value of source surface in BYTE. yes, uppercase BYTE. respect it.
  • sx β€” starting x coordinate of source surface.
  • sy β€” starting y coordinate of source surface. (sibling of sx, obviously 🫢)
  • dest_base β€” address of destination: offset in frame buffer. where the pixels are going πŸ’«
  • dest_pitch β€” pitch value of destination surface in BYTE. again with the BYTE, love that for us.
  • bpp β€” color depth of destination surface.
  • dx β€” starting x coordinate of destination surface.
  • dy β€” starting y coordinate of destination surface.
  • width β€” width of rectangle in pixel value.
  • height β€” height of rectangle in pixel value. it's giving rectangle representation πŸ“
  • rop2 β€” ROP value. that's it. that's the whole description. mysterious, lowkey main character energy 🌈
quick vibe check: sx/sy are the source spot, dx/dy are the destination spot, and width/height are in pixels. don't mix them up, i'm begging πŸ™ˆ

πŸ¦‹ SEE ALSO πŸ¦‹

  • Kernel file ./drivers/staging/sm750fb/sm750_accel.c
  • sm750_hw_imageblit(9) β€” her sister, go say hi πŸ’œ

and that's the page!! πŸŽ‰ from ./drivers/staging/sm750fb, dated October 2026, header sm750_hw_copyarea(9) at the top and sm750_hw_copyarea(9) down at the bottom to match. slay, periodt, go copy some areas πŸ’…βœ¨

πŸ“¦ where this page comes from