Message ID | 20201116174112.1833368-16-lee.jones@linaro.org |
---|---|
State | Accepted |
Commit | 991a2719d31585d9b1ce1beae26f6d73c06fed9b |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:5ce:0:0:0:0 with SMTP id l14csp3506416ils; Mon, 16 Nov 2020 09:41:59 -0800 (PST) X-Google-Smtp-Source: ABdhPJyw1nKsCR10peSm6P4XQRIRB16KT86YZGz+cj9bzuF9H6PxVNRwBcoRIJEFGSkCjV8sp6BD X-Received: by 2002:a63:34c1:: with SMTP id b184mr273981pga.173.1605548519050; Mon, 16 Nov 2020 09:41:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605548519; cv=none; d=google.com; s=arc-20160816; b=FP6pAmqowgpax8jqs7HyxfK5CPYIFsf7Nc6GS6uMZ8bikSKHheClIG18Ys4iNINrfS L1HP/3jN/c/HgA/7nqGK9g5sQmtpQH2v94NcCq7XMYB6BCpMsQJBy8T9oHu9N1XFPtlw niQZ2z7QYG/Y19kBcB2VYo0HrHJBTNhcDjKyaEQW/LLnMqIWQAx1F6z2YS7EZDQsZu0j PmTlDqT93bm7NkS+z5BBUqljZZnwk8X7zfEokGDvcmmf6uRTBFrSUpG8EZe3VhVJQL1B HC6rFe2lQgVAr3ICXgwswcuwcxPjNro8c65GrlUAAQkI3k62iBuQBrlu3Fdu16GSpBDL Q1oA== 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=eEfmj786XcAKcsB26OYi+LKXguVQRM3dGVgHu6GsbQqqnIMsxIcLBCwwrpgq36qNIf orMRnL6A/CSRGabVEAEjqLIuMgvejeExug7xjWeVH5ByxL/ipSW8/Px8V3LI5cs9kall F0HmKYAM3G8xWvkUqFRlPSLHsytIxYtFWId1KQVtLGh5c5QZWEgTZzdMU+wpIyKp+Sjb VnL0jV8iDlNF4bza5aTYlUiNFXkVzcsPg/ln5KjooJAH4dR/nWBKlhelBgdyV7w5HWKT V3m0iBRUCO3Zcp0loDYQky4fxjSo+WOY73EV+A/Yd8gXFQ1WggZTDiMIHDLjg7J8QXzI 0wbQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=g4UiDscw; 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: <dri-devel-bounces@lists.freedesktop.org> Received: from gabe.freedesktop.org (gabe.freedesktop.org. [2610:10:20:722:a800:ff:fe36:1795]) by mx.google.com with ESMTPS id w17si17018130ply.240.2020.11.16.09.41.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Nov 2020 09:41: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=g4UiDscw; 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 B5AE36E9FF; 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-x443.google.com (mail-wr1-x443.google.com [IPv6:2a00:1450:4864:20::443]) by gabe.freedesktop.org (Postfix) with ESMTPS id 93F0389FED for <dri-devel@lists.freedesktop.org>; Mon, 16 Nov 2020 17:41:41 +0000 (UTC) Received: by mail-wr1-x443.google.com with SMTP id k2so19702532wrx.2 for <dri-devel@lists.freedesktop.org>; Mon, 16 Nov 2020 09:41:41 -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=g4UiDscwY/1oIPlgmGmNSmsyprgvCPP0mfkN+jRO3SE5cBqae6RaGAR9IUaPSZUxof j13OCWwzarpHIiVkv/lCvijBftpfBu3CfwV0uAjtOACmRqUmmVRJlu1hHjjaEbDQlhau I3K2FUugZPw1tr7zsOT1+KjOpoBTufXi3dq7ToTrVwC/NOrUntqtEDSpKQ+AMfuu02b+ IHC2wQjp7Zo7nwOPGEe5P34uAZNk9FrdMb1xYPUHtFbeTil2AN3lzicyIi1JXHzEphOm MHsyCNW6VNsOf4OCewOVHOGuHu2VVqA3RsBCJbEMA5lv0zhTazg/R/MSD/z2Av9RU94p 3YxA== 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=pDffbLvo38qJPaiin89e0zqJDW0JrVPU9qAIdT+E3ligzNUa/F0B+TSfauf6oKqUfw Agax1z3TFuJsO2TWLSbOiujsQB94pdf7YCDWwZyWacBAV7QdKI7k9evRd+ywQfZiUspz sqEEtq4hPiDSvd6pBB6LbvzP2UU0Anch2uLEcmJy2HJh0EVO/RO9BwR8MXkjYlxjRYvi hHYzCXFi5DMLtZ03yDZTpK5LBZqJQSWscqoXTGa4VV9fpugPgOS2FnvlhUKz2H6bUaBa 463qQbqM2HiU6L+o559QPMB/cZkf6MhcfXaobcWgD4DbhKJK+FtD1Yy4jHXL6YvjFYdM xaZg== X-Gm-Message-State: AOAM531TX8EyRPTMJaptgxhL2sLgY0DPTdw0U9HyXphBNb8/EQlNfhad VQ8nGivbr3altKZSl94CSDWwvA== X-Received: by 2002:a5d:4ec2:: with SMTP id s2mr20442206wrv.258.1605548500288; Mon, 16 Nov 2020 09:41:40 -0800 (PST) Received: from dell.default ([91.110.221.159]) by smtp.gmail.com with ESMTPSA id n10sm24667224wrx.9.2020.11.16.09.41.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Nov 2020 09:41:39 -0800 (PST) From: Lee Jones <lee.jones@linaro.org> To: lee.jones@linaro.org Subject: [PATCH 15/42] drm/msm/adreno/a6xx_gpu: Staticise local function 'a6xx_idle' Date: Mon, 16 Nov 2020 17:40:45 +0000 Message-Id: <20201116174112.1833368-16-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 <dri-devel.lists.freedesktop.org> List-Unsubscribe: <https://lists.freedesktop.org/mailman/options/dri-devel>, <mailto:dri-devel-request@lists.freedesktop.org?subject=unsubscribe> List-Archive: <https://lists.freedesktop.org/archives/dri-devel> List-Post: <mailto:dri-devel@lists.freedesktop.org> List-Help: <mailto:dri-devel-request@lists.freedesktop.org?subject=help> List-Subscribe: <https://lists.freedesktop.org/mailman/listinfo/dri-devel>, <mailto:dri-devel-request@lists.freedesktop.org?subject=subscribe> Cc: freedreno@lists.freedesktop.org, David Airlie <airlied@linux.ie>, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Sean Paul <sean@poorly.run> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" <dri-devel-bounces@lists.freedesktop.org> |
Series |
Rid W=1 warnings from GPU (non-Radeon)
|
expand
|
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))
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 <robdclark@gmail.com> Cc: Sean Paul <sean@poorly.run> Cc: David Airlie <airlied@linux.ie> Cc: Daniel Vetter <daniel@ffwll.ch> Cc: linux-arm-msm@vger.kernel.org Cc: dri-devel@lists.freedesktop.org Cc: freedreno@lists.freedesktop.org Signed-off-by: Lee Jones <lee.jones@linaro.org> --- drivers/gpu/drm/msm/adreno/a6xx_gpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)