pm2fb_pan_display(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay so bestie, this is pm2fb_pan_display(9) from the Kernel API Manual β€” iconic. we're literally here to pan the display, and the vibe is very kernel-graphics main character energy ✨

πŸŽ€ NAME πŸŽ€

pm2fb_pan_display β€” pans the display. that's it, that's the whole mood πŸ’…

✨ SYNOPSIS ✨

int pm2fb_pan_display (struct fb_var_screeninfo *var , struct fb_info
       *info );

🫢 ARGUMENTS 🫢

  • var β€” the frame buffer variable screen structure πŸŽ€
  • info β€” the frame buffer structure that represents a single frame buffer πŸ¦‹

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so you're panning β€” or wrapping, depending on the vmode field β€” the display using the xoffset and yoffset fields of the var structure. that's the move, no cap 🌸

if those values don't fit? it returns -EINVAL, and honestly that's the boundary saying β€œnot today” πŸ’€

return value check, bestie: negative errno means error, and zero means success. periodt ✨

πŸ’œ SEE ALSO πŸ’œ

kernel file ./drivers/video/fbdev/pm2fb.c is the home base for these icons: pm2fb_set_par(9), pm2fb_setcolreg(9), pm2fb_blank(9), pm2fb_probe(9), pm2fb_remove(9). go give them a read 🫢


mwah πŸ’‹ β€” this page lives at ./drivers/video/fbdev, dated October 2026, and it's filed under pm2fb_pan_display(9). slay, go pan something cute 🌈

πŸ“¦ where this page comes from