summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e43a5d4)
raw | patch | inline | side by side (parent: e43a5d4)
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | |
Thu, 17 Mar 2016 16:47:01 +0000 (18:47 +0200) | ||
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | |
Thu, 17 Mar 2016 16:47:01 +0000 (18:47 +0200) |
libkms++/atomicreq.cpp | patch | blob | history | |
libkms++/atomicreq.h | patch | blob | history |
diff --git a/libkms++/atomicreq.cpp b/libkms++/atomicreq.cpp
index a865eec77a888d7f151697310b7650150c5d5b74..a11d382eb8e41f28e9f2298e56df35e153cec71f 100644 (file)
--- a/libkms++/atomicreq.cpp
+++ b/libkms++/atomicreq.cpp
return drmModeAtomicCommit(m_card.fd(), m_req, flags, 0);
}
+int AtomicReq::commit()
+{
+ uint32_t flags = 0;
+
+ return drmModeAtomicCommit(m_card.fd(), m_req, flags, 0);
+}
+
int AtomicReq::commit(void* data)
{
uint32_t flags = DRM_MODE_PAGE_FLIP_EVENT | DRM_MODE_ATOMIC_NONBLOCK;
diff --git a/libkms++/atomicreq.h b/libkms++/atomicreq.h
index e3bd172a94b906f3dc15955b59bb40684d9533bf..94b506dc932bf8c5113a1cb8beef587479510322 100644 (file)
--- a/libkms++/atomicreq.h
+++ b/libkms++/atomicreq.h
void add(DrmObject *ob, const std::string& prop, uint64_t value);
int test();
+ int commit();
int commit(void* data);
int commit(PageFlipHandlerBase* data) { return commit((void*)data); }