summaryrefslogtreecommitdiff
path: root/src/g80_output.h
diff options
context:
space:
mode:
authorAaron Plattner <aplattner@nvidia.com>2007-07-24 20:36:04 -0700
committerAaron Plattner <aaron@weasel.nvidia.com>2007-07-24 20:36:04 -0700
commit08b68473351081fe1ed96ba7e206ed0d301b8a91 (patch)
treedaa06fca777bb68abb66d8b124d0c533edc5109f /src/g80_output.h
parentf0ebb42ee94eac4b294d12d02f4406a444b347ff (diff)
G80: Allow DVI scaling.
Revamp how the scaling code works. When a mode is set on a DVI output, determine the current preferred mode and scale to that. Add a new scaling option, "off", which disables scaling and scans out the actual timings in the mode to be set.
Diffstat (limited to 'src/g80_output.h')
-rw-r--r--src/g80_output.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/g80_output.h b/src/g80_output.h
index 900b76d..33514c6 100644
--- a/src/g80_output.h
+++ b/src/g80_output.h
@@ -3,6 +3,7 @@ typedef struct G80OutputPrivRec {
ORNum or;
PanelType panelType;
DisplayModePtr nativeMode;
+ enum G80ScaleMode scale;
xf86OutputPtr partner;
I2CBusPtr i2c;
@@ -14,7 +15,6 @@ typedef struct G80OutputPrivRec {
void G80OutputSetPClk(xf86OutputPtr, int pclk);
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);