From patchwork Tue Jul 28 21:43:18 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 247230 Delivered-To: patch@linaro.org Received: by 2002:a92:d244:0:0:0:0:0 with SMTP id v4csp896652ilg; Tue, 28 Jul 2020 14:43:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJznoyNZe3AdvZBoCyR/7lJ69knitKFdFIMIDx5zYDnFaA04q3IDZ5qoJyBNPD+UccX/8AVm X-Received: by 2002:a17:90a:62c1:: with SMTP id k1mr6026226pjs.168.1595972614145; Tue, 28 Jul 2020 14:43:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595972614; cv=none; d=google.com; s=arc-20160816; b=I0i9Lgr6sqzn/tLOHYREG8AWIrKiAHc3pLp/5znHlQOyRTysRtvH/El4wN4X6Hi9/F cFRW6euLTc4/4iCQBg7zgpWX5eU9UWB4dC+prey1Nct8bA3Ix15lKk/STHEMLmOXJaEg QBOI2iDSRWX+QHN3aCKjVcD4hWfJnjpd/Wt7enVTf2pMZDPRWAQggXlCg3/fLdl4s5Vp sfmsQiUK0Q8UaVG+jxJhswj520EkZvVz7iDDOZ7XBeR7hf8OY4ltsLu89iRvgWkbgKTX VZoWzYZrdZr5tGo2fmsU/hYXYlOcK5/yoak0JYqD8JMxJPRSOeFA7c1xT/y2bllGwoeJ zfLQ== 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=LScyWuTiJqwcNHPPVmUuTZcmIqa2O5rxB6g00umnyiM=; b=KK6mXt3YHOjKrAEecSYfdtyU8rvFZjU2BqMD5TVzFuygzs+kXpJAVujxBXZr+huLo8 mzMYaYOcdxo8hbJ7cezDrzEt5IX7M6TVrAWRsxodhzqHuj9jM1qQXfROfmuviAoPkZTa KVmO7ZsrkH6kqU0fVF1zlfRXSIzyuRmOBB2Dy1AZt0LMd+cN06eY4/2hF+q7YM4aMdkl Ah+Mt8kYtDkvv2mQRyrFUC7W0XZcJmGXgmVyQaRffNTxUsNClXQqGa0CpNL96ovRTXBX CtBKgGCSpadJJN+13NmwoO892Z4QDAecc9Wff2MUNMiKYh/7gT77aTRiKMLTMW/+QNqJ gZRw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=jmAS+Qfp; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 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. [2610:10:20:722:a800:ff:fe36:1795]) by mx.google.com with ESMTPS id q4si96030pgt.284.2020.07.28.14.43.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Jul 2020 14:43:34 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) client-ip=2610:10:20:722:a800:ff:fe36:1795; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=jmAS+Qfp; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 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 4E37589A98; Tue, 28 Jul 2020 21:43:31 +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 F296E89A98 for ; Tue, 28 Jul 2020 21:43:29 +0000 (UTC) Received: by mail-lf1-x143.google.com with SMTP id c3so4666080lfb.3 for ; Tue, 28 Jul 2020 14:43:29 -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=qtrD1m0VGdTp9PTK8GspKpjBRQxcqfdlirbPrN7AYX8=; b=jmAS+QfpV97wT/ivSKE6pAusLF6nGcvYM90ZcpcDoRQOQZIjZEHcc9629T8DKAW1cE FR4LU0QjDjQRXtlqmM+KAaTfMRyxCvk/LkP2UNLqbN79G4PaIpMJImH7A1clMLXLm091 NLF4/qtOmzA2zFKpIkpFo15sSKywF9AHJx2qnvuV+FkdVZoL877q2JAAPYFyGHKLqRAB fCpCTogus4BPmG4FiTyXovuCC8JW+EovL5MgxzerbX6dESQMioSTJU1QOdK+2LN55YKc 01gAT9TPD8NBm9M1yLQNyU5K/9+ArOxhkZI7X+Z6uXD0D1j+6OQ2uzG7XTzZFBWBlMPi EMMg== 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=qtrD1m0VGdTp9PTK8GspKpjBRQxcqfdlirbPrN7AYX8=; b=HS7Z0AcMNN0Na1QlqNpXxeBSAqurncPaf+iLE/K6KAFccuWDHTGtKFmm/x8WXLt+Br RfWNYqwh4FHY6X56BJuO9Y4K/CSD8M+JTSvL6It4NgeW88P4VL7V0l1BipGPVMF+tXPz aglgzpFy35Qm2sTKBEYzcloWUzxPRQks314mqnl8cRCnSIIst2ui+rYpfu2PaJ4rMxUd yzkGeqbkimq/adxNd7cmjV5GoDpAubBhjvw0dsBGXZgQw0bprqfl/WzajUuhCYWNMRqx t3nGvLGoZfLVxJ49nMGfSYCn1Wc4/oUs6Yb8mnsT4tqPC6H+VN5J4umbzjNSEY+bAISh hOIw== X-Gm-Message-State: AOAM533FD19Sq5GD7c20PeUusixIWqkbdg8jbRXeuWmad+/hm9a+AkXt ESfqWpDIWJPZJ6ckocVoF8/E/2UnMwys+g== X-Received: by 2002:a19:e11:: with SMTP id 17mr15439267lfo.34.1595972608083; Tue, 28 Jul 2020 14:43:28 -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 y1sm4664921lfb.45.2020.07.28.14.43.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Jul 2020 14:43:27 -0700 (PDT) From: Linus Walleij To: dri-devel@lists.freedesktop.org, Maarten Lankhorst , Maxime Ripard , Sean Paul Subject: [PATCH 1/2] drm/mcde: Rename flow function Date: Tue, 28 Jul 2020 23:43:18 +0200 Message-Id: <20200728214319.143213-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. Cc: Stephan Gerhold Signed-off-by: Linus Walleij --- 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 Reviewed-by: Stephan Gerhold diff --git a/drivers/gpu/drm/mcde/mcde_display.c b/drivers/gpu/drm/mcde/mcde_display.c index 1d8ea8830a17..a99cc3fd5ef4 100644 --- a/drivers/gpu/drm/mcde/mcde_display.c +++ b/drivers/gpu/drm/mcde/mcde_display.c @@ -994,7 +994,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) @@ -1092,7 +1092,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 {