xserver/hw/xfree86
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
..
common dix: Remove LegalModifier() 2018-09-28 16:25:17 -04:00
ddc
dixmods
doc xfree86: Remove -flippixels 2018-09-27 16:50:22 +00:00
dri
dri2 DRI2: Sync radeonsi_pci_ids.h from Mesa 2018-05-14 14:32:12 -04:00
drivers modesetting: Don't free(dst) in drmmode_prop_info_copy 2018-10-01 11:42:37 -04:00
exa meson: Install man pages 2018-03-27 10:28:33 -04:00
fbdevhw xfree86: ensure the readlink buffer is null-terminated 2018-10-17 09:41:15 +10:00
glamor_egl glamor: Make Xv extension initialize at depth 30. 2018-02-27 10:18:06 -05:00
i2c
int10
loader
man xfree86: Remove -flippixels 2018-09-27 16:50:22 +00:00
modes xfree86: Wrap RRCrtcIsLeased and RROutputIsLeased to check for DIX structures 2018-07-02 19:34:50 -04:00
os-support linux: Make platform device probe less fragile 2018-10-18 13:52:11 -04:00
parser xfree86: Remove NoTrapSignals 2018-09-12 20:47:15 +00:00
ramdac
shadowfb
utils gtf: Warning fix 2018-04-05 14:18:16 -04:00
vbe
vgahw xfree86: Remove -flippixels 2018-09-27 16:50:22 +00:00
x86emu
xkb
.gitignore
Makefile.am xfree86: Makefile shouldn't rely on superuser being named 'root' 2018-06-12 10:36:56 -04:00
Xorg.sh.in
meson.build meson: don't install xorg wrapper manpages if suid-wrapper isn't being used 2018-05-14 14:13:38 -04:00
sdksyms.sh sdksyms: Cope with __pid_t and __uint32_t 2018-04-23 14:56:17 -04:00
xorg-wrapper.c
xorgconf.cpp xfree86: Remove NoTrapSignals 2018-09-12 20:47:15 +00:00