Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1757759rwd; Fri, 9 Jun 2023 01:29:20 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ54ktI2pfP/rHDrzMLGgh2Fkhsd8LobFnzA4QGvwU6inmsgEzFCrnUK8RSEWd5QTc/aVMyi X-Received: by 2002:a05:6808:313:b0:398:2b78:3272 with SMTP id i19-20020a056808031300b003982b783272mr957920oie.26.1686299360489; Fri, 09 Jun 2023 01:29:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686299360; cv=none; d=google.com; s=arc-20160816; b=A1AKO54jkA7Jz5q7+5yLGNV99XXx2ZWztaELv+g+FZpOjUdTTUR2lP9ATHZe7VFGtw K8JQrXqVeQi9ODsHChOXlM0YwNTMpfR6+O01bA/DPcIxVg4QcLiOaVJ8eMKuFAUj/LVx h8xZ6imQp+7oEdczSA+R2W/aTBXyS+DvHByNNe0TilWARoqKs1sC40NaRnzDdn6oalIL eMGK1M2kl6XwCts2HZ/dSwiiwfsYEXXMHxMC3Irs4Ruyl4IMurCrUsCLV8RRzSlc6lIx B+ypCsoYnRR00jC8cEH+Bdtxp4c2R+PcZ8M6UTzm66t0qQVpusOVRkWK0UqsRyFLft+e FpCg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=pSvIImh+95JtjPMyx8+Zk/TNrzRUliV4Ttp+Xg0v4KQ=; b=JtRzxrxQ0iHwyyJOPC1tP9qM+LyDe3HwU1hIjHv0EjFogvPaaVG3z07nJlKgq3Qpkq OzbL+pRi9ASSZFMSXjE+NJFNNd8RHcgPhNUIr17yU+xnb5/PNZdrR1dJa9fa9Us5upHY c2UAUW6e6G9ktxq1UEjLd+WxmPfF+6pOh2HrUL8z18ZdpPMCs9w9bn87vdagmIFLmVrG aGxPoNZJwWzr59n+r9XSgTLSDTG11kcSkfRr5E2PpueiH5I4LhBYrShpNwiiPD1vAIPD QCzzUmT9NtxTikBqcZdMWirhegtI5V7oROS0abnD89WbVw6WoHw0jrnEJaObvTEFAJVs 46rw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=a+hNeRSr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z3-20020a17090a6d0300b0024e11f7a011si2299010pjj.100.2023.06.09.01.29.04; Fri, 09 Jun 2023 01:29:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=a+hNeRSr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240643AbjFIIVL (ORCPT + 99 others); Fri, 9 Jun 2023 04:21:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53180 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240649AbjFIIUs (ORCPT ); Fri, 9 Jun 2023 04:20:48 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C21EE49C9 for ; Fri, 9 Jun 2023 01:19:21 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 761F16549A for ; Fri, 9 Jun 2023 08:18:09 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0239BC4339B; Fri, 9 Jun 2023 08:18:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1686298688; bh=g43Hws3iLiAkztDwyEphPUBG078I8EpCKqK2eu0HlW8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=a+hNeRSrwoWkqmhdQ386sDy8odIcPCZrMUtTx6bJqEuaVBPsuFQbFx9kS9Vc6Lm1W hyZ7YnK6PprSrKBzFuQBlUA91ZLvG5Efe5qdQRJUoD2uSb8qYaYIDZUJsQ1JNQR6xC JIIbT7ErNyA1OOZI++x1QVC+AJklX04k/QhaaY4X8smxYKbsBenhjFq3+r3G0MkTuJ G3WagfmWhk6ZkTaKVZi86r38hQEKmqIRyD3x6BSIhpA2jOuxYZa+yf09hvRbdkoGiU sJSvebP8sA80RvV4vmnUTagwKWr9ABWUyJ+/znOkR65xUx6/dRC8p6U2I4wZrsoWKg z/lRttF93ir8Q== From: Lee Jones To: lee@kernel.org Cc: linux-kernel@vger.kernel.org, Ben Skeggs , Karol Herbst , Lyude Paul , David Airlie , Daniel Vetter , dri-devel@lists.freedesktop.org, nouveau@lists.freedesktop.org Subject: [RESEND 10/15] drm/nouveau/nvkm/engine/gr/tu102: Staticify local function gf100_fifo_nonstall_block() Date: Fri, 9 Jun 2023 09:17:13 +0100 Message-ID: <20230609081732.3842341-11-lee@kernel.org> X-Mailer: git-send-email 2.41.0.162.gfafddb0af9-goog In-Reply-To: <20230609081732.3842341-1-lee@kernel.org> References: <20230609081732.3842341-1-lee@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/nouveau/nvkm/engine/gr/tu102.c:210:1: warning: no previous prototype for ‘tu102_gr_load’ [-Wmissing-prototypes] Cc: Ben Skeggs Cc: Karol Herbst Cc: Lyude Paul Cc: David Airlie Cc: Daniel Vetter Cc: dri-devel@lists.freedesktop.org Cc: nouveau@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/nouveau/nvkm/engine/gr/tu102.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/nouveau/nvkm/engine/gr/tu102.c b/drivers/gpu/drm/nouveau/nvkm/engine/gr/tu102.c index 3b6c8100a2428..10a7e59482a6f 100644 --- a/drivers/gpu/drm/nouveau/nvkm/engine/gr/tu102.c +++ b/drivers/gpu/drm/nouveau/nvkm/engine/gr/tu102.c @@ -206,7 +206,7 @@ tu102_gr_av_to_init_veid(struct nvkm_blob *blob, struct gf100_gr_pack **ppack) return gk20a_gr_av_to_init_(blob, 64, 0x00100000, ppack); } -int +static int tu102_gr_load(struct gf100_gr *gr, int ver, const struct gf100_gr_fwif *fwif) { int ret; -- 2.41.0.162.gfafddb0af9-goog