0001 Frame Buffer Library
0002 ====================
0003
0004 The frame buffer drivers depend heavily on four data structures. These
0005 structures are declared in include/linux/fb.h. They are fb_info,
0006 fb_var_screeninfo, fb_fix_screeninfo and fb_monospecs. The last
0007 three can be made available to and from userland.
0008
0009 fb_info defines the current state of a particular video card. Inside
0010 fb_info, there exists a fb_ops structure which is a collection of
0011 needed functions to make fbdev and fbcon work. fb_info is only visible
0012 to the kernel.
0013
0014 fb_var_screeninfo is used to describe the features of a video card
0015 that are user defined. With fb_var_screeninfo, things such as depth
0016 and the resolution may be defined.
0017
0018 The next structure is fb_fix_screeninfo. This defines the properties
0019 of a card that are created when a mode is set and can't be changed
0020 otherwise. A good example of this is the start of the frame buffer
0021 memory. This "locks" the address of the frame buffer memory, so that it
0022 cannot be changed or moved.
0023
0024 The last structure is fb_monospecs. In the old API, there was little
0025 importance for fb_monospecs. This allowed for forbidden things such as
0026 setting a mode of 800x600 on a fix frequency monitor. With the new API,
0027 fb_monospecs prevents such things, and if used correctly, can prevent a
0028 monitor from being cooked. fb_monospecs will not be useful until
0029 kernels 2.5.x.
0030
0031 Frame Buffer Memory
0032 -------------------
0033
0034 .. kernel-doc:: drivers/video/fbdev/core/fbmem.c
0035 :export:
0036
0037 Frame Buffer Colormap
0038 ---------------------
0039
0040 .. kernel-doc:: drivers/video/fbdev/core/fbcmap.c
0041 :export:
0042
0043 Frame Buffer Video Mode Database
0044 --------------------------------
0045
0046 .. kernel-doc:: drivers/video/fbdev/core/modedb.c
0047 :internal:
0048
0049 .. kernel-doc:: drivers/video/fbdev/core/modedb.c
0050 :export:
0051
0052 Frame Buffer Macintosh Video Mode Database
0053 ------------------------------------------
0054
0055 .. kernel-doc:: drivers/video/fbdev/macmodes.c
0056 :export:
0057
0058 Frame Buffer Fonts
0059 ------------------
0060
0061 Refer to the file lib/fonts/fonts.c for more information.
0062