Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp3996091pxu; Mon, 30 Nov 2020 15:13:20 -0800 (PST) X-Google-Smtp-Source: ABdhPJyrPHlmkX5XxBvu6gLn82UQ3jNf1pXiOAorD1cCXRQydgzoSJ3kcRk0oZX2JqkpvlzYHm2h X-Received: by 2002:aa7:c712:: with SMTP id i18mr7582edq.357.1606778000057; Mon, 30 Nov 2020 15:13:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606778000; cv=none; d=google.com; s=arc-20160816; b=0r5tSF2Rsub8zUs9TPC+z9UggqCW+vvQMcX/Z4A24WLUR6A/ya7wZbqMZoVsm8r/RP k84rMPsGaQ/b+TRDmvsdk+9Lv6/6ZJNJIlPktX1qHYaYLTHaGFkE1ava/mgqikaZJP+a UdiBw5h4JCqMGd8F9uiVEcu4laBO6ZdjLQq+W2Gqrg2QVFEaFCueW6ywcZh/6jzhrnc/ iWRNiZKDCZMMVwbgt6YpS98TS44iV4Dmy5XJ6NH6ZPeOkM413pMG4x6AtVSE60FcpEuj jVgB7m5JumemnjW4Q5TqsdEjpE4WiUfCRy0QFKDr7Ln0MPVtawvw6EllnoezTQYUGUAV d11A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=50JdvhZ42NrkUvTPJM76VPGoZpSHnY0FKQ/KiUd0NKg=; b=DpvELcg4wqegtDdnT6L0taPCW582k49iZi/ZD1jXnGs0i27f4fxNPpZMntQ4eJTyEf UKj7oiV+kOIQ8hBvq5NL7Yk/skFEAd4TZRIXT4k2j/ZKwF4OMzhk+rM2kNgR0Ok2x9as tRR07ccLcY1/I7VHCC6TmqzogU2fRDOjZPGe4bVXfq8F00QnjenQl6/nlL3MYnjqbFFl lktOKcM7AMk/dEsJswvLy+TVbdk/kYFuAZNPqx/4pcXoexXBA5F9jRovwO3uSgSEGApL OFu5L8BrBc9p6jE7QNvVbMnIMnMogjdcMFTWSSBMeDCcAiYJIoI9jqf7DUdgxW1aNDCB Q3zA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=aL7d5kpJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h21si2731128edq.302.2020.11.30.15.12.57; Mon, 30 Nov 2020 15:13:20 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-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=@gmail.com header.s=20161025 header.b=aL7d5kpJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387950AbgK3WlG (ORCPT + 99 others); Mon, 30 Nov 2020 17:41:06 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39518 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387581AbgK3WlG (ORCPT ); Mon, 30 Nov 2020 17:41:06 -0500 Received: from mail-ot1-x344.google.com (mail-ot1-x344.google.com [IPv6:2607:f8b0:4864:20::344]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EF2E4C0613CF; Mon, 30 Nov 2020 14:40:25 -0800 (PST) Received: by mail-ot1-x344.google.com with SMTP id t18so4516495otk.2; Mon, 30 Nov 2020 14:40:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=50JdvhZ42NrkUvTPJM76VPGoZpSHnY0FKQ/KiUd0NKg=; b=aL7d5kpJbAboGQNZ4erj7W+womhuvoI98UQJ1ed4u6FmgdDJufOBQD3kN340AIk7JR rnvcGGp4doHd5lKfHWSmIQ2Y3vCbKEbwZOUFcqbybgnUmo+/t4RW2e8yDssGnKvh40PI ZH2ltkRcyA49Mizhc+PEJti8VqmGgppnvTX+HuEy89mshrnTyibGa/SQaDF4SwykrBZb DoyJE8qtaDCkID1oed9BXs3SUrBRveNG9t9cwBvwouI5WOmJ2uknHHc+HLwt8/cuhXSO omXhynPZxSoZ5C4+f9D1oBFC1EBTwicqvAsPlcMq4hIESED7foIBFNR4qQTBhHEOLqBq 8PrA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=50JdvhZ42NrkUvTPJM76VPGoZpSHnY0FKQ/KiUd0NKg=; b=rfJIjT8aF9R1XaNb4jHmNtf+zXnJmVvXj6ydOuKO/un+svNBnCYOJX//lRBCjCmEFy AT69t3w5tY+bO5bCJbAIxAnI5vxPTXiWoQX/B9asji2oufPtLNADTfrmSG/VTfT7ATp5 b0QvhR2g9tp3oYZXU2GNiMWicP3c8OWqQbbiLZdDdCK/XkU3lGEdJDDOM5Wa2v9w7FZd PR4Z/w1otZnyoIEXBGa+390LvhC1juWAAhQrgVSVRxdAOkPH7IRBqTyxRGcGUp1Liocb p8OegjuOVD4yzApsDjBgx5kcdRU9FYQgWHn1PwDDZNoLPm07zbcCW7dP5A/cn8415BCo 4pWg== X-Gm-Message-State: AOAM531rtH+6Je44H2ie40tjD38vODzIfugJ0bhMcvCWkvVHlOwehs7x RVKiyXU30VQkNpOUOaHkeC0Dk8RB6L7YcHxW+xY= X-Received: by 2002:a9d:4713:: with SMTP id a19mr19235858otf.132.1606776025441; Mon, 30 Nov 2020 14:40:25 -0800 (PST) MIME-Version: 1.0 References: <20201124193824.1118741-1-lee.jones@linaro.org> <20201124193824.1118741-29-lee.jones@linaro.org> In-Reply-To: <20201124193824.1118741-29-lee.jones@linaro.org> From: Alex Deucher Date: Mon, 30 Nov 2020 17:40:14 -0500 Message-ID: Subject: Re: [PATCH 28/40] drm/amd/amdgpu/gfx_v10_0: Make local function 'gfx_v10_0_rlc_stop()' static To: Lee Jones Cc: David Airlie , LKML , amd-gfx list , =?UTF-8?Q?Christian_K=C3=B6nig?= , "moderated list:DMA BUFFER SHARING FRAMEWORK" , Maling list - DRI developers , Alex Deucher , linux-media Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Nov 24, 2020 at 2:45 PM Lee Jones wrote: > > Fixes the following W=3D1 kernel build warning(s): > > drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c:5008:6: warning: no previous prot= otype for =E2=80=98gfx_v10_0_rlc_stop=E2=80=99 [-Wmissing-prototypes] > > Cc: Alex Deucher > Cc: "Christian K=C3=B6nig" > 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 Applied. Thanks! Alex > --- > 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 =3D RREG32_SOC15(GC, 0, mmRLC_CNTL); > > -- > 2.25.1 > > _______________________________________________ > dri-devel mailing list > dri-devel@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/dri-devel