fb_try_mode — test a video mode
int fb_try_mode
(struct fb_var_screeninfo * var, struct fb_info * info, const struct fb_videomode * mode, unsigned int bpp);
frame buffer user defined part of display
frame buffer info structure
frame buffer video mode structure
color depth in bits per pixel
Tries a video mode to test it's validity for device info.
Returns 1 on success.