Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp2050402pxu; Tue, 24 Nov 2020 15:54:31 -0800 (PST) X-Google-Smtp-Source: ABdhPJykz2UwpwFVspWZONbblPt92qmfnX942nQkZ7CKmy2ZxdF8PRyd9iPW+1aAJvX6bDDPbiOd X-Received: by 2002:aa7:c049:: with SMTP id k9mr956773edo.49.1606262071651; Tue, 24 Nov 2020 15:54:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606262071; cv=none; d=google.com; s=arc-20160816; b=LhHzz9cjol3J2UYtCh0UO1XkbHk7VnRq95+Ch0MwrEPEW51lYLLP8qLzqlk0sw+6sp 8NdSwuLidB/1EGg89qceXq1P9yXxTcKhpLLDeRFDgDWusUvczq8rClBzr9zW9Y7K0/m/ 02RXdfMJrxnppuq6W0XsOod7IBz6Xbk2U2UfIlETRCFECe25/dp+t8Sdf4zaR+/BJqwF TQdJdxOsi8dVKLoFUYeT5rLeK1ZoSUeQ5tK06sEgydXLnKyY6xGsn9H0yVtPYUMTEgbQ xTOOla22OuE96UgRmjgF3eLOFmaeM/HgMXJlWpngV7W0WLTM84GpCbOHepJml+veK85o 86sA== 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=Oqd4hAPXVQ3fy/lIhgm4S39do0C9n+Zmijh2vXrOwng=; b=Hc6FxI1yokigQ2abXDGvYgisaQZUXCqWNHZEf7ys5uRs49qcjjtwDbhkuZVa31Vn3Y LSGGEFgV+FQlidYUAmWKF4X7KosmhMz7TumGF4+OwOOOJZGexJPJuMhWs150tX2RJN4+ IYRkWFL+szCWggwik4cD+Lqfi/hKUBOpb0Os+qzxmYBOGCx0UNztGx7yMm3kpvsn0scn jjffFLvkDJ/1PJ16oa/wEiDSjcOXDluzCk+YI6onT2pYRc77hR/ZCN+s29KUvMAzbe3n KEs0d3wAtQ63QXbubpszR3dQvDrHV4UkuSY6S8VQBjRIKzI7138DDozwHnUZ4iHAHpyS OEkA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=OpNqFhKN; 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=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x5si256892ejj.579.2020.11.24.15.54.09; Tue, 24 Nov 2020 15:54:31 -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=@linaro.org header.s=google header.b=OpNqFhKN; 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=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728081AbgKXTqx (ORCPT + 99 others); Tue, 24 Nov 2020 14:46:53 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35658 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726881AbgKXToT (ORCPT ); Tue, 24 Nov 2020 14:44:19 -0500 Received: from mail-wr1-x443.google.com (mail-wr1-x443.google.com [IPv6:2a00:1450:4864:20::443]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9D920C061A4E for ; Tue, 24 Nov 2020 11:44:17 -0800 (PST) Received: by mail-wr1-x443.google.com with SMTP id m6so23530068wrg.7 for ; Tue, 24 Nov 2020 11:44:17 -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=Oqd4hAPXVQ3fy/lIhgm4S39do0C9n+Zmijh2vXrOwng=; b=OpNqFhKNSt+HIPPv/t65OGpW81kQdUziPNC7wzPn6N1uU+n91qp0/9HKjWKZYETyfc V5knlydZZ/sO9q6WaVzrlt4IywSYDcY1EnPjyk0ilr9JYGPi8KVLtsiBuUIfrHLDgmzY TJHVghNbiCNVrZHFz7pg29bfo13wGjJyfLfrf12gpLu9Btn+LKxA0hPsCakSHb8mbKWy 9Mtn0PpQe3CoqS2o61k1dzAF0MtLjRTjXkBzQVOcc8PglXU2Pwe5U3/u/VKe8Hhgrl4o Rvgz7tuOCLl8Lxy+GkfzfSuyRwLmZ+Vrzw21iIvVkL2T6Cc5U2PqX73FisBNlz4iA5l8 1o3Q== 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=Oqd4hAPXVQ3fy/lIhgm4S39do0C9n+Zmijh2vXrOwng=; b=b4maAiMIU2iTK2gnP8YlZQI9bbPZo3Jzuc6CUuhEiGBw02jxpXfG8fYZeEEwbuReRt 43QHM3EjqT9weTMwtQRenEHaKANOz4o+DpasSSduFaapfJHqcma6IU6GS5FVcImqDvg9 2WB64bFlPZEVhN3ePcmRNxSC7tUes+aL3xQaiAGGEQ9hyUwyzJjUnIoKnBnlAB2wV6V1 EC1/bugLN9EW3CvuPeTbTeTfZ34P9nrJfNsHZ6j35hSbpyi5wMl/FuVTJ8tjL324MQBP YRaK7W1h0HTZqGD/MvWihb2z1PsCvlzmSzfsXDx0459Mh1exSmrDVsSeBZ7OKQ4fe0aQ EqgA== X-Gm-Message-State: AOAM530W5d2yM+Gza5vyKgzFMsF6LzQY/snWbTUVS9Pys7bXKWQBnlqC sfWwFXQOipdgKYhCYZyeFGd+5A== X-Received: by 2002:adf:f9cb:: with SMTP id w11mr83754wrr.1.1606247056420; Tue, 24 Nov 2020 11:44:16 -0800 (PST) Received: from dell.default ([91.110.221.235]) by smtp.gmail.com with ESMTPSA id d134sm200511wmd.8.2020.11.24.11.44.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Nov 2020 11:44:15 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Alex Deucher , =?UTF-8?q?Christian=20K=C3=B6nig?= , David Airlie , Daniel Vetter , Sumit Semwal , amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-media@vger.kernel.org, linaro-mm-sig@lists.linaro.org Subject: [PATCH 14/40] drm/amd/amdgpu/gfx_v9_0: Make called-by-reference only function static Date: Tue, 24 Nov 2020 19:37:58 +0000 Message-Id: <20201124193824.1118741-15-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 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c:2998:6: warning: no previous prototype for ‘gfx_v9_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_v9_0.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c index 8a6c050cb6caf..eae81fc412556 100644 --- a/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c +++ b/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c @@ -2995,7 +2995,7 @@ static void gfx_v9_0_init_pg(struct amdgpu_device *adev) } } -void gfx_v9_0_rlc_stop(struct amdgpu_device *adev) +static void gfx_v9_0_rlc_stop(struct amdgpu_device *adev) { WREG32_FIELD15(GC, 0, RLC_CNTL, RLC_ENABLE_F32, 0); gfx_v9_0_enable_gui_idle_interrupt(adev, false); -- 2.25.1