FB_FIND_BEST_MODE

Section: (9)
Updated: 09 October 2005
Index Return to Main Contents

 

NAME

fb_find_best_mode - find best matching videomode  

SYNOPSIS

"SYNOPSIS"

struct fb_videomode * fb_find_best_mode (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


 

Index

NAME
SYNOPSIS
ARGUMENTS
RETURNS
IMPORTANT
NOTES

This document was created by man2html, using the manual pages.
Time: 00:02:08 GMT, October 09, 2005