Commit ea66a9be authored by Linus Walleij's avatar Linus Walleij

drm/mcde: Rename flow function

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.
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
Reviewed-by: default avatarStephan Gerhold <stephan@gerhold.net>
Link: https://patchwork.freedesktop.org/patch/msgid/20200729090915.252730-1-linus.walleij@linaro.org
parent 70c7fe17
...@@ -968,7 +968,7 @@ static void mcde_display_disable(struct drm_simple_display_pipe *pipe) ...@@ -968,7 +968,7 @@ static void mcde_display_disable(struct drm_simple_display_pipe *pipe)
dev_info(drm->dev, "MCDE display is disabled\n"); 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 */ /* Request a TE ACK */
if (mcde->te_sync) if (mcde->te_sync)
...@@ -1066,7 +1066,7 @@ static void mcde_display_update(struct drm_simple_display_pipe *pipe, ...@@ -1066,7 +1066,7 @@ static void mcde_display_update(struct drm_simple_display_pipe *pipe,
* is not active yet. * is not active yet.
*/ */
if (mcde->flow_active == 0) 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"); dev_info_once(mcde->dev, "sent first display update\n");
} else { } else {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment