From 9e233836840d9708d32dc5a0b15df631ea274e7a Mon Sep 17 00:00:00 2001 From: Tomi Valkeinen Date: Mon, 30 May 2016 13:51:49 +0300 Subject: AtomicReq: support 'allow_modeset' --- libkms++/atomicreq.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libkms++/atomicreq.h') diff --git a/libkms++/atomicreq.h b/libkms++/atomicreq.h index 77a9dde..6ebdbf8 100644 --- a/libkms++/atomicreq.h +++ b/libkms++/atomicreq.h @@ -24,9 +24,9 @@ public: void add(DrmObject *ob, const std::string& prop, uint64_t value); void add(DrmObject *ob, const std::map& values); - int test(); - int commit(void* data); - int commit_sync(); + int test(bool allow_modeset = false); + int commit(void* data, bool allow_modeset = false); + int commit_sync(bool allow_modeset = false); private: Card& m_card; -- cgit v1.2.3