Go to file
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
composite Add type name argument to CreateNewResourceType 2009-12-18 17:44:12 -08:00
config config: add libudev input-hotplug backend 2009-12-30 19:05:44 +00:00
damageext Add type name argument to CreateNewResourceType 2009-12-18 17:44:12 -08:00
dbe Add type name argument to CreateNewResourceType 2009-12-18 17:44:12 -08:00
dix CloseDevice: call XkbRemoveResourceClient before freeing key class struct 2010-01-04 18:48:18 -08:00
doc Update man-pages for new default font paths 2009-11-25 13:34:36 -08:00
exa EXA: Restore migration call in exaDoPutImage(). 2010-01-04 08:28:12 -08:00
fb Update Sun license notices to current X.Org standard form 2009-12-16 17:11:35 -08:00
glx Add type name argument to CreateNewResourceType 2009-12-18 17:44:12 -08:00
hw modes: Remove the ClockRanges type 2010-01-05 13:30:22 -08:00
include dix: add smooth limited pointer acceleration profile 2010-01-01 11:22:42 -08:00
m4 dolt: add Cygwin to supported platforms 2009-10-13 20:30:22 -07:00
mi Add type name argument to CreateNewResourceType 2009-12-18 17:44:12 -08:00
miext Miscellaneous compilation warning fixes 2009-12-08 15:50:28 -08:00
os Merge remote branch 'alanc/master' 2009-12-16 21:58:44 -08:00
randr Add type name argument to CreateNewResourceType 2009-12-18 17:44:12 -08:00
record Add type name argument to CreateNewResourceType 2009-12-18 17:44:12 -08:00
render Add type name argument to CreateNewResourceType 2009-12-18 17:44:12 -08:00
test test/xi2: fail if xi2 class type is garbage. (#25492) 2009-12-22 21:30:52 -08:00
Xext Add type name argument to CreateNewResourceType 2009-12-18 17:44:12 -08:00
xfixes Add type name argument to CreateNewResourceType 2009-12-18 17:44:12 -08:00
Xi config: Introduce InputAttributes in NewInputDeviceRequest 2009-12-22 23:24:13 -08:00
xkb Add type name argument to CreateNewResourceType 2009-12-18 17:44:12 -08:00
.gitignore .gitignore: use common defaults with custom section #24239 2009-11-11 21:40:20 -08:00
autogen.sh autogen.sh: Pass --force to autoreconf 2008-07-22 16:55:26 +03:00
configure.ac config: add libudev input-hotplug backend 2009-12-30 19:05:44 +00:00
COPYING Update Sun license notices to current X.Org standard form 2009-12-16 17:11:35 -08:00
cpprules.in xfree86: Use xorg.conf.d directory for multiple config files 2009-12-22 23:20:45 -08:00
Makefile.am INSTALL, NEWS, README or AUTHORS files are missing/incorrect #24206 2009-11-11 21:44:24 -08:00
xorg-server.m4 Add xorg-server.m4 for driver dependency checking. 2005-11-01 15:01:51 +00:00
xorg-server.pc.in Since font modules are dead, don't mention them in xorg-server.pc 2009-07-09 17:21:07 -04:00