diff options
author | Dennis Munsie <dmunsie@cecropia.com> | 2006-06-20 14:55:55 -0400 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2006-07-03 05:04:37 -0400 |
commit | dd696ec852dc34c40e2a18cc426c8f462c0715a5 (patch) | |
tree | 1c0ea78f07f8ed7180b5fe97fe20dd141062e38d /drivers/video/intelfb | |
parent | 399fb4316ab4fe4c46d1e4ed8b12d56c94b4c251 (diff) |
intelfb: add preliminary i2c support
[05/07] intelfb: add output fields to dinfo.
Signed-off-by: Dennis Munsie <dmunsie@cecropia.com>
Diffstat (limited to 'drivers/video/intelfb')
-rw-r--r-- | drivers/video/intelfb/intelfb.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/video/intelfb/intelfb.h b/drivers/video/intelfb/intelfb.h index 179db05f1954..9092bda9d4bf 100644 --- a/drivers/video/intelfb/intelfb.h +++ b/drivers/video/intelfb/intelfb.h | |||
@@ -119,6 +119,11 @@ | |||
119 | /* Intel agpgart driver */ | 119 | /* Intel agpgart driver */ |
120 | #define AGP_PHYSICAL_MEMORY 2 | 120 | #define AGP_PHYSICAL_MEMORY 2 |
121 | 121 | ||
122 | /* store information about an Ixxx DVO */ | ||
123 | /* The i830->i865 use multiple DVOs with multiple i2cs */ | ||
124 | /* the i915, i945 have a single sDVO i2c bus - which is different */ | ||
125 | #define MAX_OUTPUTS 6 | ||
126 | |||
122 | /* these are outputs from the chip - integrated only | 127 | /* these are outputs from the chip - integrated only |
123 | external chips are via DVO or SDVO output */ | 128 | external chips are via DVO or SDVO output */ |
124 | #define INTELFB_OUTPUT_UNUSED 0 | 129 | #define INTELFB_OUTPUT_UNUSED 0 |
@@ -344,6 +349,10 @@ struct intelfb_info { | |||
344 | 349 | ||
345 | /* index into plls */ | 350 | /* index into plls */ |
346 | int pll_index; | 351 | int pll_index; |
352 | |||
353 | /* outputs */ | ||
354 | int num_outputs; | ||
355 | struct intelfb_output_rec output[MAX_OUTPUTS]; | ||
347 | }; | 356 | }; |
348 | 357 | ||
349 | #define IS_I9XX(dinfo) (((dinfo)->chipset == INTEL_915G)||(dinfo->chipset == INTEL_915GM)||((dinfo)->chipset == INTEL_945G)||(dinfo->chipset==INTEL_945GM)) | 358 | #define IS_I9XX(dinfo) (((dinfo)->chipset == INTEL_915G)||(dinfo->chipset == INTEL_915GM)||((dinfo)->chipset == INTEL_945G)||(dinfo->chipset==INTEL_945GM)) |