summaryrefslogtreecommitdiff
path: root/kms++/inc
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2016-08-14 11:10:34 +0300
committerTomi Valkeinen <tomi.valkeinen@ti.com>2016-08-15 14:42:55 +0300
commit05cc861d51149c719bcef145365e89a00ddb6cde (patch)
tree20e37f135e20065ab40c3a7c2eb4a3e11a6be9b4 /kms++/inc
parentf184e59f04705dae7c2e6be706e9fa7fec0c6474 (diff)
AtomicReq: add add_display() helper
Diffstat (limited to 'kms++/inc')
-rw-r--r--kms++/inc/kms++/atomicreq.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/kms++/inc/kms++/atomicreq.h b/kms++/inc/kms++/atomicreq.h
index a9f779d..a678b54 100644
--- a/kms++/inc/kms++/atomicreq.h
+++ b/kms++/inc/kms++/atomicreq.h
@@ -24,6 +24,9 @@ public:
void add(DrmPropObject *ob, const std::string& prop, uint64_t value);
void add(DrmPropObject *ob, const std::map<std::string, uint64_t>& values);
+ void add_display(Connector* conn, Crtc* crtc, Blob* videomode,
+ Plane* primary, Framebuffer* fb);
+
int test(bool allow_modeset = false);
int commit(void* data, bool allow_modeset = false);
int commit_sync(bool allow_modeset = false);