From 18d9dc08b22145adb248d16dd2cefb2ccf9f7665 Mon Sep 17 00:00:00 2001 From: Florian Tobias Schandinat Date: Tue, 10 Aug 2010 02:44:44 +0000 Subject: 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 Cc: Joseph Chan --- drivers/video/via/viafbdev.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'drivers/video/via/viafbdev.h') diff --git a/drivers/video/via/viafbdev.h b/drivers/video/via/viafbdev.h index 52a35fabba9..945a47a63c4 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 */ -- cgit v1.2.2