xxxfb_pan_display(9)
β¨ xxxfb_pan_display π
okay so real talk, bestie β this is a page from the Kernel API Manual about xxxfb_pan_display, and the very first thing you need to know is right there in the name section, so buckle up π«Ά
πΈ NAME πΈ
xxxfb_pan_display β NOT a required function. (yes, the manpage is yelling that at you in all caps, it's giving main character energy π) it pans the display. that's the whole vibe.
β SYNOPSIS β
int xxxfb_pan_display (struct fb_var_screeninfo *var , struct fb_info
*info );
literally that's it, that's the signature, copy it exactly bestie, no cap π₯
π ARGUMENTS π
varβ the frame buffer variable screen structure. it's the one holding all the variable-ish screen info β¨infoβ the frame buffer structure that represents a single frame buffer. one struct, one framebuffer, that's her π
π¦ DESCRIPTION π¦
okay so what does it actually do? it pans (or wraps β depends on the vmode field, iykyk) the display using the xoffset and yoffset fields of the var structure. very demure, very mindful πΈ
and if those values don't fit? it returns-EINVAL. no discussion, no negotiation, just-EINVALπ
as for the return value: negative errno on error, or zero on success. that's the whole story, periodt π
π SEE ALSO π
kernel file ./drivers/video/fbdev/skeletonfb.c β go read it, it's iconic β
xxxfb_open(9)xxxfb_release(9)xxxfb_check_var(9)xxxfb_set_par(9)xxxfb_setcolreg(9)xxxfb_blank(9)xxxfb_fillrect(9)xxxfb_copyarea(9)xxxfb_imageblit(9)xxxfb_cursor(9)xxxfb_sync(9)xxxfb_suspend(9)xxxfb_resume(9)xxxfb_suspend(9)(yes she's listed twice, no I'm not fixing it, the source said it twice and we respect the source π)xxxfb_resume(9)(same, double feature, we love a rerun π)
and that's the page!! sourced straight from ./drivers/video/fbdev, dated October 2026, from the Kernel API Manual β go slay your framebuffer bestie, 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