xserver/hw/xfree86/loader
Hans De Goede b5dffbbac1 xfree86: Add ModulePath support for OutputClass config Sections
Allow OutputClass config snippets to modify the module-path.

Note that any specified ModulePaths will be pre-pended to the normal
ModulePath. The idea behind this is that any output hardware specific
modules should have preference over the normal modules.

One use-case for this is the nvidia binary driver, this allows a
config snippet like this:

Section "OutputClass"
    MatchDriver "nvidia"
    Modulepath "/usr/lib64/nvidia/modules"
EndSection

To get the nvidia glx specific glx module loaded, but only when the
nvidia kernel driver is loaded.

Together with the glvnd work done recently, this allows the nouveau
+ mesa and nvidia-binary userspace stacks to co-exist on the same
system without any ldconfig / xorg.conf tweaking and the xserver will
automatically do the right thing depending on which kernel driver
(nouveau or nvidia) is loaded.

Reviewed-by: Adam Jackson <ajax@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2016-12-14 14:12:19 -05:00
..
Makefile.am build: Remove stale miext/cw include paths 2015-10-27 13:46:13 -04:00
loader.c xfree86: Font modules aren't a real thing 2016-03-14 11:23:51 -04:00
loader.h Look for ModuleData only in appropriate library 2012-07-04 21:26:24 +10:00
loaderProcs.h Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
loadmod.c xfree86: Add ModulePath support for OutputClass config Sections 2016-12-14 14:12:19 -05:00
os.c Replace 'sun' with '__sun' 2015-11-30 11:51:22 -05:00