.\" This manpage has been automatically generated by docbook2man .\" from a DocBook document. This tool can be found at: .\" .\" Please send any bug reports, improvements, comments, patches, .\" etc. to Steve Cheng . .TH "S1D13XXXFB_SET_PAR" "9" "09 October 2005" "" "" .SH NAME s1d13xxxfb_set_par \- Alters the hardware state. .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp int s1d13xxxfb_set_par (struct fb_info * \fIinfo\fB); \fR .SH "ARGUMENTS" .TP \fB\fIinfo\fB\fR frame buffer structure .SH "DESCRIPTION" .PP Using the fb_var_screeninfo in fb_info we set the depth of the framebuffer. 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. 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. .SH "XXX TODO" .PP write proper \fBs1d13xxxfb_check_var\fR, without which that function is quite useless.