xserver/hw/xfree86/os-support
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
..
bsd Fix up formatting of initializers for arrays of structs 2012-08-06 15:22:53 -07:00
bus xfree86: os-support: fix old-style function definition warnings 2012-11-05 13:24:58 -06:00
hurd Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
linux xfree86: Fix race condition failure opening drm. 2013-04-08 09:13:12 -07:00
misc Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
shared xfree86: os-support: fix old-style function definition warnings 2012-11-05 13:24:58 -06:00
solaris Fix up formatting of initializers for arrays of structs 2012-08-06 15:22:53 -07:00
stub xfree86: os-support: fix old-style function definition warnings 2012-11-05 13:24:58 -06:00
Makefile.am xfree86: Add stubs for os-support to help adding new architecture support 2011-10-15 21:18:47 -07:00
int10Defines.h Remove RCS tags. Fix Xprint makefile braindamage. 2006-07-21 17:56:00 -04:00
xf86OSpriv.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
xf86_OSlib.h os-support: add Cygwin support 2012-04-05 21:57:03 -05:00
xf86_OSproc.h XFree86: os-support: Remove unused xf86MakeNewMapping 2012-07-10 00:42:10 -07:00