fb_find_best_mode9
Find best matching videomode
Usage
const struct fb_videomode * fb_find_best_mode(const struct fb_var_screeninfo * var, struct list_head * head);
Arguments
var
pointer to struct fb_var_screeninfo
head
pointer to struct list_head of modelist
Returns
struct fb_videomode, NULL if none found
Important
This function assumes that all modelist entries in info->modelist are valid.
Notes
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
Releases
5 releases since Debian 4.0 (Etch); the text changed 4 times.