diff options
author | Aaron Plattner <aplattner@nvidia.com> | 2007-06-07 18:28:56 -0700 |
---|---|---|
committer | Aaron Plattner <aplattner@nvidia.com> | 2007-06-07 18:28:56 -0700 |
commit | 4e56465a79587c4df6bf1dfd7cc87a4f22707a8f (patch) | |
tree | eff61c1256b9ac23241e1ba91e96253e98c1848b /src/g80_output.c | |
parent | 6b71721439802bffd715602af3036083ff442449 (diff) |
G80: Mode validation.
Disable LVDS modes larger than the native resolution.
Disable dual-link TMDS modes for now since they don't work reliably.
Diffstat (limited to 'src/g80_output.c')
-rw-r--r-- | src/g80_output.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/g80_output.c b/src/g80_output.c index 6a2723b..11bdb25 100644 --- a/src/g80_output.c +++ b/src/g80_output.c @@ -164,8 +164,10 @@ G80OutputSetPClk(xf86OutputPtr output, int pclk) int G80OutputModeValid(xf86OutputPtr output, DisplayModePtr mode) { - if(mode->Clock > 400000 || mode->Clock < 25000) - return MODE_CLOCK_RANGE; + if(mode->Clock > 400000) + return MODE_CLOCK_HIGH; + if(mode->Clock < 25000) + return MODE_CLOCK_LOW; return MODE_OK; } |