diff options
author | Florian Tobias Schandinat <FlorianSchandinat@gmx.de> | 2010-09-05 01:33:28 +0000 |
---|---|---|
committer | Florian Tobias Schandinat <FlorianSchandinat@gmx.de> | 2010-09-24 02:14:59 +0000 |
commit | 2a9183923af1f6f4da66aeabf9fa5af0dc58ccec (patch) | |
tree | 710f8f8fc1b5f922e4c6405abf60eedaff5eb715 /drivers/video/via/viafbdev.h | |
parent | cd7e9103e983ff0f518ac0e85cee265027ccbfa4 (diff) | |
download | op-kernel-dev-2a9183923af1f6f4da66aeabf9fa5af0dc58ccec.zip op-kernel-dev-2a9183923af1f6f4da66aeabf9fa5af0dc58ccec.tar.gz |
viafb: add interface for output device configuration
This patch extends the proc entry to contain a possibility to view and
change the output devices for each IGA. This is useful for debugging
output problems as it provides a reliable way to query which low level
devices are active after VIAs output device configuration nightmare
happended. It's as well suitable for daily use as one can change the
output configuration on the fly for example to connect a projector.
At the moment it's still unstable. The reason is that we have to handle
a bunch of undocumented output devices (those without a proper name) and
that this patch is the first step to collect and verify the needed
information. Basically the only configuration change that is expected to
work at the moment is switching output devices between IGA1 and IGA2.
Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Acked-by: Jonathan Corbet <corbet@lwn.net>
Cc: Joseph Chan <JosephChan@via.com.tw>
Cc: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'drivers/video/via/viafbdev.h')
-rw-r--r-- | drivers/video/via/viafbdev.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/video/via/viafbdev.h b/drivers/video/via/viafbdev.h index 945a47a..d66f963 100644 --- a/drivers/video/via/viafbdev.h +++ b/drivers/video/via/viafbdev.h @@ -44,6 +44,8 @@ struct viafb_shared { u32 iga2_devices; struct proc_dir_entry *proc_entry; /*viafb proc entry */ + struct proc_dir_entry *iga1_proc_entry; + struct proc_dir_entry *iga2_proc_entry; struct viafb_dev *vdev; /* Global dev info */ /* All the information will be needed to set engine */ |