xserver-multidpi/hw
Adam Jackson 326429badf modes: Remove the ClockRanges type
ba2d39dd54 introduced warnings:

xf86Mode.c: In function ‘xf86CheckModeForDriver’:
xf86Mode.c:986: warning: passing argument 1 of ‘modeInClockRange’ from incompatible pointer type
xf86Mode.c:253: note: expected ‘ClockRangePtr’ but argument is of type ‘ClockRangesPtr’
xf86Mode.c:1002: warning: passing argument 1 of ‘modeInClockRange’ from incompatible pointer type
xf86Mode.c:253: note: expected ‘ClockRangePtr’ but argument is of type ‘ClockRangesPtr’

Because I foolishly didn't notice that we had types with nearly
identical members named ClockRange and ClockRanges.  The latter
contained an extra 'strategy' member at the end, which claimed to be
needed by the vidmode extension.  Of course, this was a lie: the only time
we'd use it was in mode validation, for drivers using LOOKUP_CLKDIV2 with
non-programmable clocks.  The only driver using LOOKUP_CLKDIV2 is
rendition, which has a programmable clock.  The only driver using the
ClockRanges type was smi, which did not use it for its 'strategy' member,
so has been fixed to use ClockRange instead.

Signed-off-by: Adam Jackson <ajax@redhat.com>
Reviewed-by: Keith Packard <keithp@keithp.com>
Signed-off-by: Keith Packard <keithp@keithp.com>
2010-01-05 13:30:22 -08:00
..
dmx config: Introduce InputAttributes in NewInputDeviceRequest 2009-12-22 23:24:13 -08:00
kdrive Add Xephyr.man to .gitignore 2010-01-01 23:28:18 -08:00
vfb .gitignore: use common defaults with custom section #24239 2009-11-11 21:40:20 -08:00
xfree86 modes: Remove the ClockRanges type 2010-01-05 13:30:22 -08:00
xnest .gitignore: use common defaults with custom section #24239 2009-11-11 21:40:20 -08:00
xquartz config: Introduce InputAttributes in NewInputDeviceRequest 2009-12-22 23:24:13 -08:00
xwin xfree86: Allow config directory to be specified on command line 2009-12-22 23:20:52 -08:00
Makefile.am Remove xgl. 2008-06-12 16:00:50 -04:00