xserver/hw/xfree86
Thierry Reding 5a4e15c3f6 xfree86: Make driver matching consistent
Most of the driver enumeration functions take an array and a maximum
number of entries that they are allowed to fill in. Upon success, they
return the number of entries filled in. This allows them to be easily
used to consecutively.

One exception is the xf86MatchDriverFromFiles() function, which doesn't
return a value, so callers have to manually search the array for the
first empty entry.

This commit modifies the xf86MatchDriverFromFiles() to behave the same
way as others, which makes it easier to deal with.

Reviewed-by: Aaron Plattner <aplattner@nvidia.com>
Tested-By: Aaron Plattner <aplattner@nvidia.com>
Tested-by: Rob Clark <robdclark@gmail.com>  (on arm / platform device)
Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Keith Packard <keithp@keithp.com>
2014-07-07 16:11:00 -07:00
..
common xfree86: Make driver matching consistent 2014-07-07 16:11:00 -07:00
ddc Merge remote-tracking branch 'dlespiau/20131216-4k' 2014-01-22 11:32:35 -08:00
dixmods Build fbcmap_mi.c once, rather than once for each DDX 2014-03-27 14:34:06 +00:00
doc miinitext: introduce LoadExtensionList() to replace over LoadExtension() 2014-03-25 16:00:17 -07:00
dri dri1: Don't bother asking the loader about drmGetLibVersion 2014-04-18 11:11:19 -07:00
dri2 dri2: Invalidate DRI2Buffers upon SetWindowPixmap updates 2014-06-23 15:05:08 -07:00
exa xfree86/exa: xf86GetOptValString returns const char * now 2014-01-12 10:14:50 -08:00
fbdevhw xfree86/fbdevhw: Fix warnings 2014-01-12 10:14:50 -08:00
glamor_egl glamor: Add support for DRI3. 2014-03-05 13:10:24 -08:00
i2c Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
int10 xfree86: int10: Fix build on ARM 2014-04-27 12:02:39 -04:00
loader xfree86: Report Present as a built-in module 2014-06-02 13:11:18 -07:00
man xfree86: add short description about MatchSeat key in xorg.conf man page 2014-05-01 08:19:19 +10:00
modes hw/xfree86: Restore API compatibility for cursor loading functions 2014-04-25 14:41:52 -07:00
os-support xtensa: add support for xtensa architecture 2014-06-02 13:05:40 -07:00
parser xfree86: add new key MatchSeat to xorg.conf sections "Device", "Screen", and "ServerLayout" 2014-05-01 08:19:19 +10:00
ramdac hw/xfree86: Restore API compatibility for cursor loading functions 2014-04-25 14:41:52 -07:00
shadowfb shadowfb: Fix initialization 2014-05-22 17:56:24 -07:00
utils Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
vbe Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
vgahw Link libvgahw with $(PCIACCESS_LIBS) as well 2014-01-29 15:21:55 -08:00
x86emu xfree86: Fix -Wshadow warnings 2014-01-22 19:56:31 -08:00
.gitignore Xorg: Add Xorg.wrap to hw/xfree86/.gitignore 2014-04-18 11:39:16 +02:00
Makefile.am Merge remote-tracking branch 'whot/for-keith' 2014-04-03 10:44:28 -07:00
Xorg.sh.in Xorg: Add a suid root wrapper 2014-03-12 08:50:05 +01:00
sdksyms.sh xfree86 warning reduction 2014-01-12 10:14:49 -08:00
xorg-wrapper.c Xorg.wrap: Make the console check portable 2014-04-18 11:40:09 +02:00
xorgconf.cpp xfree86: fix wrong DontZap documentation (#71113) 2014-05-24 20:02:56 +10:00