summaryrefslogtreecommitdiffstats
path: root/drivers/video/via/via_aux.h
diff options
context:
space:
mode:
authorFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>2012-01-12 12:52:37 +0000
committerFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>2012-02-13 07:28:14 +0000
commit5dc5f61813a9c3ab7dd0a6982ad044834134db5a (patch)
tree4a50b6713eed9d2d01d1e4cdbc8ecd1a4393e035 /drivers/video/via/via_aux.h
parent2c4c8a8a73b64a8ea86ad85d8a59a5914d2f81ea (diff)
downloadtalos-op-linux-5dc5f61813a9c3ab7dd0a6982ad044834134db5a.tar.gz
talos-op-linux-5dc5f61813a9c3ab7dd0a6982ad044834134db5a.zip
viafb: add initial EDID support
This patch adds support for using EDID data on CRT and DVP1 for initial configuration if viafb_mode or viafb_mode1 are not present. Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Diffstat (limited to 'drivers/video/via/via_aux.h')
-rw-r--r--drivers/video/via/via_aux.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/video/via/via_aux.h b/drivers/video/via/via_aux.h
index 5a4867a2dcc3..a8de3f038cea 100644
--- a/drivers/video/via/via_aux.h
+++ b/drivers/video/via/via_aux.h
@@ -27,6 +27,7 @@
#include <linux/list.h>
#include <linux/i2c.h>
+#include <linux/fb.h>
struct via_aux_bus {
@@ -42,11 +43,16 @@ struct via_aux_drv {
const char *name; /* human readable name of the driver */
void *data; /* private data of this driver */
+
+ void (*cleanup)(struct via_aux_drv *drv);
+ const struct fb_videomode* (*get_preferred_mode)
+ (struct via_aux_drv *drv);
};
struct via_aux_bus *via_aux_probe(struct i2c_adapter *adap);
void via_aux_free(struct via_aux_bus *bus);
+const struct fb_videomode *via_aux_get_preferred_mode(struct via_aux_bus *bus);
static inline bool via_aux_add(struct via_aux_drv *drv)
OpenPOWER on IntegriCloud