From patchwork Fri Nov 13 13:49:04 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 324288 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:5ce:0:0:0:0 with SMTP id l14csp1212653ils; Fri, 13 Nov 2020 05:49:59 -0800 (PST) X-Google-Smtp-Source: ABdhPJwUCwOK0sbQdvOBoxE+jhxwECYQ1IpXYq65JL0R22+USnwg4WpCDnqM2OOLhSg9QfBdemmr X-Received: by 2002:a63:3041:: with SMTP id w62mr2212776pgw.166.1605275399267; Fri, 13 Nov 2020 05:49:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605275399; cv=none; d=google.com; s=arc-20160816; b=lyRRyur12jHq+YZDSc7zA1V93528j8RNfF3ab6PQOMh8Ua6eaLAiKrdqimxtf+FbI+ K4V1MMZoB/CM9Fcj8kOALqlbwDiS9MKn4dsREv/JGh/+aSqTu6DycGIae2OhkhXmH9Af yo8Dzw/DjWVDOrSlJq6zwqjzfrcIZChdxWNMG4KHcNZMpN3WxK+SOfzMkzWsmil0eONm s2vuKvD8o9lPLRo0nWwlHzyL//Jf8Hk/5RUqnAg+rqR/zBznEHHaX5DRJqJEZuXI2jpY Sr7gCCA4weaTuHUL9bCKyzFdZ73tWNwD3vL+njMXskoHlpXpE/LrSLmAtv3HdfHKcd0W Tnzg== 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=i/rh9qU1cTBYY5gc5xRroPwPTpXizcGkFOIL3Lra740=; b=s2KjuPOMdpYMu+BuVzu6WWFNx9RyebqSPi7WYfMIexP36mcWVAT2Oo32WuPidIB2wd u2QBrtCv/hnZpqx0UzJfBJMgpkqbYEhddzWYvlEJCMHEUoXuq0CECpqqLR4C4mr2WGAO T4I6XptE3SZsax55E43LtO4mX0sYFlOuURwWSjcejR13Ql5jbUr4MruSp36TjdkjCBrf 9Ep1XUy8cD9inw8MrXFQXI4AbIOWUDpCl0MULv+IcrB6pv5saFQcEw+Ak/rxoe9kIIDN p4e3VOrdG3syyHek8rzOJmFNyAI4AZ7pfpTAseuCxk1Ox0ByiTAv3/3eo4ctQjDFTnfh 4/ZQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=qrvSVoup; 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 ba7si8199184plb.153.2020.11.13.05.49.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Nov 2020 05:49:59 -0800 (PST) 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=qrvSVoup; 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 051156E50B; Fri, 13 Nov 2020 13:49:54 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm1-x343.google.com (mail-wm1-x343.google.com [IPv6:2a00:1450:4864:20::343]) by gabe.freedesktop.org (Postfix) with ESMTPS id 2F05C6E527 for ; Fri, 13 Nov 2020 13:49:51 +0000 (UTC) Received: by mail-wm1-x343.google.com with SMTP id c16so8553751wmd.2 for ; Fri, 13 Nov 2020 05:49:51 -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=tTwQDvBtnpWbM0srw/EUqdspNhCuLlcukla9ix/INuQ=; b=qrvSVoup3n8u8pYQhoQWokhMcBFhpiN8nyF8qI0HnXLJQlB3KuihkzMOb9FuMYyNKC Kwj2BDP1Qxst46LBOeu4iGuvzAo6b7i+r6auLDVQmLv5NWVIfKerRhDn/m21fMAn3nmj zcBFB3BAmgebJUsvaamTnF/gmJIY7uP3vEWpNG94/YecvIyHFnYNK0fchgmJcb/79T+g FABDe/gxMs5OwehhsHSkiX0/0yrHrd23HLfP36heprsQXK4kWsw5Tzviqg0r1Q3iRi0n rr3FS4f6gFsuvX+xsiobwmul2yiHCGgjSYXFlt8grMLJoxtiWDWJRAMm/JXjlfWJaD9E 2ggg== 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=tTwQDvBtnpWbM0srw/EUqdspNhCuLlcukla9ix/INuQ=; b=TWnUChEjPjeGUeOPhQP6Tzu1B1b9y61HFOGWjevb29t76Oy2A7LQrh8IQg4+f/cdav Mimu2EcSeUDpA3wfZqTUHDNqoR1iEW1yR628meMa4Oh9rlK3tCeFaB3WYmEW7zu3oTYN 7inxiPTaYUV/qfFOzbUE8SCpqoTPZ80UIJL2J6bck278iyQ+dJHZYqoiNEGh2pqV9OGr DBCqX/a9Jv8aA/8erKGDz4YcILS7zEKRSWkxSfXX8xokuTogRqQDOBO8oei+Diu4KV7n bw/FeAj3Xs8fkPtwEH60Wkdx8V2CPrzcMlQ3WHdtek+vIzj9yFcXbUTZdbqEUT2JHzqw oKZQ== X-Gm-Message-State: AOAM5314h/eY8PL4ubevoW9j8YhdzHi9bMUml3v/r5EEVOd/VAwZW4xm EVBAhA4u1GpXzNM5eaTiBeGoPg== X-Received: by 2002:a7b:c308:: with SMTP id k8mr2620978wmj.76.1605275389843; Fri, 13 Nov 2020 05:49:49 -0800 (PST) Received: from dell.default ([91.110.221.159]) by smtp.gmail.com with ESMTPSA id t11sm4561614wrm.8.2020.11.13.05.49.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Nov 2020 05:49:49 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 06/40] drm/msm/adreno/a6xx_gpu: Staticise local function 'a6xx_idle' Date: Fri, 13 Nov 2020 13:49:04 +0000 Message-Id: <20201113134938.4004947-7-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-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, 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/adreno/a6xx_gpu.c:33:6: warning: no previous prototype for ‘a6xx_idle’ [-Wmissing-prototypes] Cc: Rob Clark Cc: Sean Paul Cc: David Airlie Cc: Daniel Vetter 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/adreno/a6xx_gpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/msm/adreno/a6xx_gpu.c b/drivers/gpu/drm/msm/adreno/a6xx_gpu.c index fcb0aabbc9852..03c2f7e0c9497 100644 --- a/drivers/gpu/drm/msm/adreno/a6xx_gpu.c +++ b/drivers/gpu/drm/msm/adreno/a6xx_gpu.c @@ -30,7 +30,7 @@ static inline bool _a6xx_check_idle(struct msm_gpu *gpu) A6XX_RBBM_INT_0_MASK_RBBM_HANG_DETECT); } -bool a6xx_idle(struct msm_gpu *gpu, struct msm_ringbuffer *ring) +static bool a6xx_idle(struct msm_gpu *gpu, struct msm_ringbuffer *ring) { /* wait for CP to drain ringbuffer: */ if (!adreno_idle(gpu, ring))