xf86: don't hotplug output devices while VT switched.
authorDave Airlie <airlied@gmail.com>
Wed, 10 Apr 2013 06:32:15 +0000 (16:32 +1000)
committerDave Airlie <airlied@gmail.com>
Fri, 12 Apr 2013 00:01:23 +0000 (10:01 +1000)
commit22cab8a28a433d03a4e6ba97f9a160271d73cb52
tree17b593626e8ebbaae312d59709de51dd8c75105f
parent5b359cf6135ca173d8f65cb92926332f07f91efe
xf86: don't hotplug output devices while VT switched.

We don't want to hotplug output devices while we are VT switched,
as we get races between multiple X servers on the device open, and
drm device master status. This just queues device opens until we return
from VT switch.

Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Dave Airlie <airlied@redhat.com>
hw/xfree86/common/xf86Events.c
hw/xfree86/common/xf86platformBus.c
hw/xfree86/common/xf86platformBus.h
hw/xfree86/os-support/linux/lnx_platform.c
hw/xfree86/os-support/xf86_OSproc.h
include/hotplug.h