summaryrefslogtreecommitdiff
path: root/utils
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 /utils
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 'utils')
-rw-r--r--utils/kmsprint.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/kmsprint.cpp b/utils/kmsprint.cpp
index 807aa62..9d3d7cc 100644
--- a/utils/kmsprint.cpp
+++ b/utils/kmsprint.cpp
@@ -372,7 +372,7 @@ static void print_as_list(Card& card)
for (Crtc* crtc : card.get_crtcs()) {
obs.push_back(crtc);
- if (crtc->buffer_id() && !card.has_has_universal_planes()) {
+ if (crtc->buffer_id() && !card.has_universal_planes()) {
Framebuffer* fb = new Framebuffer(card, crtc->buffer_id());
fbs.push_back(fb);
}
@@ -423,7 +423,7 @@ static void print_as_tree(Card& card)
if (s_opts.print_props)
e3.lines = format_props(crtc);
- if (crtc->buffer_id() && !card.has_has_universal_planes()) {
+ if (crtc->buffer_id() && !card.has_universal_planes()) {
Framebuffer fb(card, crtc->buffer_id());
Entry& e5 = add_entry(e3.children);