sm750_hw_imageblit(9)
π« 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 a1in 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 a0in 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
- 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