s1d13xxxfb_set_par(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 🌈

mwah πŸ’‹ β€” source/version line: ./drivers/video/fbdev, dated October 2026. byeee 🫢

πŸ“¦ where this page comes from