diff options
author | Aaron Plattner <aplattner@nvidia.com> | 2007-03-27 13:33:11 -0700 |
---|---|---|
committer | Aaron Plattner <aplattner@nvidia.com> | 2007-03-27 14:49:55 -0700 |
commit | 4b8ed8497a9ab6ef1316bfcce9f31d96dd4b3540 (patch) | |
tree | 21ed86efe443622852e48d50bd03aebb32e96548 /src/g80_output.h | |
parent | ad4abba20b8a6db7b52898bc7159809539cbed43 (diff) |
G80: Create output partners.
Each pair of outputs shares an I2C rec. This will be used in a future change
for the detect and get_modes routines.
Diffstat (limited to 'src/g80_output.h')
-rw-r--r-- | src/g80_output.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/g80_output.h b/src/g80_output.h index efc9a16..819df15 100644 --- a/src/g80_output.h +++ b/src/g80_output.h @@ -2,12 +2,12 @@ typedef struct G80OutputPrivRec { ORType type; ORNum or; + xf86OutputPtr partner; I2CBusPtr i2c; void (*set_pclk)(xf86OutputPtr, int pclk); } G80OutputPrivRec, *G80OutputPrivPtr; -Bool G80I2CInit(xf86OutputPtr, const int port); void G80OutputSetPClk(xf86OutputPtr, int pclk); int G80OutputModeValid(xf86OutputPtr, DisplayModePtr); Bool G80OutputModeFixup(xf86OutputPtr, DisplayModePtr mode, DisplayModePtr adjusted_mode); @@ -18,7 +18,7 @@ void G80OutputDestroy(xf86OutputPtr); Bool G80CreateOutputs(ScrnInfoPtr); /* g80_dac.c */ -xf86OutputPtr G80CreateDac(ScrnInfoPtr, ORNum, int i2cPort); +xf86OutputPtr G80CreateDac(ScrnInfoPtr, ORNum); /* g80_sor.c */ -xf86OutputPtr G80CreateSor(ScrnInfoPtr, ORNum, int i2cPort); +xf86OutputPtr G80CreateSor(ScrnInfoPtr, ORNum); |