From patchwork Wed May 26 08:46:57 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 448144 Delivered-To: patch@linaro.org Received: by 2002:a02:7a1b:0:0:0:0:0 with SMTP id a27csp5017060jac; Wed, 26 May 2021 01:47:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyosvYWOCsj7KAIeOO47a/sNcu3wxXsk3W29KIGdqa3Bemmte3enUni3Xs8FK4S0YT+525t X-Received: by 2002:a63:e14:: with SMTP id d20mr24317066pgl.35.1622018873286; Wed, 26 May 2021 01:47:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622018873; cv=none; d=google.com; s=arc-20160816; b=X+xt5/78xWFnNVUJ8ekbEqI/icBIH8SJ+xi0Kby09ofyiGULL/wu7O0UzteGvPYMb1 SY3J+nNOFW0+oHDM53zGDhdLFapidf79GjWgoEJ+7DWUWtEOAXebHCok1od10rUKCTeH 34rb++w1hjuYtKCyqmSobYHs/QrLA0/eqAxd1jRi+CdrF76kbt2hADcWDC52O8uqTIw+ 60IvD0OCcqI5SzR4gsyJrDjybO4dvLbNlFCcTEeHS6h1GukZF4jmdIlBuHVmydOGp6xf tq5duh1qOtVXEEouLdYy+KjL7TBtlPUwVxxM+fQ98vqG1sDHUIpInlFr1Z5H9M4Ykq1H QBWQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature:delivered-to; bh=lKeBwQNxcs7ocYKzN7a4O8oaRQu8Cp6t2SySVOZEvJc=; b=lmC48WemGEf2Ln/Lv27qFqLg3BZ8wFGQ+CV4vUSXbHwF+0PADHO6QBUftlISVAggns pEQKOa5qm2/MLLqNY42X3KqTQA83PD0MHcrEliH3a7O9vOYw0FeXRp52ZNZbj6hE06R3 E5EKc24HP1l0dCEVxuQA4P8TW3pYFUh9UMvHgIG9x4N6oNAZacHCSjVkVIPg8J0bqILe 10pI/QYnXEYRgj+zlWamNswHR7btnvnApYFNJQjQnt+2nO7oKn2Szs/fkk3+u2dh1WT2 jpsPGUhAd4e/zoZENb3/CtEKrbgUYqzP//Gka91dGwniDc725+tvZRHrVa2gwJRQ8akv 0AIA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=XOJIerym; 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 m16si2268161plx.435.2021.05.26.01.47.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 May 2021 01:47:53 -0700 (PDT) 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=fail header.i=@linaro.org header.s=google header.b=XOJIerym; 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 1EB576EC54; Wed, 26 May 2021 08:47:46 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x42f.google.com (mail-wr1-x42f.google.com [IPv6:2a00:1450:4864:20::42f]) by gabe.freedesktop.org (Postfix) with ESMTPS id E09A56E4C5 for ; Wed, 26 May 2021 08:47:36 +0000 (UTC) Received: by mail-wr1-x42f.google.com with SMTP id d11so188707wrw.8 for ; Wed, 26 May 2021 01:47:36 -0700 (PDT) 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=lKeBwQNxcs7ocYKzN7a4O8oaRQu8Cp6t2SySVOZEvJc=; b=XOJIerymun8QzB6XXP5wNjsVJygRfMn2bCBX9V9gUfDFMpm25kLTV3EO44NAoo2j5i 3iSfQk+RtozfLSE0bhk6MeGJ4vV9gQUIcIUOnkztB3q+u6z3oOYlQMoiGMHpN5FJN6w+ FJx6hQchMJlsPYYhAVlbBncVfoyFjoUOMTQPJ8OT7dIVoQidhzO6Ll+gpXM24TD2tcMj EnXiVSmwBuz5TtNVx4MQrvi3cETPA8jpmfUKM1fWQGxom9/PgKjui7Y+fL6dEUstAtMg YmxmvEkwUJ5ku14LxFPHGLrMrqg3+wzlam2x+s8tVWPneDACFWNYdsAdduDGQ1mqPxMZ J7AA== 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=lKeBwQNxcs7ocYKzN7a4O8oaRQu8Cp6t2SySVOZEvJc=; b=NhUHNmXY/SyqvMz0lBdmErYsPrVadfH04IUTFPvnxk26TKdiOrFdgldkSWvCCy5+Td g15sj5pUkQzJg+qbvodjdAuqjgZeEKWAHZZUEgX1ramtwDpA5Ej70p+VWSrMb8ZzQUF/ JCVSRPt0OkgJhObl9YFgyvIsj7BZDZXwdJ7FAQJYJwg8y9j66N9Yp7dxzRV5Ra7RDJEu 3konSanN6z1vIu++eFqjnen9TcJIgwu+WfSH4txZ4Uyu7fqgRTVW2x0dMe7p7A2WANzU vVKkXheZPp0xb/Ny4Btu+JMorXG4YtJv+8ajBymESv4rQQkapWvCA3SE09xAbh+pmlz/ CYCQ== X-Gm-Message-State: AOAM5308BLoZVh/54THCpDQaA7ioW8t1oEIvFfOchsCmzMjJluuPoot0 GcUM9d+5Y9wgv1MAEWHFA9P7/g== X-Received: by 2002:a05:6000:1189:: with SMTP id g9mr31168739wrx.385.1622018855535; Wed, 26 May 2021 01:47:35 -0700 (PDT) Received: from dell.default ([91.110.221.223]) by smtp.gmail.com with ESMTPSA id l18sm18911918wrt.97.2021.05.26.01.47.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 May 2021 01:47:35 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 05/34] drm/amd/pm/powerplay/hwmgr/vega12_hwmgr: Provide 'vega12_init_smc_table()' function name Date: Wed, 26 May 2021 09:46:57 +0100 Message-Id: <20210526084726.552052-6-lee.jones@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210526084726.552052-1-lee.jones@linaro.org> References: <20210526084726.552052-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, dri-devel@lists.freedesktop.org, Alex Deucher , Evan Quan , =?utf-8?q?Christian_K=C3=B6nig?= 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/powerplay/hwmgr/vega12_hwmgr.c:812: warning: expecting prototype for Initializes the SMC table and uploads it(). Prototype was for vega12_init_smc_table() instead Cc: Evan Quan Cc: Alex Deucher Cc: "Christian König" Cc: David Airlie Cc: Daniel Vetter Cc: amd-gfx@lists.freedesktop.org Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega12_hwmgr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.31.1 diff --git a/drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega12_hwmgr.c b/drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega12_hwmgr.c index 1a097e608808e..29e0d1d4035ad 100644 --- a/drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega12_hwmgr.c +++ b/drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega12_hwmgr.c @@ -803,7 +803,7 @@ static int vega12_save_default_power_profile(struct pp_hwmgr *hwmgr) #endif /** - * Initializes the SMC table and uploads it + * vega12_init_smc_table - Initializes the SMC table and uploads it * * @hwmgr: the address of the powerplay hardware manager. * return: always 0