diff options
-rw-r--r-- | drivers/video/intelfb/intelfb.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/drivers/video/intelfb/intelfb.h b/drivers/video/intelfb/intelfb.h index 5a216b81aa23..179db05f1954 100644 --- a/drivers/video/intelfb/intelfb.h +++ b/drivers/video/intelfb/intelfb.h | |||
@@ -119,6 +119,24 @@ | |||
119 | /* Intel agpgart driver */ | 119 | /* Intel agpgart driver */ |
120 | #define AGP_PHYSICAL_MEMORY 2 | 120 | #define AGP_PHYSICAL_MEMORY 2 |
121 | 121 | ||
122 | /* these are outputs from the chip - integrated only | ||
123 | external chips are via DVO or SDVO output */ | ||
124 | #define INTELFB_OUTPUT_UNUSED 0 | ||
125 | #define INTELFB_OUTPUT_ANALOG 1 | ||
126 | #define INTELFB_OUTPUT_DVO 2 | ||
127 | #define INTELFB_OUTPUT_SDVO 3 | ||
128 | #define INTELFB_OUTPUT_LVDS 4 | ||
129 | #define INTELFB_OUTPUT_TVOUT 5 | ||
130 | |||
131 | #define INTELFB_DVO_CHIP_NONE 0 | ||
132 | #define INTELFB_DVO_CHIP_LVDS 1 | ||
133 | #define INTELFB_DVO_CHIP_TMDS 2 | ||
134 | #define INTELFB_DVO_CHIP_TVOUT 4 | ||
135 | |||
136 | #define INTELFB_OUTPUT_PIPE_NC 0 | ||
137 | #define INTELFB_OUTPUT_PIPE_A 1 | ||
138 | #define INTELFB_OUTPUT_PIPE_B 2 | ||
139 | |||
122 | /*** Data Types ***/ | 140 | /*** Data Types ***/ |
123 | 141 | ||
124 | /* supported chipsets */ | 142 | /* supported chipsets */ |
@@ -221,6 +239,17 @@ struct intelfb_i2c_chan { | |||
221 | }; | 239 | }; |
222 | #endif | 240 | #endif |
223 | 241 | ||
242 | struct intelfb_output_rec { | ||
243 | int type; | ||
244 | int pipe; | ||
245 | int flags; | ||
246 | |||
247 | #ifdef CONFIG_FB_INTEL_I2C | ||
248 | struct intelfb_i2c_chan i2c_bus; | ||
249 | struct intelfb_i2c_chan ddc_bus; | ||
250 | #endif | ||
251 | }; | ||
252 | |||
224 | struct intelfb_vsync { | 253 | struct intelfb_vsync { |
225 | wait_queue_head_t wait; | 254 | wait_queue_head_t wait; |
226 | unsigned int count; | 255 | unsigned int count; |