.\" 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 "XXXFB_SET_PAR" "" "06 October 2005" "" "" .SH NAME xxxfb_set_par \- Optional function. Alters the hardware state. .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp int xxxfb_set_par (struct fb_info * \fIinfo\fB); \fR .SH "ARGUMENTS" .TP \fB\fIinfo\fB\fR frame buffer structure that represents a single frame buffer .SH "DESCRIPTION" .PP Using the fb_var_screeninfo in fb_info we set the resolution of the this particular 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. Again if you can't can't the resolution you don't need this function.