summaryrefslogtreecommitdiff
path: root/src/sna/sna.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2014-05-30 21:21:00 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2014-06-02 08:32:11 +0100
commitc17d704a5baa0c902994f035d3da39d77d31fef3 (patch)
tree6fe4db6c9ec0ad6dcc4c46ee6b1611c24bc7f42a /src/sna/sna.h
parentc95a4002d1d27937731c59e84254ccb3b1246ccd (diff)
sna: Enable kernel support for asynchronous flips
If a flip fails, attempt to restore the previous working configuration (using a modeset) then disable further flipping. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/sna.h')
-rw-r--r--src/sna/sna.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sna/sna.h b/src/sna/sna.h
index 7a1b6932..d40ccf42 100644
--- a/src/sna/sna.h
+++ b/src/sna/sna.h
@@ -243,6 +243,8 @@ struct sna {
#define SNA_PERFORMANCE 0x100
#define SNA_POWERSAVE 0x200
#define SNA_REMOVE_OUTPUTS 0x400
+#define SNA_HAS_FLIP 0x10000
+#define SNA_HAS_ASYNC_FLIP 0x20000
#define SNA_REDISCOVER 0x40000000
#define SNA_REPROBE 0x80000000