From patchwork Wed May 26 08:46:59 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 448142 Delivered-To: patch@linaro.org Received: by 2002:a02:7a1b:0:0:0:0:0 with SMTP id a27csp5017042jac; Wed, 26 May 2021 01:47:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyVIA1z4X6xadfhGWGwNkqgxqO9G+LChhZMlzHK8mVITXNHzS0D9K78DvZucku2kg5YxYJj X-Received: by 2002:a63:5f55:: with SMTP id t82mr1247983pgb.453.1622018870474; Wed, 26 May 2021 01:47:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622018870; cv=none; d=google.com; s=arc-20160816; b=eTDv71weRJ65b4h/jvEQnVykUVKEVW8CkDiFDOlUJHmn01216yZMt40ru1VRcsH84A f/R+tCZlOTJFEB9A/+iTKu0CdvV5vm/jPKt4CyWSvu8KjgzY4v6mvaDvp/m35xETwXsM ZBbduinO7LBWuFIKuEoOd9kY5evM3bz2vTwU6nwQu0uKDXJbWlf6S6HBzU74bB0D5xZR kvNiEvnnSex+ZadXafiqA5u8BPKoxkKEa2WdzJ1p+93K98eGY6NF3gVee8tf5f98mwED AG0LhQ7eahoZGa7FKzLCgofUDjrFi2D7Lu9mNeFhlpLq5c8jaBITAUqHgGL+13dvrAtq 21gQ== 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=OW7W47mIWK6yublPiEJWvFrVpFjoI7qTlEhI5W3sk3g=; b=cPE91VHSyQExYCTLe1vZFFKPWILI1dfrGzZdpWXOcyEo5yfxzY/fIjKAQniH/hUJ+N ROZgYtnAR9Y5jpseAmSz1fRZd4WZXJbi98m4E/0DUhTS8UvWQ3KxwH441l23KQd/oPaI HfZeRRTSUcta0t0/Ud7gPdXgx1FJOYFIGUdssW6ud1W9ABVaTPsWTTa9dQpVaiIUzQi/ KXB/n6dJOTcN8nnFmfZdgmZVTAmfW1JFJlcyxnU0orUzI5FzT0PwuKnyuXQOhW7yw0dF fpQ2E1NF9N+2SrrTkcAklFJZEJUz+FtcOWd2/aTklNkAf4Qic0M4+2xdyh8Xt+gvZgFp qQGw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=Q4Dzbnee; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 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. [2610:10:20:722:a800:ff:fe36:1795]) by mx.google.com with ESMTPS id i1si2044213plb.163.2021.05.26.01.47.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 May 2021 01:47:50 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) client-ip=2610:10:20:722:a800:ff:fe36:1795; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=Q4Dzbnee; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 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 4D1EC6EC3E; Wed, 26 May 2021 08:47:44 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm1-x335.google.com (mail-wm1-x335.google.com [IPv6:2a00:1450:4864:20::335]) by gabe.freedesktop.org (Postfix) with ESMTPS id 0C6F16E4C5 for ; Wed, 26 May 2021 08:47:39 +0000 (UTC) Received: by mail-wm1-x335.google.com with SMTP id s5-20020a7bc0c50000b0290147d0c21c51so27282wmh.4 for ; Wed, 26 May 2021 01:47:38 -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=OW7W47mIWK6yublPiEJWvFrVpFjoI7qTlEhI5W3sk3g=; b=Q4Dzbneel0DMkx+zXQm4rfhuirMiZW0kumIdYTlWN3Rc8ONEfmPsGv5nSTgmMJMzm1 dDVTt75sX/MR1ZLRVZN3aTgKAPW2fjnN4y4HZQMD5UJnGpbzaGx3zX/TY54CwkTpN93z ci3EPh0fpBN429rFH3EWjtZm/y/XmxGjjvLf/rm6l1smQ/An5IKRNRN0RO/bZnXExJD2 Yf/0VcrD5X5GZ/W8bFogzhmqOFHRKGj64yiSr/Eoafy5yJ46O/pFb3qzPGyq1W/bjEXy qmrYNwBKc95Gk6tvYCz8Wc6n8OynNac2iK09tru9kJoWyxDnZIIE4BOk/y7Fl7k7Mgti +IGA== 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=OW7W47mIWK6yublPiEJWvFrVpFjoI7qTlEhI5W3sk3g=; b=mSnfzkmneaTQHrbCeMWBkR+isE2XJur33vGWzNDSbAIdEuu6mJ2oU1uTLe2bf/XBaM zsPNFW8JKA9JNf9h3KGVIL83Z+RJpu9ejFW5BifmvM0hJ9V6b5invESJQkggoZMPEnH+ Dnniz9C5Rx9BvqDREjBNKe9Z9dCqrc8hwAq1UB772OPLfd0bucf7XSXdMlNfm/cGtcCv 70CPnyiEGYZe3ftaBGDKI1Q1Nflzqj9AjVXlHtYVQjseIU3Wxk6eWLnccCzNmZQUI+rY r0EvxZY7MLWLzd4mFwh3nD4Ay5vf4Y4korbWKAto4kKwtDggjPUvEMhAO2dZc3gI3HFE L5pw== X-Gm-Message-State: AOAM532q9WvyUK+UELA0skVUcmbsSRx0NWKf6zrT12tNak/YfVj457ux ze8/6Ate23HDTetCx8CEXEceDw== X-Received: by 2002:a7b:c446:: with SMTP id l6mr2223901wmi.75.1622018857723; Wed, 26 May 2021 01:47:37 -0700 (PDT) Received: from dell.default ([91.110.221.223]) by smtp.gmail.com with ESMTPSA id l18sm18911918wrt.97.2021.05.26.01.47.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 May 2021 01:47:37 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 07/34] drm/amd/pm/powerplay/hwmgr/vega20_hwmgr: Provide function name 'vega20_init_smc_table()' Date: Wed, 26 May 2021 09:46:59 +0100 Message-Id: <20210526084726.552052-8-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/vega20_hwmgr.c:781: warning: expecting prototype for Initializes the SMC table and uploads it(). Prototype was for vega20_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/vega20_hwmgr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.31.1 diff --git a/drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega20_hwmgr.c b/drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega20_hwmgr.c index d3177a534fdf0..0791309586c58 100644 --- a/drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega20_hwmgr.c +++ b/drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega20_hwmgr.c @@ -772,7 +772,7 @@ static int vega20_setup_default_dpm_tables(struct pp_hwmgr *hwmgr) } /** - * Initializes the SMC table and uploads it + * vega20_init_smc_table - Initializes the SMC table and uploads it * * @hwmgr: the address of the powerplay hardware manager. * return: always 0