summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/mcde
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2020-07-29 11:09:14 +0200
committerLinus Walleij <linus.walleij@linaro.org>2020-08-13 16:36:14 +0200
commitea66a9be7e93e5a87f1cdb37b4246882f7c73e45 (patch)
treea83b9bfc99feb96717e2fb9022ba6f5a91d60379 /drivers/gpu/drm/mcde
parentdrm/hisilicon: Fix build error of no type of module_init (diff)
downloadlinux-ea66a9be7e93e5a87f1cdb37b4246882f7c73e45.tar.xz
linux-ea66a9be7e93e5a87f1cdb37b4246882f7c73e45.zip
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: Linus Walleij <linus.walleij@linaro.org> Reviewed-by: Stephan Gerhold <stephan@gerhold.net> Link: https://patchwork.freedesktop.org/patch/msgid/20200729090915.252730-1-linus.walleij@linaro.org
Diffstat (limited to 'drivers/gpu/drm/mcde')
-rw-r--r--drivers/gpu/drm/mcde/mcde_display.c4
1 files 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 {