linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2 v2] drm/mcde: Rename flow function
@ 2020-07-29  9:09 Linus Walleij
  2020-07-29  9:09 ` [PATCH 2/2 v2] drm/mcde: Fix display data flow control Linus Walleij
  0 siblings, 1 reply; 3+ messages in thread
From: Linus Walleij @ 2020-07-29  9:09 UTC (permalink / raw)
  To: dri-devel, Maarten Lankhorst, Maxime Ripard, Sean Paul
  Cc: Linus Walleij, Stephan Gerhold, linux-arm-kernel

The function mcde_display_send_one_frame() has a historical
name that stems from being implemented when the driver
only supported single frame updates.

Rename it mcde_start_flow() so that it reflects the current
usage.

Reviewed-by: Stephan Gerhold <stephan@gerhold.net>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
---
ChangeLog v1->v2:
- Collect Stephan's review tag.
---
 drivers/gpu/drm/mcde/mcde_display.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/mcde/mcde_display.c b/drivers/gpu/drm/mcde/mcde_display.c
index 4d2290f88edb..363fa5ca4b45 100644
--- a/drivers/gpu/drm/mcde/mcde_display.c
+++ b/drivers/gpu/drm/mcde/mcde_display.c
@@ -968,7 +968,7 @@ static void mcde_display_disable(struct drm_simple_display_pipe *pipe)
 	dev_info(drm->dev, "MCDE display is disabled\n");
 }
 
-static void mcde_display_send_one_frame(struct mcde *mcde)
+static void mcde_start_flow(struct mcde *mcde)
 {
 	/* Request a TE ACK */
 	if (mcde->te_sync)
@@ -1066,7 +1066,7 @@ static void mcde_display_update(struct drm_simple_display_pipe *pipe,
 			 * is not active yet.
 			 */
 			if (mcde->flow_active == 0)
-				mcde_display_send_one_frame(mcde);
+				mcde_start_flow(mcde);
 		}
 		dev_info_once(mcde->dev, "sent first display update\n");
 	} else {
-- 
2.26.2


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-07-29 10:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-07-29  9:09 [PATCH 1/2 v2] drm/mcde: Rename flow function Linus Walleij
2020-07-29  9:09 ` [PATCH 2/2 v2] drm/mcde: Fix display data flow control Linus Walleij
2020-07-29 10:10   ` Stephan Gerhold

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).