[patch] Fix refresh calculation for SavageMatchBiosMode

Felix Kühling fxkuehl at gmx.de
Tue Oct 19 15:28:08 PDT 2004

I found a problem which made the Savage driver choose BIOS modes with
frequencies that are way outside the refresh range specified in
xorg.conf. This happened when X tried to set a double scanned mode (in
my case) and the Savage driver computed the wrong vertical refresh value
based on Clock, HTotal and VTotal. Some code in common/xf86Mode.c also
considers the DoubleScan and Interlace flags. Adding similar code to the
Savage driver makes it choose sane BIOS modes again. A patch is
attached. Line numbers are off due to other changes I'm working on ATM
but it should apply cleanly otherwise.


| Felix Kühling <fxkuehl at gmx.de>                     http://fxk.de.vu |
| PGP Fingerprint: 6A3C 9566 5B30 DDED 73C3  B152 151C 5CC1 D888 E595 |
-------------- next part --------------
A non-text attachment was scrubbed...
Name: savage_refresh.diff
Type: text/x-patch
Size: 1535 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg/attachments/20041020/e94e5e1e/attachment.bin>

More information about the xorg mailing list