From patchwork Wed Jul 29 09:09:14 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 247238 Delivered-To: patch@linaro.org Received: by 2002:a92:d244:0:0:0:0:0 with SMTP id v4csp1287218ilg; Wed, 29 Jul 2020 02:09:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyyHmwyAUQ3pm36A8GB63YAc5zaVKJiMPO/gaF3/wNkWwyg3GE5E4PfCy6YhdkvV1qTTGYh X-Received: by 2002:a17:902:7484:: with SMTP id h4mr12466372pll.139.1596013769064; Wed, 29 Jul 2020 02:09:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596013769; cv=none; d=google.com; s=arc-20160816; b=JjYJTWPyo2gW1S/OQYSC9DmacbpiHMvu1U5kcNhZOe3ijyBm89lvQypI4J8HeAy1Jz 1aO/5nhTMo6KsKg2IvIi55a9k02GxaiDL7oG3LOFQQ+DLgqnHiXkXetrzoLgf1Gny+AQ xovrdlw8n+q5M6EfwuSdvjWfWiqTmG+cdsACT+fMhDiEq4aAPf8usKWnqp6YShQLwAIs ryzoxoFtV0vnISLNKl0KHf5JBBoe5dINIa/obAS9o0wT1L6+tfHqeHi60lRTv5ENv3zb 1Z9VrlRB8t0C60F/MnszrfLSEFq1jOPs7OeJjcoe/2ltchv2h9CKANLsp8R3WMVuFjIc lvKA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:message-id:date:subject:to:from :dkim-signature:delivered-to; bh=rLW4/FQeawvVe6wxkUromeeAml2kjpYEIK/9BKlnYAE=; b=dkkbntdaFOlAa5Er/ReUQv1Z1zrdC4vIBvPLJqgV9Y5wCdnBMcwXR6IjHvXIZpHi// Ue+F7ptTesXv/MzUt666q3eP4zy6hBw0wujEZP6ct9kjfW9HjdD0AC2kiVHKrhW4Yh2h gVDgxWXARIV5PMHLoc9S7f5I8S7qej/MRAyjB/TywCVAGrcc6j207Z3PAiO2WASX6+iJ rFh0vmoKz2Q0+3mPVaAkU2bF8NqYLJdHSf1CvXDEbY9LpvaRpDWrR8Cz53wSuTkEpZcE 5kkZ8dfcmiwNJVForufizghTQ7i/Qxckk7UxfrrzvY/hfDXRESrj6w0wuxefw+0V42uD Q/eQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=txK7UeP2; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTPS id u3si1223488pjf.139.2020.07.29.02.09.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Jul 2020 02:09:29 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) client-ip=131.252.210.177; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=txK7UeP2; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 703596E49C; Wed, 29 Jul 2020 09:09:26 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-lf1-x143.google.com (mail-lf1-x143.google.com [IPv6:2a00:1450:4864:20::143]) by gabe.freedesktop.org (Postfix) with ESMTPS id 89C856E49C for ; Wed, 29 Jul 2020 09:09:25 +0000 (UTC) Received: by mail-lf1-x143.google.com with SMTP id d2so6973683lfj.1 for ; Wed, 29 Jul 2020 02:09:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=7zup99TLcIgRJ9NV90EZiYa28tA8CgJqDxfrvBGx6Lw=; b=txK7UeP2lKnEmnN/Hbi1qPR3NA8UNah4slyPsCvAhtDIJP29fbig3z9uBLwBsyaLh2 lW0ntDUV/QneT4Md+3SxsTwJm9fFRKI3e3zAT/pZJLljQtVzD6+5yCfqKzeMQYI7aXL4 7Nu2WRkp51bnrXMJRjrOTlscT0cFIZ98ggvPPRp1J9KNfdcOHA/s32ZTVvqshNCn5LKw l9w4ORS43cSPO0aIuoS4jdJY7HUG1O7WZWOSKOIRoQP3Bu4Lp1iK8Nnq2YV1lMnGwhd1 9988Ck/jtwsOuLCjJlaJzkwNOnoOxrTxd3ENL2XeT+a3UOEm/quM5KJo4HMFxpg5SXNw XHzg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=7zup99TLcIgRJ9NV90EZiYa28tA8CgJqDxfrvBGx6Lw=; b=sLPGKqv/6ogcelKoXsos+oBWibDHqyNuhLLdReRtBoaPOD0c5nsk9p17pn7+70o7p2 ZgdArM9ll44k4YMSKgw1WlCfQ6xor6IMrw070Y8a0kDI1SoBCOjwBm3otRdOj4ZkNFk6 bVXvUXIkWr6aqew8uYpFlDlvwEP8BGx44q767gbpCGrlcNExReoxPhKX4qiHTNgYC73T O8ROp0uBkYtqqkyB4i3MD8rHbfVBVPfSJtpJ/1JdI9kzCRhxAjdrmW34BY7dPiP+q9RJ M/mSkA7k8UN+alwHhc1VIRcR4lexLXDUDhw/7Nwn8tNe2D7mWck9+SVxX8D5Jfnz0S1M BC7Q== X-Gm-Message-State: AOAM531oGnKAdK3Yq1I08jU2CjGwDCE8H9frFrCEvOa4UPWkJNAmoKeD kI+9ZIzBxbefw8R8b2KW5mKmUtB/FkkKFQ== X-Received: by 2002:a19:f105:: with SMTP id p5mr1826764lfh.118.1596013759846; Wed, 29 Jul 2020 02:09:19 -0700 (PDT) Received: from localhost.bredbandsbolaget (c-92d7225c.014-348-6c756e10.bbcust.telenor.se. [92.34.215.146]) by smtp.gmail.com with ESMTPSA id x205sm313589lfa.96.2020.07.29.02.09.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Jul 2020 02:09:19 -0700 (PDT) From: Linus Walleij To: dri-devel@lists.freedesktop.org, Maarten Lankhorst , Maxime Ripard , Sean Paul Subject: [PATCH 1/2 v2] drm/mcde: Rename flow function Date: Wed, 29 Jul 2020 11:09:14 +0200 Message-Id: <20200729090915.252730-1-linus.walleij@linaro.org> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Stephan Gerhold , linux-arm-kernel@lists.infradead.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" 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 Signed-off-by: Linus Walleij --- ChangeLog v1->v2: - Collect Stephan's review tag. --- drivers/gpu/drm/mcde/mcde_display.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.26.2 _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel 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 {