Skip to content

Commit

Permalink
intelfb: add preliminary i2c support
Browse files Browse the repository at this point in the history
[05/07] intelfb: add output fields to dinfo.

Signed-off-by: Dennis Munsie <dmunsie@cecropia.com>
  • Loading branch information
Dennis Munsie authored and Dave Airlie committed Jul 3, 2006
1 parent 399fb43 commit dd696ec
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions drivers/video/intelfb/intelfb.h
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,11 @@
/* Intel agpgart driver */
#define AGP_PHYSICAL_MEMORY 2

/* store information about an Ixxx DVO */
/* The i830->i865 use multiple DVOs with multiple i2cs */
/* the i915, i945 have a single sDVO i2c bus - which is different */
#define MAX_OUTPUTS 6

/* these are outputs from the chip - integrated only
external chips are via DVO or SDVO output */
#define INTELFB_OUTPUT_UNUSED 0
Expand Down Expand Up @@ -344,6 +349,10 @@ struct intelfb_info {

/* index into plls */
int pll_index;

/* outputs */
int num_outputs;
struct intelfb_output_rec output[MAX_OUTPUTS];
};

#define IS_I9XX(dinfo) (((dinfo)->chipset == INTEL_915G)||(dinfo->chipset == INTEL_915GM)||((dinfo)->chipset == INTEL_945G)||(dinfo->chipset==INTEL_945GM))
Expand Down

0 comments on commit dd696ec

Please sign in to comment.