sm750_hw_imageblit(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’« sm750_hw_imageblit(9) πŸ’«

okay so bestie, this is a page from the Kernel API Manual and it's all about sm750_hw_imageblit β€” a little function that pushes a monochrome image into the frame buffer of an SM750 graphics chip. no cap, it's giving "low-level driver realness" and honestly? iconic. πŸŽ€


✨ NAME ✨

sm750_hw_imageblit β€” (yeah the original literally leaves this blank, so we're all just out here raw-dogging the synopsis, bestie 😭)


🌸 SYNOPSIS 🌸

int sm750_hw_imageblit (struct lynx_accel *accel , const char *src_buf ,
u32 start_bit , u32 dest_base , u32 dest_pitch , u32 byte_per_pixel ,
u32 dx , u32 dy , u32 width , u32 height , u32 fg_color , u32 bg_color ,
u32 rop2 );

like, look at all those parameters. that's a whole friend group. 🫢


πŸ¦‹ ARGUMENTS πŸ¦‹

  • accel β€” honestly? the manpage says -- undescribed -- so I'm gonna be so fr with you: nobody wrote the description. it's giving mystery. it's giving "the docs said Β―\_(ツ)_/Β―". main character energy, truly. πŸ‘‘
  • src_buf β€” pointer to the start of the source buffer, over there in system memory. that's where the pixels are living before they get yeeted to the hardware. πŸ’…
  • start_bit β€” mono data can start at any bit inside a byte, and this value should be >----- 0 to 7. and yes, bestie, that >----- thing is straight from the original β€” I refuse to edit someone's art. πŸ™ˆ
  • dest_base β€” the address of the destination, as an offset in the frame buffer. that's the home address of your pixels. 🏠
  • dest_pitch β€” the pitch value of the destination surface, and it's in BYTE (caps are the original's, not mine β€” she's loud and we respect it). πŸ”₯
  • byte_per_pixel β€” the color depth of the destination surface. iykyk.
  • dx β€” starting x coordinate of the destination surface. horizontal bestie. ➑️
  • dy β€” starting y coordinate of the destination surface. vertical bestie. ⬇️
  • width β€” width of the rectangle, in pixel values. πŸ“
  • height β€” height of the rectangle, in pixel values. it's giving geometry. πŸ“
  • fg_color β€” the foreground color, which corresponds to a 1 in the monochrome data (the original's paren is unclosed, and I'm not here to fix the vibes, only to describe them πŸ’€).
  • bg_color β€” the background color, which corresponds to a 0 in the monochrome data (same deal with the paren, we love a consistent queen πŸ’œ).
  • rop2 β€” the ROP value. that's it. that's the whole description. short and mysterious, ngl. ✨

⭐ SEE ALSO ⭐

  • the kernel file ./drivers/staging/sm750fb/sm750_accel.h β€” go read it, babe, it's in there. πŸ’–

alright, that's the whole page! 🧚 this little beauty comes to you courtesy of the source path ./drivers/staging/sm750fb, dated October 2026 β€” so mark your calendar, screenshot it, put it on your fridge, whatever. mwah! πŸŒˆπŸ’…πŸŽ€

πŸ“¦ where this page comes from