xserver-multidpi/hw/xfree86
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
..
common modes: Remove the ClockRanges type 2010-01-05 13:30:22 -08:00
ddc EDID: CEA extension support 2009-10-29 14:04:55 -04:00
dixmods Add type name argument to CreateNewResourceType 2009-12-18 17:44:12 -08:00
doc Merge remote branch 'dbn/inputclass' 2009-12-30 09:28:19 -08:00
dri Add type name argument to CreateNewResourceType 2009-12-18 17:44:12 -08:00
dri2 Add type name argument to CreateNewResourceType 2009-12-18 17:44:12 -08:00
exa EXA: Allow optimized migration to be enabled with mixed pixmaps. 2009-12-28 22:01:42 -08:00
fbdevhw .gitignore: use common defaults with custom section #24239 2009-11-11 21:40:20 -08:00
i2c Don't cast double to int: use default conversions or explicitly round. 2009-10-28 18:56:42 -07:00
int10 Fix builds with --with-int10=stub 2009-12-15 10:23:16 -08:00
loader .gitignore: use common defaults with custom section #24239 2009-11-11 21:40:20 -08:00
modes xfree86: belately init RandR12 if xinerama fails. (#24627) 2009-12-16 21:50:00 -08:00
os-support Update Sun license notices to current X.Org standard form 2009-12-16 17:11:35 -08:00
parser Merge remote branch 'dbn/inputclass' 2009-12-30 09:28:19 -08:00
ramdac .gitignore: use common defaults with custom section #24239 2009-11-11 21:40:20 -08:00
shadowfb s/MIN/min/, s/MAX/max/ (#2968) 2009-06-03 13:45:42 -04:00
utils Update Sun license notices to current X.Org standard form 2009-12-16 17:11:35 -08:00
vbe Update to xextproto 7.0.99.1. 2009-07-15 17:00:05 +10:00
vgahw Revert "alpha: kill xf86SlowBCopyToBus and xf86SlowBCopyFromBus" 2009-10-06 20:40:20 -04:00
x86emu Fix builds with --with-int10=stub 2009-12-15 10:23:16 -08:00
xaa .gitignore: use common defaults with custom section #24239 2009-11-11 21:40:20 -08:00
xf8_16bpp Update several of my and/or Red Hat's licenses to standard form. 2009-05-14 07:02:44 -04:00
.gitignore .gitignore: use common defaults with custom section #24239 2009-11-11 21:40:20 -08:00
Makefile.am Use $(MAKE) instead of "make" to build Solaris inline assembly 2009-11-05 13:31:16 -08:00
xorgconf.cpp Update xorg.conf man page & sample for changes in Xorg 1.7 2009-09-14 16:03:18 +10:00