summaryrefslogtreecommitdiffstats
path: root/include/fb.h
diff options
context:
space:
mode:
authorJuergen Beisert <jbe@pengutronix.de>2010-12-20 16:05:05 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2010-12-21 08:26:08 +0100
commit30aa4efb57475ff768f6d43051ee78160f32ce0f (patch)
tree9b77249e33e3a859c864ad021857ab9de620cddc /include/fb.h
parentfed63e249dfdd6bf4171d407e1fb27cba9db47b1 (diff)
downloadbarebox-30aa4efb57475ff768f6d43051ee78160f32ce0f.tar.gz
barebox-30aa4efb57475ff768f6d43051ee78160f32ce0f.tar.xz
Add the feature to change the video mode at runtime
This patch add the possibility to change the video mode at barebox's runtime if the graphics driver in use supports it. Signed-off-by: <jbe@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/fb.h')
-rw-r--r--include/fb.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/fb.h b/include/fb.h
index 379f931e9c..41deb8c696 100644
--- a/include/fb.h
+++ b/include/fb.h
@@ -73,10 +73,13 @@ struct fb_ops {
unsigned blue, unsigned transp, struct fb_info *info);
void (*fb_enable)(struct fb_info *info);
void (*fb_disable)(struct fb_info *info);
+ int (*fb_activate_var)(struct fb_info *info);
};
struct fb_info {
struct fb_videomode *mode;
+ struct fb_videomode *mode_list;
+ unsigned num_modes;
struct fb_ops *fbops;
struct device_d dev; /* This is this fb device */