All of lore.kernel.org
 help / color / mirror / Atom feed
From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
To: Tomi Valkeinen <tomi.valkeinen@ti.com>
Cc: linux-renesas-soc@vger.kernel.org
Subject: [PATCH 2/8] card: Rename has_has_universal_planes to has_universal_planes
Date: Thu,  6 Aug 2020 05:18:00 +0300	[thread overview]
Message-ID: <20200806021807.21863-3-laurent.pinchart@ideasonboard.com> (raw)
In-Reply-To: <20200806021807.21863-1-laurent.pinchart@ideasonboard.com>

The has_has_universal_planes() method name includes a typo, fix it.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
---
 kms++/inc/kms++/card.h | 2 +-
 kms++/src/plane.cpp    | 2 +-
 utils/kmsprint.cpp     | 4 ++--
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/kms++/inc/kms++/card.h b/kms++/inc/kms++/card.h
index 0a11747f7985..e9f90e3a1f96 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 b04088492c92..2df51c1ccdf8 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;
diff --git a/utils/kmsprint.cpp b/utils/kmsprint.cpp
index 807aa62825ac..9d3d7ccfd9d4 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);
 
-- 
Regards,

Laurent Pinchart


  parent reply	other threads:[~2020-08-06  2:18 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-06  2:17 [PATCH 0/8] kmsxx: Various fixes and improvements Laurent Pinchart
2020-08-06  2:17 ` [PATCH 1/8] card: Add a method to retrieve the device minor Laurent Pinchart
2020-08-06  7:46   ` Tomi Valkeinen
2020-08-10  5:54     ` Laurent Pinchart
2020-08-10  6:48       ` Tomi Valkeinen
2020-08-06  9:55   ` Sergei Shtylyov
2020-08-06  2:18 ` Laurent Pinchart [this message]
2020-08-06  2:18 ` [PATCH 3/8] dumbfb: Add support tri- or quadri-planar buffers Laurent Pinchart
2020-08-06  2:18 ` [PATCH 4/8] dumbfb: Fix pitch for tri-planar formats Laurent Pinchart
2020-08-06  9:21   ` Tomi Valkeinen
2020-08-08 22:14     ` Laurent Pinchart
2020-08-10  6:16       ` Tomi Valkeinen
2020-08-10  6:28         ` Tomi Valkeinen
2020-08-06  2:18 ` [PATCH 5/8] pykmsbase: Add missing pixel formats Laurent Pinchart
2020-08-06  2:18 ` [PATCH 6/8] kms++: Add support for semiplanar YUV422 formats (NV16 and NV61) Laurent Pinchart
2020-08-06  2:18 ` [PATCH 7/8] kms++: Add support for the planar YUV formats Laurent Pinchart
2020-08-06  2:18 ` [PATCH 8/8] kms++: Add support for missing 8 -and 16-bit RGB formats Laurent Pinchart
2020-08-06  9:33 ` [PATCH 0/8] kmsxx: Various fixes and improvements Tomi Valkeinen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200806021807.21863-3-laurent.pinchart@ideasonboard.com \
    --to=laurent.pinchart@ideasonboard.com \
    --cc=linux-renesas-soc@vger.kernel.org \
    --cc=tomi.valkeinen@ti.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.