From patchwork Fri Nov 13 13:49:12 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 11903513 X-Patchwork-Delegate: neil.armstrong@linaro.org Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id D2FF41391 for ; Fri, 13 Nov 2020 13:52:26 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id A199F20639 for ; Fri, 13 Nov 2020 13:52:26 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="kIIZrX/J"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="Cy0FIFBO" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A199F20639 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=k9rqj37WR9Jay+krOW3Xn48BhXU7czfYcPUu4c4UkfY=; b=kIIZrX/JBjuFi37qacDE3KEig e/mtHiZbumX20hpa7U5Gf/t3mRiYQRWZiafpTS9Lg4XAzbZfznzWiS9R2UmXBv4FY/zq+o191uSPb b2f1+86XrhGi0BRMIn3yUD5d4q8IVEDugs2/JzOLORLWD0oqTr5AmFfNMWMGaP+KwNQ7TnPXGzdBo 5ftXdwxiWQodNjV5RXeveeL4H5bHbIchEmo7dJmon9ZOkI/EX5uQAf8UHu1uaIdX2bVPH+93CG/kc W5GKGFqg85eUu7+kMgKgSzS5/iUUNKw0YUIkga/kkBaZf3WATxO9je7q05KEz/5uKZ0Tcu/rsfAjt 3KBRpgmkA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kdZUi-0008Cq-QT; Fri, 13 Nov 2020 13:52:04 +0000 Received: from mail-wr1-x444.google.com ([2a00:1450:4864:20::444]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kdZSi-00078U-8M for linux-amlogic@lists.infradead.org; Fri, 13 Nov 2020 13:50:12 +0000 Received: by mail-wr1-x444.google.com with SMTP id d12so9947536wrr.13 for ; Fri, 13 Nov 2020 05:50:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=yt85C2+NzGAlI5emEV4T+vNOl5giBIbnEfifffD7CnE=; b=Cy0FIFBOqKt9Owiq+Dqg7+C23huzVDETryFyww7hngaX44EDG2i3SfAegg/ufoaL2u uzX5zuxtv9ViDaCFPsw8oXmaaEtTFHVWqtn6aZ7Bvype0KXwKlw2IXtMoy4hRUdSmi0C XlbjQlhdV0BLzWGUf1FDhesPOdHZTy0bXVpBs8gWwToqFsTfXI1NibEEdysQ8CdwzdaH Rb+7WADVUWE0eDtwkGg3n46j/NSuLXVSqWKAMRLw/kmi/Q/MDBAg5abRJbcVE+XvI1TD uoRTVC/CIqtQpSsEKCrHaagzSqer6TxrW5YMW2V4zVC1UhYE2rLoBCyGTamzEAqx53j6 Y7XQ== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=yt85C2+NzGAlI5emEV4T+vNOl5giBIbnEfifffD7CnE=; b=YodwX62+tPW+1zoDW0jY6Q+epYwAIoGgAGXDgwkf4HMfM7TfxEAR6T3FEZm91pXyVu VVMv/jkE+P0jT6mtcn+ywVcuzveXqo1tyrCuHDYtv5z0CmLyDYraDlVHPi6KGGkQB1dx 0N6uC+snsB0jIPlyBNt0+l0edLS90yLk6oCvcd0Ls4rACFO/Z4IC4CSyfSVuwbgSBo6r QdYnvS6zeDCci5rvLKw12Sex/hVJrwArGXL4GPUrlqZhLmakeHZHqBXLvWJFYqambzfl /MSlNd2aCMoMP0na92j3E6DArSRPPNTOYPO17Dfv3boHjnGyC5IyoxCJVunuc4lyJoX4 f/UQ== X-Gm-Message-State: AOAM530hpe0ow05WcmJYwmTCP1WJsQ6FvNhP/NvEgSjF88/YA7/H7N6Z jtyRTI0daKODTPRWVzca2txi5Q== X-Google-Smtp-Source: ABdhPJyB1aM/U0SYQBQS2sQ434uZIWEyyXQHKmq7NJg+pZgX9+e1LYtp8/RyoqCFrQV32ZTz5voxrw== X-Received: by 2002:adf:ebcb:: with SMTP id v11mr3575994wrn.408.1605275399152; Fri, 13 Nov 2020 05:49:59 -0800 (PST) Received: from dell.default ([91.110.221.159]) by smtp.gmail.com with ESMTPSA id t11sm4561614wrm.8.2020.11.13.05.49.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Nov 2020 05:49:58 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 14/40] drm/meson/meson_venc: Make local function 'meson_venc_hdmi_get_dmt_vmode' static Date: Fri, 13 Nov 2020 13:49:12 +0000 Message-Id: <20201113134938.4004947-15-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201113134938.4004947-1-lee.jones@linaro.org> References: <20201113134938.4004947-1-lee.jones@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201113_085001_264659_E30FE6BF X-CRM114-Status: GOOD ( 12.29 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:444 listed in] [list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Neil Armstrong , David Airlie , Kevin Hilman , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Martin Blumenstingl , Daniel Vetter , linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org, Jerome Brunet Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/meson/meson_venc.c:893:6: warning: no previous prototype for ‘meson_venc_hdmi_get_dmt_vmode’ [-Wmissing-prototypes] Cc: Neil Armstrong Cc: David Airlie Cc: Daniel Vetter Cc: Kevin Hilman Cc: Jerome Brunet Cc: Martin Blumenstingl Cc: dri-devel@lists.freedesktop.org Cc: linux-amlogic@lists.infradead.org Cc: linux-arm-kernel@lists.infradead.org Signed-off-by: Lee Jones Reviewed-by: Neil Armstrong --- drivers/gpu/drm/meson/meson_venc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/meson/meson_venc.c b/drivers/gpu/drm/meson/meson_venc.c index f93c725b6f02d..5e2236ec189fa 100644 --- a/drivers/gpu/drm/meson/meson_venc.c +++ b/drivers/gpu/drm/meson/meson_venc.c @@ -890,8 +890,8 @@ bool meson_venc_hdmi_supported_vic(int vic) } EXPORT_SYMBOL_GPL(meson_venc_hdmi_supported_vic); -void meson_venc_hdmi_get_dmt_vmode(const struct drm_display_mode *mode, - union meson_hdmi_venc_mode *dmt_mode) +static void meson_venc_hdmi_get_dmt_vmode(const struct drm_display_mode *mode, + union meson_hdmi_venc_mode *dmt_mode) { memset(dmt_mode, 0, sizeof(*dmt_mode)); From patchwork Fri Nov 13 13:49:15 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 11903523 X-Patchwork-Delegate: neil.armstrong@linaro.org Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id BB1581391 for ; Fri, 13 Nov 2020 13:52:43 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 8C44720639 for ; Fri, 13 Nov 2020 13:52:43 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="wfxgVYq7"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="atNqYZ8k" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8C44720639 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=FWEqCSSCalALD/6Z8/9fv9WwpglW1RN2XcfSKj5noDA=; b=wfxgVYq7I6GV9EIEcbBBUw17I jBZe8YiVs6ay/TuV55KskayVgLjZZ2dMX65IgvRAJdaKtpk87vwa/70/Msm5Y0dDOzYvLx7KOFBOl mkS4FuG4KDiCO+TPVulEJ2YAjplyb1bvk1xN3Av8iuwzL87n5cnLV9SwNGwORzBtKCR631opn15uA ptGJf5pburGzX3uJ9v0N/R+UbllIo5HNsqYJtFnp+Cj0lMi2Kb5OMylqgBxwNyz4S3jw3mRlTJLWA fJet5FICXvw3QTb9OzoNW1LaaRTMTXo7j/ZZSMIwNqKc90di/UQC6naoMyqouBzozdfvLj2KnnvRv hXEpmM6kw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kdZV6-0008RO-7Z; Fri, 13 Nov 2020 13:52:28 +0000 Received: from mail-wr1-x442.google.com ([2a00:1450:4864:20::442]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kdZSn-0007AT-3d for linux-amlogic@lists.infradead.org; Fri, 13 Nov 2020 13:50:17 +0000 Received: by mail-wr1-x442.google.com with SMTP id k2so10024014wrx.2 for ; Fri, 13 Nov 2020 05:50:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=FPP0KPBE9bJ91PMqYQecftz5TXmHEXYH6/4+Sl+qsTE=; b=atNqYZ8kRbRqU8GNbprKEAbi23pRTlYb5L0MmlYxC7m6PmpZNGQuhqP6ASY22r5shn j1W43Id8OBhgGoyS3zM/JamzfB6UNXGFblqrp5WI1jIz1bxgmVD6gTxPvE+CWSipHFfK 6n5Rryizvvc9J6mIbOwX2TP6WkS9/ZKzFI+xgT5oMcJ2rpcOtdgCpf7WOcrRH78gg+vn ywhJNI9DQHewqFej2ROXNGRf0ixudva9FfMawIBD5Z8MJcrzAIPrTLPNKGoydcPVKRLU 1JJPW4cqi4cGWAkpwJmhjSGNo2ofbJA1/N6sih1n/2VAD+c9DbDFpseCcXv1ncnGQMxr QadA== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=FPP0KPBE9bJ91PMqYQecftz5TXmHEXYH6/4+Sl+qsTE=; b=cHyPDQ8q0S1RIdewCESP4lcnLpTpSxfa5600OAZHvdXUM+A73BcgYwr8iBZUO0JvBN MWEHrBkir3lw5QYi+XD+HQcIYBKRpsudLCcsZ0OcgeAchxfI2Cb3xXUgcfCAIoNZehnz Et5iMR194id9AyNSLSMlQbh0RmyevZ9UKLwpKIpUSMczv8dEvy1C+Z0v34nrh+kvzyTG eGRByNl2lqtZsLtIoAYPDf+pku426fcncdxTsSnUUWQXjUWf+coQqQlznWT5invfgjvI AjXCniMPxmCk95k+kRkf4gMMKhOBidGBlURaSwJrbmdQWY7oQMOdmMs5nV5wDhH13MpZ Hppg== X-Gm-Message-State: AOAM532sCeLa2ixi7vJhYD7orEYsGkOaK0U1GFwFpZsr71bgCfFsrZbJ brIMf2XG3lD8A8NsuCr8aKGoxg== X-Google-Smtp-Source: ABdhPJwH0G0Dh1nWggTcRBgogx0/P/R+hHDVfYcBOXgPs1OuarDaHOCCcZpMJv2RIDqqw50TszH2jw== X-Received: by 2002:a5d:44cf:: with SMTP id z15mr3550191wrr.353.1605275402684; Fri, 13 Nov 2020 05:50:02 -0800 (PST) Received: from dell.default ([91.110.221.159]) by smtp.gmail.com with ESMTPSA id t11sm4561614wrm.8.2020.11.13.05.50.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Nov 2020 05:50:02 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 17/40] drm/meson/meson_vclk: Make two local functions static Date: Fri, 13 Nov 2020 13:49:15 +0000 Message-Id: <20201113134938.4004947-18-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201113134938.4004947-1-lee.jones@linaro.org> References: <20201113134938.4004947-1-lee.jones@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201113_085005_294916_FAC51E4E X-CRM114-Status: GOOD ( 12.13 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:442 listed in] [list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Neil Armstrong , David Airlie , Kevin Hilman , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Martin Blumenstingl , Daniel Vetter , linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org, Jerome Brunet Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/meson/meson_vclk.c:134:6: warning: no previous prototype for ‘meson_vid_pll_set’ [-Wmissing-prototypes] drivers/gpu/drm/meson/meson_vclk.c:490:6: warning: no previous prototype for ‘meson_hdmi_pll_set_params’ [-Wmissing-prototypes] Cc: Neil Armstrong Cc: David Airlie Cc: Daniel Vetter Cc: Kevin Hilman Cc: Jerome Brunet Cc: Martin Blumenstingl Cc: dri-devel@lists.freedesktop.org Cc: linux-amlogic@lists.infradead.org Cc: linux-arm-kernel@lists.infradead.org Signed-off-by: Lee Jones Reviewed-by: Neil Armstrong --- drivers/gpu/drm/meson/meson_vclk.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/meson/meson_vclk.c b/drivers/gpu/drm/meson/meson_vclk.c index 0eb86943a3588..2a82119eb58ed 100644 --- a/drivers/gpu/drm/meson/meson_vclk.c +++ b/drivers/gpu/drm/meson/meson_vclk.c @@ -131,7 +131,7 @@ enum { VID_PLL_DIV_15, }; -void meson_vid_pll_set(struct meson_drm *priv, unsigned int div) +static void meson_vid_pll_set(struct meson_drm *priv, unsigned int div) { unsigned int shift_val = 0; unsigned int shift_sel = 0; @@ -487,9 +487,9 @@ static inline unsigned int pll_od_to_reg(unsigned int od) return 0; } -void meson_hdmi_pll_set_params(struct meson_drm *priv, unsigned int m, - unsigned int frac, unsigned int od1, - unsigned int od2, unsigned int od3) +static void meson_hdmi_pll_set_params(struct meson_drm *priv, unsigned int m, + unsigned int frac, unsigned int od1, + unsigned int od2, unsigned int od3) { unsigned int val;