From patchwork Mon Nov 16 17:40:46 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 324493 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:5ce:0:0:0:0 with SMTP id l14csp3506380ils; Mon, 16 Nov 2020 09:41:56 -0800 (PST) X-Google-Smtp-Source: ABdhPJzNBIYUTqWzdasTfFGyWZvWyyofTLtiLAY+kg/b+u2uP6VI1JuYMtNh4ejit74DauQUA+N7 X-Received: by 2002:a62:be04:0:b029:15d:7423:e320 with SMTP id l4-20020a62be040000b029015d7423e320mr14641378pff.42.1605548516226; Mon, 16 Nov 2020 09:41:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605548516; cv=none; d=google.com; s=arc-20160816; b=VTaTj7l/Jga+ki6EBMEo8qAXDUuQ9KwwvVpfcOnFnxBbsk49Ah5fjsqigLz3K8kUDV oImgRjuOLM7ynlEeQIx7qDiHTrHgayHXXN61h3b0HcPwaARBXYfQvOZ4MU1JfdlGEAzs hI2ZoVjzLWYHmtmJb8PyHYMnH74tuW017+SPoGMC3z9Qak7BKJBENlmyO2IxzTjDQfil MsnqDT5j4KOgo/LaqKVMZDELhFlu+YYjroOdxHN9MjO9nSKlTZZeRRpSbw1qbhBcmX8t 2BGT0Kq+JBkrWWDE4NL63J44QQzAWzlJQ+sbPkm0ljF2lz2JX72zmmi1GJ8wKapiNMh1 ncVw== 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:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:delivered-to; bh=KJEO7q3yop4GvPCfhzwKE3MjPO4kgJLsdj8enYB60DU=; b=HtFSHia/eeJy9mOz2xEAfz/PK7hate4Fk9XqrIa7+Vl2oqtWzKrbOz3WRZXRecBrpW 6jjTi9UbASibBCsmfIur0D+zAfEhd2c83UkbbSK6mh0djUniYqMWpLUnimjaR35taqt6 tSbSjAvDT4l1Njy30SFjPfbMIp3KbyMdPRS9IdpMjzmuBs4cI7hTHDz9dclP4s6g5SR6 4mnBkI1Dctxg0V3qNmnkSO8XCuByYAySlw3N1VSHDac/p0o6Xx4HD0C1dQUG9hkza3Yt wPv5zFsO3fLxzdBRu2O7RC9K4XBxXYmKd1BzqqPy05bfXtHzcoLqsIkyKNkEdxM9kPlc NpsQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=Z4HwkZNc; 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 e4si15869489pln.141.2020.11.16.09.41.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Nov 2020 09:41:56 -0800 (PST) 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=Z4HwkZNc; 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 593726E9F8; Mon, 16 Nov 2020 17:41:51 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x444.google.com (mail-wr1-x444.google.com [IPv6:2a00:1450:4864:20::444]) by gabe.freedesktop.org (Postfix) with ESMTPS id 5684E89FED for ; Mon, 16 Nov 2020 17:41:43 +0000 (UTC) Received: by mail-wr1-x444.google.com with SMTP id k2so19702693wrx.2 for ; Mon, 16 Nov 2020 09:41:43 -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=3yKXccTq4RQml8AaT9zp7DsIehEAA7Cw2xDOtV48iYo=; b=Z4HwkZNcwa5jwVBqtO868Oti/4mRDTj3PsEnbA681wpGYPCwsRjObQJnxRfXliZQaY vc7oFU5DAWujWdiXZ0C6rumJoAbS3YkpNzFM1QXAfG42OAZqPv85T0Plwmja14RlZ3al xD0uxE2BO4c4ocCIddXqvFeUFEcqfAkMSoSUf9IqsUs3p/ajB0iKERvvf49d380U2qHa tFdccMpqSYgrd8IKH4FrZ/Jd/wAXTwCB9inNdXVt0wCoLJ3/PhKfnuaVsvmjieBGmzPI TQbg8r+l+jHh1OuelXM+aj9qw11AKj3oFJjDyxwz3Jr0DsJNbd5w3Ru0OHUWBQ/dMGtF rcOw== 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=3yKXccTq4RQml8AaT9zp7DsIehEAA7Cw2xDOtV48iYo=; b=A4hKtwt39HgwnjwbsNN5bjENmK2MbAETy25jwjwBY5Wxb3gmzl+xMqNPZyxE4Rfphu 66SzFuHmKk2olAEzR0qYS5/02ojszrAZPxrHGMb2Ye7qCo4NP11wioEvBXYJlxzDIbNN +uekluJJz8lXPua5TQV1Q3B9FtsfghNju1rh29tjCREynU/JBL0tOUvPuO4kRSLXRyb/ ualw9jgcKYVj0m1cMoaS8rofbkt4bS8n9RA4JHX4wxo+74OZKoSmn26sOrfK+dyyOQhQ qV0VrKKkJjkqZIy/KQ41z4EcUa/6/hoMOb2JAvgD0qdSKtmes9eEOyizh3C4CTjfPGx4 k6xg== X-Gm-Message-State: AOAM530VGxGo69XlofRx/R/jqXvFXDuP6WjYcxHeBYzm5dFouIySMDXt 8pr4xr/qTmXlEPZD9EvpAGTFxg== X-Received: by 2002:adf:a3d1:: with SMTP id m17mr19678094wrb.289.1605548502077; Mon, 16 Nov 2020 09:41:42 -0800 (PST) Received: from dell.default ([91.110.221.159]) by smtp.gmail.com with ESMTPSA id n10sm24667224wrx.9.2020.11.16.09.41.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Nov 2020 09:41:41 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 16/42] drm/msm/disp/mdp5/mdp5_crtc: Make local function 'mdp5_crtc_setup_pipeline()' static Date: Mon, 16 Nov 2020 17:40:46 +0000 Message-Id: <20201116174112.1833368-17-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201116174112.1833368-1-lee.jones@linaro.org> References: <20201116174112.1833368-1-lee.jones@linaro.org> 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: freedreno@lists.freedesktop.org, David Airlie , linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Abhinav Kumar , Thomas Zimmermann , Sean Paul Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" 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 Reviewed-by: Abhinav Kumar --- drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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);