xserver/hw
Bryce Harrington 70739e817b xfree86: Fix race condition failure opening drm.
If other processes have had drm open previously, xserver may attempt to
open the device too early and fail, with xserver error exit "Cannot
run in framebuffer mode" or Xorg.0.log messages about "setversion 1.4
failed".

In this situation, we're receiving back -EACCES from libdrm.  To address
this we need to re-set ourselves as the drm master, and keep trying to
set the interface until it works (or until we give up).

See https://bugs.launchpad.net/ubuntu/+source/libdrm/+bug/982889

Signed-off-by: Bryce Harrington <bryce@canonical.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Keith Packard <keithp@keithp.com>
2013-04-08 09:13:12 -07:00
..
dmx dmx: don't include dmx-config.h from xdmxconfig (#37502) 2013-02-08 13:47:17 +10:00
kdrive kdrive/fbdev: revive randr new screen size logic 2013-04-02 15:30:38 +10:00
vfb vfb: Initialize the GLX extension again. 2012-11-21 11:13:55 +11:00
xfree86 xfree86: Fix race condition failure opening drm. 2013-04-08 09:13:12 -07:00
xnest dix: Remove #includes of mibstore.h 2012-09-23 10:31:27 -07:00
xquartz Full support of sRGB capable fbconfigs. 2013-03-18 10:02:00 -07:00
xwin Full support of sRGB capable fbconfigs. 2013-03-18 10:02:00 -07:00
Makefile.am Catch errors in recursive relink targets 2010-03-22 00:45:57 -05:00