summaryrefslogtreecommitdiffstats
path: root/drivers/video/via/viafbdev.h
diff options
context:
space:
mode:
authorFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>2010-08-10 02:44:44 +0000
committerFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>2010-09-24 02:14:50 +0000
commit18d9dc08b22145adb248d16dd2cefb2ccf9f7665 (patch)
treed08dc3ce61e4f1c0cc69d5d876ed8e32a1377708 /drivers/video/via/viafbdev.h
parent661c65cd0ce180d5e3a3e05f08fc9e64cedcf91c (diff)
downloadop-kernel-dev-18d9dc08b22145adb248d16dd2cefb2ccf9f7665.zip
op-kernel-dev-18d9dc08b22145adb248d16dd2cefb2ccf9f7665.tar.gz
viafb: add new output device management
This patch adds a new output device management that stores for each IGA which output devices are routed to it and a compatiblity layer that converts the old per-output device values in the new format. Bounding the output devices to each IGA is a central idea of the cleanup. Doing it this way should be easier and make much more sense than the old format which happily mixed different output devices together and did not even take into account that some devices are no longer available on newer chipsets. Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de> Cc: Joseph Chan <JosephChan@via.com.tw>
Diffstat (limited to 'drivers/video/via/viafbdev.h')
-rw-r--r--drivers/video/via/viafbdev.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/video/via/viafbdev.h b/drivers/video/via/viafbdev.h
index 52a35fa..945a47a 100644
--- a/drivers/video/via/viafbdev.h
+++ b/drivers/video/via/viafbdev.h
@@ -40,6 +40,9 @@
#define VIAFB_NUM_I2C 5
struct viafb_shared {
+ u32 iga1_devices;
+ u32 iga2_devices;
+
struct proc_dir_entry *proc_entry; /*viafb proc entry */
struct viafb_dev *vdev; /* Global dev info */
OpenPOWER on IntegriCloud