xxxfb_copyarea(9)
β¨ xxxfb_copyarea(9) β from the Kernel API Manual β¨
okay so bestie, we're doing the xxxfb_copyarea(9) page today, and honestly? it's a short one, you're gonna eat this up π«Ά it lives in the Kernel API Manual, it's all about copying pixels around, and it's like the friendliest little framebuffer callback you'll ever meet. let's go π
π NAME π
xxxfb_copyarea β a REQUIRED function, no cap. if your hardware is non acclerated (their spelling, not mine π) and it's packed pixel based, you can totally use the generic routines instead. what does it do? it copies one area of the screen to another area. that's it. that's the gig β¨
π¦ SYNOPSIS π¦
void xxxfb_copyarea (struct fb_info *p , const struct fb_copyarea *area
);
yes the line break is real, we're keeping it verbatim, do not come for me π
π ARGUMENTS π
pβ literally-- undescribed --in the original π the manpage just left this one blank, so that's what we're telling you. no description exists. iconic behaviour honestly.areaβ a structure that provides the data you need to copy the framebuffer contents from one region to another. it's giving "the little map that tells you where the pixels go" πΊοΈ
πΈ DESCRIPTION πΈ
this drawing operation copies a rectangular area from one area of the screen to another area. rectangle in, rectangle out, pixels relocated, everyone slays. main character energy for a memcpy with delusions of grandeur, but we love her π
π SEE ALSO π
kernel file: ./drivers/video/fbdev/skeletonfb.c β go read it, it's the whole vibe π
and the whole fam, all together:
xxxfb_open(9)xxxfb_release(9)xxxfb_check_var(9)xxxfb_set_par(9)xxxfb_setcolreg(9)xxxfb_pan_display(9)xxxfb_blank(9)xxxfb_fillrect(9)xxxfb_imageblit(9)xxxfb_cursor(9)xxxfb_sync(9)xxxfb_suspend(9)xxxfb_resume(9)xxxfb_suspend(9)xxxfb_resume(9)
not me noticingxxxfb_suspend(9)andxxxfb_resume(9)show up twice in that list π that's not a typo on my end, that's exactly what the page says, so I'm keeping both pairs. we don't edit the source, we respect the source π
π the sign-off π
this one's filed under ./drivers/video/fbdev and stamped October 2026, so jot that down in your notes app bestie π mwah, go copy some areas, you're gonna do amazing, iykyk πβ¨π
π¦ 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