diff options
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2016-04-11 19:11:09 +0300 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2016-04-12 10:25:59 +0300 |
commit | c5cee811d1f0794c813745dff158057be9ce49af (patch) | |
tree | 9a92abdc7e17718ed0a396fc41ac74bc1a9068c1 /libkms++/atomicreq.cpp | |
parent | a15d72debd94398e5e4c91b84e7d86055774a187 (diff) |
atomicreq: add commit_sync()
Diffstat (limited to 'libkms++/atomicreq.cpp')
-rw-r--r-- | libkms++/atomicreq.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libkms++/atomicreq.cpp b/libkms++/atomicreq.cpp index a11d382..f2aa322 100644 --- a/libkms++/atomicreq.cpp +++ b/libkms++/atomicreq.cpp @@ -76,4 +76,11 @@ int AtomicReq::commit(void* data) return drmModeAtomicCommit(m_card.fd(), m_req, flags, data); } + +int AtomicReq::commit_sync() +{ + uint32_t flags = 0; + + return drmModeAtomicCommit(m_card.fd(), m_req, flags, 0); +} } |