summaryrefslogtreecommitdiff
path: root/libkms++
diff options
context:
space:
mode:
Diffstat (limited to 'libkms++')
-rw-r--r--libkms++/atomicreq.cpp7
-rw-r--r--libkms++/atomicreq.h1
2 files changed, 0 insertions, 8 deletions
diff --git a/libkms++/atomicreq.cpp b/libkms++/atomicreq.cpp
index f2aa322..0e627a8 100644
--- a/libkms++/atomicreq.cpp
+++ b/libkms++/atomicreq.cpp
@@ -63,13 +63,6 @@ int AtomicReq::test()
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 7a8f2a4..d9aeb08 100644
--- a/libkms++/atomicreq.h
+++ b/libkms++/atomicreq.h
@@ -23,7 +23,6 @@ public:
void add(DrmObject *ob, const std::string& prop, uint64_t value);
int test();
- int commit();
int commit(void* data);
int commit_sync();