diff options
author | Keith Packard <keithp@keithp.com> | 2009-02-23 13:31:51 -0800 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2009-02-23 13:31:51 -0800 |
commit | 668b2352a47bcfba75fe0492a5805726222755eb (patch) | |
tree | 4f22124a82705d5c001efc2d4c99ff5df3153d58 /src/i830_crt.c | |
parent | 8fd0e46571c7ba15c05f0a759113f8ca842c76a2 (diff) |
Revert "Limit CRT DAC speed better."
This reverts commit 8fd0e46571c7ba15c05f0a759113f8ca842c76a2.
This doesn't even build. Please try again.
Diffstat (limited to 'src/i830_crt.c')
-rw-r--r-- | src/i830_crt.c | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/src/i830_crt.c b/src/i830_crt.c index 984e77c8..605ecf9e 100644 --- a/src/i830_crt.c +++ b/src/i830_crt.c @@ -84,23 +84,11 @@ i830_crt_restore (xf86OutputPtr output) static int i830_crt_mode_valid(xf86OutputPtr output, DisplayModePtr pMode) { - ScrnInfoPtr pScrn = output->scrn; - I830Ptr pI830 = I830Ptr(pScrn); - int maxclock; - if (pMode->Flags & V_DBLSCAN) return MODE_NO_DBLESCAN; - if (pMode->Clock < 25000) - return MODE_CLOCK_LOW; - - if (!IS_I9XX(pI830)) - maxclock = 350000; - else - maxclock = 400000; - - if (pMode->Clock > maxclock) - return MODE_CLOCK_HIGH; + if (pMode->Clock > 400000 || pMode->Clock < 25000) + return MODE_CLOCK_RANGE; return MODE_OK; } |