diff options
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2018-09-10 11:03:30 +0300 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2018-09-10 11:03:35 +0300 |
commit | 524176c33ee2b79f78d454fa621e0d32e7e72488 (patch) | |
tree | 1a54f2251f7ae47f1b4d61ebd5f282b5400becbc /kms++/inc | |
parent | 4ca4852eac209cc822252c5b17b1e8f2ce8b2c6c (diff) |
kmstest: give an error if master permissions could not be set
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'kms++/inc')
-rw-r--r-- | kms++/inc/kms++/card.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kms++/inc/kms++/card.h b/kms++/inc/kms++/card.h index c86278d..a3479d1 100644 --- a/kms++/inc/kms++/card.h +++ b/kms++/inc/kms++/card.h @@ -33,7 +33,7 @@ public: Plane* get_plane(uint32_t id) const; Property* get_prop(uint32_t id) const; - bool master() const { return m_master; } + bool is_master() const { return m_is_master; } bool has_atomic() const { return m_has_atomic; } bool has_has_universal_planes() const { return m_has_universal_planes; } @@ -64,7 +64,7 @@ private: std::vector<Framebuffer*> m_framebuffers; int m_fd; - bool m_master; + bool m_is_master; bool m_has_atomic; bool m_has_universal_planes; |