xserver-multidpi/hw/xfree86/parser
Dave Airlie 3b6930c5d0 xserver: add xorg.conf support for gpu devices. (v2.1)
This allows gpu devices to be specified in xorg.conf Screen sections.

Section "Device"
        Driver "intel"
        Identifier "intel0"
        Option "AccelMethod" "uxa"
EndSection

Section "Device"
        Driver "modesetting"
        Identifier "usb0"
EndSection

Section "Screen"
        Identifier "screen"
        Device "intel0"
        GPUDevice "usb0"
EndSection

This should allow for easier tweaking of driver options which
currently mess up the GPU device discovery process.

v2: add error handling for more than 4 devices, (Emil)
fixup CONF_ defines to consistency
add MAX_GPUDEVICES define
(yes there is two defines, this is consistent
with everywhere else).
remove braces around slp (Mark Kettenis)
man page fixups (Aaron)
v2.1: fixup whitespace (Aaron)

Reviewed-by: Keith Packard <keithp@keithp.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
2015-04-27 13:40:40 +10:00
..
Configint.h xserver: add xorg.conf support for gpu devices. (v2.1) 2015-04-27 13:40:40 +10:00
configProcs.h xfree86: Introduce OutputClass configuration 2014-07-07 16:12:09 -07:00
Device.c Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
DRI.c Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
Extensions.c Fix build when configured --enable-debug 2014-03-27 14:34:32 +00:00
Files.c Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
Flags.c Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
Input.c Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
InputClass.c Revert "xfree86/parser: make strings in xf86MatchGroup const" 2014-02-04 11:27:48 +10:00
Layout.c Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
Makefile.am xfree86: Introduce OutputClass configuration 2014-07-07 16:12:09 -07:00
Module.c Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
Monitor.c Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
OutputClass.c xfree86: Introduce OutputClass configuration 2014-07-07 16:12:09 -07:00
Pointer.c Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
read.c Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
scan.c Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
Screen.c xserver: add xorg.conf support for gpu devices. (v2.1) 2015-04-27 13:40:40 +10:00
Vendor.c Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
Video.c Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
write.c Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
xf86Optrec.h Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
xf86Parser.h xserver: add xorg.conf support for gpu devices. (v2.1) 2015-04-27 13:40:40 +10:00
xf86tokens.h xserver: add xorg.conf support for gpu devices. (v2.1) 2015-04-27 13:40:40 +10:00