summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2015-11-11 20:22:49 +0200
committerTomi Valkeinen <tomi.valkeinen@ti.com>2015-11-11 20:22:49 +0200
commitfeb877bc5dd88d1449b64d0852e7a45ab0af7d4e (patch)
treeec1b2ad794b832aac002c009fb7daec5b63e3d33
parent6d29a7676b1857cadc559708c2762ef01082d899 (diff)
AtomicReq: use nonblocking commit
-rw-r--r--libkms++/atomicreq.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libkms++/atomicreq.cpp b/libkms++/atomicreq.cpp
index 0155aa0..2e5d469 100644
--- a/libkms++/atomicreq.cpp
+++ b/libkms++/atomicreq.cpp
@@ -64,7 +64,7 @@ int AtomicReq::test()
int AtomicReq::commit(void* data)
{
- uint32_t flags = DRM_MODE_PAGE_FLIP_EVENT;
+ uint32_t flags = DRM_MODE_PAGE_FLIP_EVENT | DRM_MODE_ATOMIC_NONBLOCK;
return drmModeAtomicCommit(m_card.fd(), m_req, flags, data);
}