xserver-multidpi/hw
Adam Jackson 0816e8fca6 linux: Make platform device probe less fragile
At the point where xf86BusProbe runs we haven't yet taken our own VT,
which means we can't perform drm "master" operations on the device. This
is tragic, because we need master to fish the bus id string out of the
kernel, which we can only do after drmSetInterfaceVersion, which for
some reason stores that string on the device not the file handle and
thus needs master access.

Fortunately we know the format of the busid string, and it happens to
almost be the same as the ID_PATH variable from udev. Use that instead
and stop calling drmSetInterfaceVersion.

Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Adam Jackson <ajax@redhat.com>
2018-10-18 13:52:11 -04:00
..
dmx dix: Remove LegalModifier() 2018-09-28 16:25:17 -04:00
kdrive dix: Remove LegalModifier() 2018-09-28 16:25:17 -04:00
vfb dix: Remove LegalModifier() 2018-09-28 16:25:17 -04:00
xfree86 linux: Make platform device probe less fragile 2018-10-18 13:52:11 -04:00
xnest dix: Remove LegalModifier() 2018-09-28 16:25:17 -04:00
xquartz dix: Remove LegalModifier() 2018-09-28 16:25:17 -04:00
xwayland xwayland: fix a realloc OOM error case 2018-10-16 10:37:16 +10:00
xwin dix: Remove LegalModifier() 2018-09-28 16:25:17 -04:00
Makefile.am Xwayland DDX 2014-04-03 15:19:22 -07:00
meson.build meson: Move Xvfb build under an option. 2017-09-20 13:19:21 -04:00