diff options
author | Aaron Plattner <aplattner@nvidia.com> | 2007-03-27 17:12:21 -0700 |
---|---|---|
committer | Aaron Plattner <aplattner@nvidia.com> | 2007-03-27 17:12:21 -0700 |
commit | 2d8d5bd597d760968b683d41ced6a0a76518ec26 (patch) | |
tree | 9476bfa3e635c4c73a557aafdd36c86f5d5799c1 /src/g80_output.h | |
parent | 4b8ed8497a9ab6ef1316bfcce9f31d96dd4b3540 (diff) |
G80: Improve output detection.
Detect output status for paired outputs together and cache status until the
BlockHandler to avoid redundantly probing for EDIDs or performing load
detection.
Diffstat (limited to 'src/g80_output.h')
-rw-r--r-- | src/g80_output.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/g80_output.h b/src/g80_output.h index 819df15..0b666f5 100644 --- a/src/g80_output.h +++ b/src/g80_output.h @@ -5,6 +5,8 @@ typedef struct G80OutputPrivRec { xf86OutputPtr partner; I2CBusPtr i2c; + xf86OutputStatus cached_status; + void (*set_pclk)(xf86OutputPtr, int pclk); } G80OutputPrivRec, *G80OutputPrivPtr; @@ -13,12 +15,15 @@ int G80OutputModeValid(xf86OutputPtr, DisplayModePtr); Bool G80OutputModeFixup(xf86OutputPtr, DisplayModePtr mode, DisplayModePtr adjusted_mode); void G80OutputPrepare(xf86OutputPtr); void G80OutputCommit(xf86OutputPtr); +void G80OutputPartnersDetect(xf86OutputPtr dac, xf86OutputPtr sor, I2CBusPtr i2c); +void G80OutputResetCachedStatus(ScrnInfoPtr); DisplayModePtr G80OutputGetDDCModes(xf86OutputPtr); void G80OutputDestroy(xf86OutputPtr); Bool G80CreateOutputs(ScrnInfoPtr); /* g80_dac.c */ xf86OutputPtr G80CreateDac(ScrnInfoPtr, ORNum); +Bool G80DacLoadDetect(xf86OutputPtr); /* g80_sor.c */ xf86OutputPtr G80CreateSor(ScrnInfoPtr, ORNum); |