Name

fb_find_nearest_mode — find mode closest video mode

Synopsis

struct fb_videomode * fb_find_nearest_mode (struct fb_var_screeninfo *  var,
 struct list_head *  head);

Arguments

var

pointer to struct fb_var_screeninfo

head

pointer to modelist

Description

Finds best matching videomode, smaller or greater in dimension. If more than 1 videomode is found, will return the videomode with the closest refresh rate

Description

Finds best matching videomode, smaller or greater in dimension. If more than 1 videomode is found, will return the videomode with the closest refresh rate