.\" 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 "FB_FIND_BEST_MODE" "9" "09 October 2005" "" "" .SH NAME fb_find_best_mode \- find best matching videomode .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp struct fb_videomode * fb_find_best_mode (struct fb_var_screeninfo * \fIvar\fB, struct list_head * \fIhead\fB); \fR .SH "ARGUMENTS" .TP \fB\fIvar\fB\fR pointer to struct fb_var_screeninfo .TP \fB\fIhead\fB\fR pointer to struct list_head of modelist .SH "RETURNS" .PP struct fb_videomode, NULL if none found .SH "IMPORTANT" .PP This function assumes that all modelist entries in info->modelist are valid. .SH "NOTES" .PP Finds best matching videomode which has an equal or greater dimension than var->xres and var->yres. If more than 1 videomode is found, will return the videomode with the highest refresh rate