summaryrefslogtreecommitdiff
path: root/include/linux/fb.h
diff options
context:
space:
mode:
authorAntonino Daplas <adaplas@hotpop.com>2004-08-22 22:51:56 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2004-08-22 22:51:56 -0700
commitef49e03a36cf8a893cbf5d4544beea439d81012c (patch)
tree0e134a6f673c8612b34ba08a380bf402b533677c /include/linux/fb.h
parent80f6ef4abc7f4583d95da92555a289887ff23d58 (diff)
[PATCH] Video Mode Handling - Save per-display graphics/display settings
This patch adds the following: a. convert struct fb_var_screeninfo to struct display and vice versa b. save settings of graphics card to struct display c. save settings of display to struct display as a pointer to a struct fb_videomode d. check var in fb_set_var for modes, and if unique, add them to the mode list. Signed-off-by: Antonino Daplas <adaplas@pol.net> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/linux/fb.h')
-rw-r--r--include/linux/fb.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/fb.h b/include/linux/fb.h
index 2ad372ba9abe..c51a2399ec3c 100644
--- a/include/linux/fb.h
+++ b/include/linux/fb.h
@@ -282,6 +282,7 @@ struct fb_chroma {
struct fb_monspecs {
struct fb_chroma chroma;
struct fb_videomode *modedb; /* mode database */
+ struct list_head modelist; /* mode list */
__u8 manufacturer[4]; /* Manufacturer */
__u8 monitor[14]; /* Monitor String */
__u8 serial_no[14]; /* Serial Number */