summaryrefslogtreecommitdiff
path: root/kms++
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2020-08-06 05:18:00 +0300
committerTomi Valkeinen <tomi.valkeinen@ti.com>2020-08-10 09:44:48 +0300
commit3fbc35b1464520f84c0dcc9a30abd8648c7f88f0 (patch)
tree1b798752ad0fb4ec50ce910e37270f3a7fddf9e1 /kms++
parent76b6ef85cded5e576dca6cd2840aeb0da9512287 (diff)
card: Rename has_has_universal_planes to has_universal_planes
The has_has_universal_planes() method name includes a typo, fix it. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'kms++')
-rw-r--r--kms++/inc/kms++/card.h2
-rw-r--r--kms++/src/plane.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/kms++/inc/kms++/card.h b/kms++/inc/kms++/card.h
index 8af0969..0a7eaaf 100644
--- a/kms++/inc/kms++/card.h
+++ b/kms++/inc/kms++/card.h
@@ -50,7 +50,7 @@ public:
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; }
+ bool has_universal_planes() const { return m_has_universal_planes; }
bool has_dumb_buffers() const { return m_has_dumb; }
bool has_kms() const;
diff --git a/kms++/src/plane.cpp b/kms++/src/plane.cpp
index b040884..2df51c1 100644
--- a/kms++/src/plane.cpp
+++ b/kms++/src/plane.cpp
@@ -51,7 +51,7 @@ bool Plane::supports_format(PixelFormat fmt) const
PlaneType Plane::plane_type() const
{
- if (card().has_has_universal_planes()) {
+ if (card().has_universal_planes()) {
switch (get_prop_value("type")) {
case DRM_PLANE_TYPE_OVERLAY:
return PlaneType::Overlay;