aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/via/chip.h
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2009-05-19 13:36:03 -0400
committerJonathan Corbet <corbet@lwn.net>2010-04-20 16:23:19 -0400
commit107ea34db4560e6db41a9da90128ccc5e60f6b21 (patch)
tree60e75e5ade320b57fa3c3663f4df8c6d8a39e019 /drivers/video/via/chip.h
parentf1b99aa9dbe908b2839885aa999d6e8512fe1040 (diff)
viafb: Determine type of 2D engine and store it in chip_info
This will help us for the upcoming support for 2D acceleration using the M1 engine. [jc: fixed merge conflicts] Signed-off-by: Harald Welte <HaraldWelte@viatech.com>
Diffstat (limited to 'drivers/video/via/chip.h')
-rw-r--r--drivers/video/via/chip.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/video/via/chip.h b/drivers/video/via/chip.h
index 8c06bd3c0b4d..d9b6e06e0700 100644
--- a/drivers/video/via/chip.h
+++ b/drivers/video/via/chip.h
@@ -121,9 +121,17 @@ struct lvds_chip_information {
121 int i2c_port; 121 int i2c_port;
122}; 122};
123 123
124/* The type of 2D engine */
125enum via_2d_engine {
126 VIA_2D_ENG_H2,
127 VIA_2D_ENG_H5,
128 VIA_2D_ENG_M1,
129};
130
124struct chip_information { 131struct chip_information {
125 int gfx_chip_name; 132 int gfx_chip_name;
126 int gfx_chip_revision; 133 int gfx_chip_revision;
134 enum via_2d_engine twod_engine;
127 struct tmds_chip_information tmds_chip_info; 135 struct tmds_chip_information tmds_chip_info;
128 struct lvds_chip_information lvds_chip_info; 136 struct lvds_chip_information lvds_chip_info;
129 struct lvds_chip_information lvds_chip_info2; 137 struct lvds_chip_information lvds_chip_info2;