AtomicReq: use nonblocking commit
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 11 Nov 2015 18:22:49 +0000 (20:22 +0200)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 11 Nov 2015 18:22:49 +0000 (20:22 +0200)
libkms++/atomicreq.cpp

index 0155aa04d0b0abf1c1d4eb41b5228e010eb2518a..2e5d469be4d4c84d59346cca42a247860c6928af 100644 (file)
@@ -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);
 }