summaryrefslogtreecommitdiff
path: root/kms++/inc
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2017-01-25 13:19:44 +0200
committerTomi Valkeinen <tomi.valkeinen@ti.com>2017-01-25 13:20:20 +0200
commit526c26ceec669e4b317f9dc7dc1270ca8a3b4478 (patch)
treee2ab0497eaf649792f1e1bc2f7d482e6719f251d /kms++/inc
parent8e93fa0bb51744cb3c33ce7308c204caa68e40f8 (diff)
Add refresh() to connector, crtc and encoder
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'kms++/inc')
-rw-r--r--kms++/inc/kms++/connector.h2
-rw-r--r--kms++/inc/kms++/crtc.h2
-rw-r--r--kms++/inc/kms++/encoder.h2
3 files changed, 6 insertions, 0 deletions
diff --git a/kms++/inc/kms++/connector.h b/kms++/inc/kms++/connector.h
index ccd7728..3407730 100644
--- a/kms++/inc/kms++/connector.h
+++ b/kms++/inc/kms++/connector.h
@@ -14,6 +14,8 @@ class Connector : public DrmPropObject
{
friend class Card;
public:
+ void refresh();
+
Videomode get_default_mode() const;
Videomode get_mode(const std::string& mode) const;
diff --git a/kms++/inc/kms++/crtc.h b/kms++/inc/kms++/crtc.h
index 14860ba..c86fc88 100644
--- a/kms++/inc/kms++/crtc.h
+++ b/kms++/inc/kms++/crtc.h
@@ -14,6 +14,8 @@ class Crtc : public DrmPropObject
friend class Card;
friend class Connector;
public:
+ void refresh();
+
const std::vector<Plane*>& get_possible_planes() const { return m_possible_planes; }
int set_mode(Connector* conn, Framebuffer& fb, const Videomode& mode);
diff --git a/kms++/inc/kms++/encoder.h b/kms++/inc/kms++/encoder.h
index b5aac70..1d36adc 100644
--- a/kms++/inc/kms++/encoder.h
+++ b/kms++/inc/kms++/encoder.h
@@ -12,6 +12,8 @@ class Encoder : public DrmPropObject
{
friend class Card;
public:
+ void refresh();
+
Crtc* get_crtc() const;
std::vector<Crtc*> get_possible_crtcs() const;