From patchwork Tue Nov 24 19:38: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: 331429 Delivered-To: patch@linaro.org Received: by 2002:a92:5e16:0:0:0:0:0 with SMTP id s22csp795890ilb; Tue, 24 Nov 2020 11:45:04 -0800 (PST) X-Google-Smtp-Source: ABdhPJwNWXh+U4AVHguMSSBfYKvmTW4hulJLbeo4JfiFp3uET235euixizixdDZAQP44ZfRqXhWC X-Received: by 2002:a17:90a:8589:: with SMTP id m9mr211056pjn.190.1606247104469; Tue, 24 Nov 2020 11:45:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606247104; cv=none; d=google.com; s=arc-20160816; b=xk/WjExVf1G9rkCazPIaMFa3KSPuFjAlZ+7zoaHIMNGETMnGqKrRVNJ/nzc3Sh5Fi9 /+FBRiGT3VzlV1b7sqFYt5uVdqnIhxsqCjZqbYM3GwUblrJs0PX47tDHfGOV57I6meMh NxLfDInoQXVYn7WFBp4RSEaxha7lWJKXPMcLo/kr437DxD2LdUk1nMV1P2MCjaWjNpzf UtXkuwREt5fzIHBVxI9mE/Eo5KHL2L2LgXaT/spXfRFYWxDXOii+826zoXIa2RAP6kei Cn9Out8+ZKU67zZPNe5BLDYGPeqNNOPXig3s7pVka0Ms4lLkLTiJaxNvQZ7Mz4z2879J UJGQ== 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=Z8ilGfeK0CRKSZbxtsx8UZYuWTcL+rR5n75IAPxbNPE=; b=UXr4KGr2SnLM/eYXKXuXRzr9riUCFcIoXXGDyysm9tBD/tTKJstFaUYmSK1QAda23X bSbZzJLcvh+QN4ynV9B/8GCHk9MCpLFb1xywLj0CjQyiG8y/Z7hlSCwXH8GJTy/RukOR YQdkARtIEqRxAQqSWXapVV30u2u2rZ1r4lAsdM031JcEYPGwdgJRvp8ZKpmg66pZF9od clLUY5F/mOAZ2heZYb/FACpOXwtaWuhiuQWwuVUg1uE5hH2N6ACUEczKi/xUBvIzmbFD Q6hn4oD3ymQfB03xtxo9yuWT5x9B5o6m7+8ICCVCOuQ/kBNiOC/Ac0XYKl8h2cHdqc7i bZzA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=A1J4BPee; 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 b7si13432946pgt.379.2020.11.24.11.45.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Nov 2020 11:45:04 -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=A1J4BPee; 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 CDB006E578; Tue, 24 Nov 2020 19:44:47 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x442.google.com (mail-wr1-x442.google.com [IPv6:2a00:1450:4864:20::442]) by gabe.freedesktop.org (Postfix) with ESMTPS id B04596E52A for ; Tue, 24 Nov 2020 19:44:35 +0000 (UTC) Received: by mail-wr1-x442.google.com with SMTP id l1so23523756wrb.9 for ; Tue, 24 Nov 2020 11:44:35 -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=eR2VWY/uBkZ8OQEHImWEeJT/rcGPCff8wPihf7Jld5M=; b=A1J4BPeeNT7yrkRrjaash/ObA12oqLXqva2RiCKNwn8pXH4B82hyrnDC1qOlAUehpo AdeJQMEynjujsKrEwnks4sBT37dmB/XAEt+e122O9CLyu93pqUl+AvuCanZAbhKsTBXr GudbMVWesoscbiJKMq7jlO/gjtgYXb1D5MaWGt6u0q8TMlv0poGqlRZ9+8wJ01IGRJib SiG4ihHTtFziZ72Q9xrA7c7d6XZWZVhthZ5Br7zuNU61Byxk38+icuwZHTLSenPdTwKp 5GUPemDK4FAEPJMbT2fmdAgMTqijobz7+niz+E3Kcg6QW5AdLpye2o+AbBhjtl1sg+x5 pl0Q== 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=eR2VWY/uBkZ8OQEHImWEeJT/rcGPCff8wPihf7Jld5M=; b=C774Qpn+R73igzDILZmRupDPlrp/soQ5UVNNNHf1Ks59sJ0/7rGxzcydVnYUpG8nQm wC/bJNs6nix9dZzqgmPrdD9hfBomAIBu4Gl0VnMdo0ty98nGAPaqTvUjQT7kmCzwUIq/ I4RdZa8UIB/r77c7nQjDJwObr1l5f/TmHToWkhB+CVCnzTAQAkOwkz/+vdg8pmv9G4Ne MOThSzXXbtpwOY0Bi/ZMgZzf/ygHWI1sOYyG5RJ8i0r9OsgFD30UuYQGQNh2alJ7ekyi U0UPZscWi8P7AVLsE0orHc9L2i0U9gtMEeXKRQmYaERKF3LgZkDodsGgdeUo5q/hOezs kw0w== X-Gm-Message-State: AOAM5316zSZMfC1SiRhFFOzKjtSFuB+aiGoiMC90z6dHUJ/1FoNXVMhG 89rorelRpNp3kJgaqCsPfsNpiQ== X-Received: by 2002:adf:e84e:: with SMTP id d14mr100154wrn.190.1606247074433; Tue, 24 Nov 2020 11:44:34 -0800 (PST) Received: from dell.default ([91.110.221.235]) by smtp.gmail.com with ESMTPSA id d134sm200511wmd.8.2020.11.24.11.44.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Nov 2020 11:44:33 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 28/40] drm/amd/amdgpu/gfx_v10_0: Make local function 'gfx_v10_0_rlc_stop()' static Date: Tue, 24 Nov 2020 19:38:12 +0000 Message-Id: <20201124193824.1118741-29-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201124193824.1118741-1-lee.jones@linaro.org> References: <20201124193824.1118741-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: David Airlie , linux-kernel@vger.kernel.org, amd-gfx@lists.freedesktop.org, =?utf-8?q?Christian_K=C3=B6nig?= , linaro-mm-sig@lists.linaro.org, dri-devel@lists.freedesktop.org, Alex Deucher , linux-media@vger.kernel.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c:5008:6: warning: no previous prototype for ‘gfx_v10_0_rlc_stop’ [-Wmissing-prototypes] Cc: Alex Deucher Cc: "Christian König" Cc: David Airlie Cc: Daniel Vetter Cc: Sumit Semwal Cc: amd-gfx@lists.freedesktop.org Cc: dri-devel@lists.freedesktop.org Cc: linux-media@vger.kernel.org Cc: linaro-mm-sig@lists.linaro.org Signed-off-by: Lee Jones --- drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c index d4760f4e269a1..9eb886ae5a35e 100644 --- a/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c +++ b/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c @@ -5005,7 +5005,7 @@ static int gfx_v10_0_init_csb(struct amdgpu_device *adev) return 0; } -void gfx_v10_0_rlc_stop(struct amdgpu_device *adev) +static void gfx_v10_0_rlc_stop(struct amdgpu_device *adev) { u32 tmp = RREG32_SOC15(GC, 0, mmRLC_CNTL);