1FB_FIND_BEST_MODE(9) Frame Buffer Library FB_FIND_BEST_MODE(9)
2
3
4
6 fb_find_best_mode - find best matching videomode
7
9 const struct fb_videomode *
10 fb_find_best_mode(const struct fb_var_screeninfo * var,
11 struct list_head * head);
12
14 var
15 pointer to struct fb_var_screeninfo
16
17 head
18 pointer to struct list_head of modelist
19
21 struct fb_videomode, NULL if none found
22
24 This function assumes that all modelist entries in info->modelist are
25 valid.
26
28 Finds best matching videomode which has an equal or greater dimension
29 than var->xres and var->yres. If more than 1 videomode is found, will
30 return the videomode with the highest refresh rate
31
33Kernel Hackers Manual 2.6. June 2019 FB_FIND_BEST_MODE(9)