s3c_fb_pan_display(9)
β¨ s3c_fb_pan_display β¨
okay so bestie, welcome to the Kernel API Manual β this one's s3c_fb_pan_display, and it's literally the function that makes your screen go pan π¬π
πΈ SYNOPSIS πΈ
int s3c_fb_pan_display (struct fb_var_screeninfo *var , struct fb_info
*info );
that's it, that's the whole vibe check π
π ARGUMENTS π
varβ the screen information we're gonna verify. like, the receipts of what the screen should be showing π§Ύβ¨infoβ the framebuffer device itself. the main character of this whole situation π₯οΈπ
π¦ DESCRIPTION π¦
okay so here's the tea π«: the offsets can be written to the device at any time β they don't need to be timed perfectly or anything, because their values are latched at each vsync automatically. iconic behavior honestly β¨
the way that shakes out is that only the last call to this function will have any effect on the next vsync. so if you're spamming it, bestie... only the final one matters, no cap π
but here's the good news π: there is no need to sleep waiting for it to prevent tearing. like, none at all. you don't have to nap, you don't have to poll, you just call it and go πββοΈπ¨
π SEE ALSO π
go check out the Kernel file ./drivers/video/fbdev/s3c-fb.c and all these icons of the codebase π«Ά:
struct s3c_fb_variant(9)struct s3c_fb_win_variant(9)struct s3c_fb_driverdata(9)struct s3c_fb_palette(9)struct s3c_fb_win(9)struct s3c_fb_vsync(9)struct s3c_fb(9)s3c_fb_validate_win_bpp(9)s3c_fb_check_var(9)s3c_fb_calc_pixclk(9)s3c_fb_align_word(9)vidosd_set_size(9)vidosd_set_alpha(9)shadow_protect_win(9)s3c_fb_enable(9)s3c_fb_set_par(9)s3c_fb_update_palette(9)s3c_fb_setcolreg(9)s3c_fb_blank(9)s3c_fb_enable_irq(9)s3c_fb_disable_irq(9)s3c_fb_wait_for_vsync(9)s3c_fb_missing_pixclock(9)s3c_fb_alloc_memory(9)s3c_fb_free_memory(9)s3c_fb_release_win(9)s3c_fb_probe_win(9)s3c_fb_set_rgb_timing(9)s3c_fb_clear_win(9)s3c_fb_remove(9)
and that's the whole page, bestie π this masterpiece lives in ./drivers/video/fbdev and it's dated October 2026 β yes, October 2026, she's from the future and she ate π
π₯ no notes, periodt π«Άπ
π¦ 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