From patchwork Mon Jan 11 19:19:10 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 360559 Delivered-To: patch@linaro.org Received: by 2002:a02:85a7:0:0:0:0:0 with SMTP id d36csp3139724jai; Mon, 11 Jan 2021 11:20:23 -0800 (PST) X-Google-Smtp-Source: ABdhPJwikMS409CPjAnTgcqOP/ubIZ/8BLhAK9CnAYNjNIlEK0HTnz/QLPMWoUexU0AaqmMoFsjs X-Received: by 2002:a17:90b:228b:: with SMTP id kx11mr397801pjb.122.1610392823247; Mon, 11 Jan 2021 11:20:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610392823; cv=none; d=google.com; s=arc-20160816; b=LihYTJzlKBQDluznD8trQnIWuStCirIK/YXF3t/JKbCw9qclyCSRIXnHa9dv2s54Ey Xz+iPybrg21+HaqbhfdwTV532Wes6hY18mYVGuwWqpwL4NKRrwNYvNQfZ+PKwObeXS7N wVMpYPIl68SFgOmPPTMKh1waL7idRhKQaZvnj92AK1/TRQgYra0S69gMrlLSK5BYjnHC 8cGj4Q4IJOZ75zEvtq+dyoQ+Gv1DAC+xX0S8CmOdEzssmGsjwNuV74vg85tGv9dlCNRZ Dy60Q6ly/wtFHPLv3Wf6g7P5WTszYX9QtRosdeIEffXc4AMA65an3DZlHnCgJSuE71/s YJ0g== 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=PeRi5tiEAKauPItSQ5/ojJ47wF9UzKsIoZ+jzi8+sSU=; b=UbrEPd0g4TZgYKX57USKfglPKHs2oFcieKYI2+0PAckYw4Y05ywH9xd4vPscPhCnKU QHfXdpH+4QGE2HNQcG77F2jK2YXTmJm5USehV7A1Gv8GPVZRBvHv/yj0T9T37gUD0F7V uC4DOIcnIjLJ+r0ddLm/cib3xajD5+MLvY6VM9lZz81zpqlesquHhTybnogqjqfxRgVW bL9LlSVa8cKErB+hyucZaPRRwZJkPjtX5NXQDicDxv/Mfs/eYi4jA9HByh0VYEOuazT1 zSNp78WUzHp7+9S0fYzT2TTJX09FVFhGN0G205vpbeBpbWeVcVkvCoKd1b4OLazZxqZr 9KJA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=Ury54x86; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 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. [131.252.210.177]) by mx.google.com with ESMTPS id w20si629888pll.14.2021.01.11.11.20.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Jan 2021 11:20:23 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) client-ip=131.252.210.177; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=Ury54x86; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 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 509EE89E86; Mon, 11 Jan 2021 19:20:06 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x434.google.com (mail-wr1-x434.google.com [IPv6:2a00:1450:4864:20::434]) by gabe.freedesktop.org (Postfix) with ESMTPS id 20A9A89E9E for ; Mon, 11 Jan 2021 19:20:03 +0000 (UTC) Received: by mail-wr1-x434.google.com with SMTP id c5so930012wrp.6 for ; Mon, 11 Jan 2021 11:20:03 -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=JOyt7JjenC3JxqplAWuaS0Peh67vONfoPebrIaqCVaU=; b=Ury54x86y0TSuDIGEgMyFRNXMi6mvZtZR8AiUGxf02KEg/Qk4G3safKG2e0UTeBkIf tXip/SBGN84y+PtcTOPecltGCNZgttFwjF/gJbhObDFirf9Rqw5bR2AZz2ksZyf7kKSV LOuPcaEwhtYXNt4q2+3WDkeqpt+utoKpIqA4jdW/+BWP8EB2d8igUF5Z2/7UrsUNR5hh /tcnM7v8bdlDCDCDVJrfqd2kAe+tUzeDZD6FNYloXHdK4JKthUYZmTKZMdDF8UYC7/4j hY7uoKS6mYPQAXl5PsZs99OkmqMqhPfDsh3LFCkrpi2U+fz6ruKWyc1c0iZgHthVYQAB O34g== 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=JOyt7JjenC3JxqplAWuaS0Peh67vONfoPebrIaqCVaU=; b=BB+3FHqh/XCt8QF+voXwAjW6jc5Tl1Hlahun33l1vKF2jOUoAw8/DLlx3QFe2oXKdq oc5bsFgtEMxDZDDHpYbKI8fgTV26GE0rH2ffdraEOLGjV8fs34odQJDIkyOWJIIg22hz 5MowkP6r7Vm2Ud/5PZWwgDidgc4XmM8vNbo+7XwUQZ4azqGj7lSikWgtsxjrEjC7NiCT jBKgvJ7LjRkTdPYHUF7s9QA2Kj7dLDnUAYHy+T0Qb/i1nktWAUfOmAFGbSGuRcI5T64k P5ApELcBBSChNExr2NuJM/CalB4Y6tIrkHeU92ElEj0fsZHx/3lGG00sZJ2mhwGyrezj j/mg== X-Gm-Message-State: AOAM531gVYEgP1FO5OUAyBZOGSd4XTf1F7jM5UGFmKIsCmCs9vhuW30p 2FCx5ayuDojp6d5Fd3zlzWMSKg== X-Received: by 2002:adf:82c8:: with SMTP id 66mr592128wrc.420.1610392801743; Mon, 11 Jan 2021 11:20:01 -0800 (PST) Received: from dell.default ([91.110.221.229]) by smtp.gmail.com with ESMTPSA id n3sm778090wrw.61.2021.01.11.11.20.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Jan 2021 11:20:01 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 24/40] drm/amd/pm/swsmu/smu11/vangogh_ppt: Make local function 'vangogh_clk_dpm_is_enabled' static Date: Mon, 11 Jan 2021 19:19:10 +0000 Message-Id: <20210111191926.3688443-25-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210111191926.3688443-1-lee.jones@linaro.org> References: <20210111191926.3688443-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: Xiaojian Du , David Airlie , linux-kernel@vger.kernel.org, amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, Alex Deucher , =?utf-8?q?Christian_K=C3=B6?= =?utf-8?q?nig?= 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/../pm/swsmu/smu11/vangogh_ppt.c:613:6: warning: no previous prototype for ‘vangogh_clk_dpm_is_enabled’ [-Wmissing-prototypes] Cc: Alex Deucher Cc: "Christian König" Cc: David Airlie Cc: Daniel Vetter Cc: Xiaojian Du Cc: amd-gfx@lists.freedesktop.org Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/amd/pm/swsmu/smu11/vangogh_ppt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/amd/pm/swsmu/smu11/vangogh_ppt.c b/drivers/gpu/drm/amd/pm/swsmu/smu11/vangogh_ppt.c index 75ddcadf3802a..37bd4c647418d 100644 --- a/drivers/gpu/drm/amd/pm/swsmu/smu11/vangogh_ppt.c +++ b/drivers/gpu/drm/amd/pm/swsmu/smu11/vangogh_ppt.c @@ -610,8 +610,8 @@ static int vangogh_get_profiling_clk_mask(struct smu_context *smu, return 0; } -bool vangogh_clk_dpm_is_enabled(struct smu_context *smu, - enum smu_clk_type clk_type) +static bool vangogh_clk_dpm_is_enabled(struct smu_context *smu, + enum smu_clk_type clk_type) { enum smu_feature_mask feature_id = 0;