From patchwork Fri Nov 13 13:49:30 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 324316 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:5ce:0:0:0:0 with SMTP id l14csp1214038ils; Fri, 13 Nov 2020 05:51:48 -0800 (PST) X-Google-Smtp-Source: ABdhPJx5UuZZkgL5dJ/cCAyHUQKh6SQPj6HIsMqi27psWJPWE3xsH82BLmWBPnfsLE5gGFaQVxD+ X-Received: by 2002:a05:6402:54d:: with SMTP id i13mr2631859edx.3.1605275508556; Fri, 13 Nov 2020 05:51:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605275508; cv=none; d=google.com; s=arc-20160816; b=Qwg+pAszDbws6H51HH75x3rIdfYqnWKHwXxleia993JRuBH2gK2P/eSkrQ1L9QjGSz HeAM52oV4bx5kgI5Dl2gD72iMvwOdqUWQ1VE647PJHXn+qivZOMKBRqf+NOYK/9d433x vdxKyLlevZDS4Xi2+VzEbm9iRA5DiE4bH4INYDrjPC7dmVdgZ5uIC6/Ko1L/pDQgYWAL vlnx2WzRQM82uzytwEkpJDuld0SrsN7uaYopxsZPScSk21vNqTgdKfvruhMGwMK6ITty fOX1lWvi4xSOovLCKTFRuJuKGWj0Xv2N03XMgi54/giji3Xi/tDqgZY84fkLFoZQ3N5Q nj4Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=d6lq2kh1bZp3yhcGfeiEHDwnp2cd/bsKGg4wlUbbQco=; b=sUTXsRBFrGGvOw3BYPmaXNjx02a2iRMJ4L5n4/Aa9uQEBwpPbnOF8yHWn35FS0+N4t uTV0ItOb8ylBz3lvvGVqXI/Ee5AdzzLmG4g53a48VqOHXO3/dYblDsAK6qVnzSyIiXgM WECHGsN7kTmKJfaAaexhqfvi8uoetH2D1xml0wSXlvhgbkfLeZpHYXzKswwQ6yCTlP4Y nE2HQ3RszFa4ctdS36gAZZl03qvWZYRP5Rw68HrI3qoUePSrPIscDpsFr1iw3Iod4dCr FOKfrUb3YT1yXhS7lBjtq5YTbltxKEi/Vy3aY7zN1dCjDoiHHxQ3+t3C8qiTZWlZzSHt AuZg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=liXP1wPm; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p19si6128992edu.169.2020.11.13.05.51.48; Fri, 13 Nov 2020 05:51:48 -0800 (PST) Received-SPF: pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=liXP1wPm; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727233AbgKMNvY (ORCPT + 15 others); Fri, 13 Nov 2020 08:51:24 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52574 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727104AbgKMNuY (ORCPT ); Fri, 13 Nov 2020 08:50:24 -0500 Received: from mail-wm1-x341.google.com (mail-wm1-x341.google.com [IPv6:2a00:1450:4864:20::341]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 32BFEC0617A6 for ; Fri, 13 Nov 2020 05:50:23 -0800 (PST) Received: by mail-wm1-x341.google.com with SMTP id a65so8578344wme.1 for ; Fri, 13 Nov 2020 05:50:23 -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=d6lq2kh1bZp3yhcGfeiEHDwnp2cd/bsKGg4wlUbbQco=; b=liXP1wPmh8wR4oCpiWLxjCT2ucLqXmhJW9hBhLmCuS2Dw+DxXfaS3Nhq+rOb69vSw+ wua+tblw52CIqa1EEgbkMfUTv51OsuRqFGxnMUXf/FVRJ69Fj1YlCvRUwqIrCAeY8SyV jGDkpGrlt2UsQKML1I6Ztdj0/Y9sZxdmmU4WiYIcOWDf6w8QYcKvAe3ryVMgC5LhnkXS iImRStUf1I50U6tw56MEwasDaAirLNzUTDRUImy927MNB6VA4og5IOp6C8B2QNO6W1df H5FEfc9/OqdcuKLM4Q6qAg4JRSq9mPJgH/Utrlt7d48G7wN+snqKZX1pVytc3fzlrp2a XFGQ== 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=d6lq2kh1bZp3yhcGfeiEHDwnp2cd/bsKGg4wlUbbQco=; b=ivSl491wzs3ew1l/Q5g+b+y+6na5F5BTT3wgN7ieQR+AYeR4Hoecrmp6+wnsn4B4ph VOZw+shA9A/VK7rPAR9mW95lr0PcM5Udz22+qT4DroUN+agrZyPhWlwG11myIibnnm2k TjiMlQ3cWE8GW0YreL19cFMtA7jXSz2HwFi8zfaA0+sQfqvThkXF/ViKkTkh1Nprul3w dGfdXdtfqOXlRBbLHUcpbxeE58riC/sXBlq/eV4rI+UmYuQ4KqPm1YOkyRPvYpfpHkaE mOL4EJF6IRVTf0RBfhPBkF6rP3d2Tpy/GO7EjV1ofllddpKi3yGsEXo1wLHNhLtD2sYN gmBA== X-Gm-Message-State: AOAM532BnSnG0TPgX5V1wHn4kfODebXgClZRLiP7tOf92P8234e4Dqnh zzrSXNA7G5cSztW17nT68J6Ugg== X-Received: by 2002:a1c:66c4:: with SMTP id a187mr2663287wmc.186.1605275421972; Fri, 13 Nov 2020 05:50:21 -0800 (PST) Received: from dell.default ([91.110.221.159]) by smtp.gmail.com with ESMTPSA id t11sm4561614wrm.8.2020.11.13.05.50.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Nov 2020 05:50:21 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Rob Clark , Sean Paul , David Airlie , Daniel Vetter , Thomas Zimmermann , linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org Subject: [PATCH 32/40] drm/msm/disp/mdp5/mdp5_crtc: Make local function 'mdp5_crtc_setup_pipeline()' static Date: Fri, 13 Nov 2020 13:49:30 +0000 Message-Id: <20201113134938.4004947-33-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 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c:581:5: warning: no previous prototype for ‘mdp5_crtc_setup_pipeline’ [-Wmissing-prototypes] Cc: Rob Clark Cc: Sean Paul Cc: David Airlie Cc: Daniel Vetter Cc: Thomas Zimmermann Cc: linux-arm-msm@vger.kernel.org Cc: dri-devel@lists.freedesktop.org Cc: freedreno@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) -- 2.25.1 diff --git a/drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c b/drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c index 79dd56faf3de0..0c8f9f88301fa 100644 --- a/drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c +++ b/drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c @@ -578,9 +578,9 @@ static void mdp5_crtc_atomic_enable(struct drm_crtc *crtc, mdp5_crtc->enabled = true; } -int mdp5_crtc_setup_pipeline(struct drm_crtc *crtc, - struct drm_crtc_state *new_crtc_state, - bool need_right_mixer) +static int mdp5_crtc_setup_pipeline(struct drm_crtc *crtc, + struct drm_crtc_state *new_crtc_state, + bool need_right_mixer) { struct mdp5_crtc_state *mdp5_cstate = to_mdp5_crtc_state(new_crtc_state);