s1d13xxxfb_set_par(9)
π NAME π
okay so bestie, welcome to s1d13xxxfb_set_par(9) from the Kernel API Manual β¨ this one's whole personality is s1d13xxxfb_set_par β alters the hardware state. periodt. π
πΈ SYNOPSIS πΈ
int s1d13xxxfb_set_par (struct fb_info *info );
π ARGUMENTS π
infoβ the frame buffer structure π«Ά she's the main character here, ngl.
π¦ DESCRIPTION π¦
So, using the fb_var_screeninfo in fb_info, we set the depth of the framebuffer. lowkey iconic. β¨
This function alters the par AND the fb_fix_screeninfo stored in fb_info. It doesn't not alter var in fb_info since we are using that data β and yes, bestie, that's the original's exact "doesn't not" double-negative, I'm not fixing it π. This means we depend on the data in var inside fb_info to be supported by the hardware. xxxfb_check_var is always called before xxxfb_set_par to ensure this. fr fr.
XXX TODO: write proper s1d13xxxfb_check_var, without which that function is quite useless. π not the TODO calling itself useless... π
π SEE ALSO π
- Kernel file
./drivers/video/fbdev/s1d13xxxfb.c s1d13xxxfb_setcolreg(9)s1d13xxxfb_blank(9)s1d13xxxfb_pan_display(9)bltbit_wait_bitclear(9)s1d13xxxfb_bitblt_solidfill(9)s1d13xxxfb_fetch_hw_state(9)
mwah π β source/version line: ./drivers/video/fbdev, dated October 2026. byeee π«Ά
π¦ 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