1FB_TRY_MODE(9)               Frame Buffer Library               FB_TRY_MODE(9)
2
3
4

NAME

6       fb_try_mode - test a video mode
7

SYNOPSIS

9       int fb_try_mode(struct fb_var_screeninfo * var, struct fb_info * info,
10                       const struct fb_videomode * mode, unsigned int bpp);
11

ARGUMENTS

13       var
14           frame buffer user defined part of display
15
16       info
17           frame buffer info structure
18
19       mode
20           frame buffer video mode structure
21
22       bpp
23           color depth in bits per pixel
24

DESCRIPTION

26       Tries a video mode to test it's validity for device info.
27
28       Returns 1 on success.
29
31Kernel Hackers Manual 3.10         June 2019                    FB_TRY_MODE(9)
Impressum