summaryrefslogtreecommitdiff
path: root/src/sna/sna.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2013-04-10 10:33:48 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2013-04-10 10:38:30 +0100
commit540802595fee7f8b2c73e74c2b44e9a21f6471ae (patch)
treee98b4e879bbee0150cde4238bf706b68671e7f32 /src/sna/sna.h
parent7afe2b45556f07b7e3a36e36da5a6d1c60366c25 (diff)
sna: Suppress hotplug events whilst VT switched away
Whilst we are not DRM master, not only is another server in control of the outputs and responding to the udev event, we ourselves cannot change modes and just cause contention upon the DRM device. Instead inform userspace of the change as soon as we are DRM master again and back in control. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/sna.h')
-rw-r--r--src/sna/sna.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sna/sna.h b/src/sna/sna.h
index 13a5ce32..61f26722 100644
--- a/src/sna/sna.h
+++ b/src/sna/sna.h
@@ -206,6 +206,7 @@ struct sna {
#define SNA_TRIPLE_BUFFER 0x4
#define SNA_TEAR_FREE 0x10
#define SNA_FORCE_SHADOW 0x20
+#define SNA_REPROBE 0x80000000
unsigned cpu_features;
#define MMX 0x1