diff options
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; } |