From patchwork Fri Jan 8 20:14:26 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 359035 Delivered-To: patch@linaro.org Received: by 2002:a02:85a7:0:0:0:0:0 with SMTP id d36csp855618jai; Fri, 8 Jan 2021 12:15:28 -0800 (PST) X-Google-Smtp-Source: ABdhPJzdEd+RNTA1/Jm7skIao9mqoLNgofWKrssozG4wHELl0E1lkqBQOOlHm4JcNVVCgwhroKIS X-Received: by 2002:a63:4563:: with SMTP id u35mr8520217pgk.162.1610136928101; Fri, 08 Jan 2021 12:15:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610136928; cv=none; d=google.com; s=arc-20160816; b=JUoDMNhIA4AZbI/ogRsDS3RI3s7+gGTyx3SVn1FEkskDmYxr0+it86XY90UnptaDeY rOJeFtOa9FcRjbjTi8beNtKFBdVTc4YHywNrKT427UY6h3+uaD4QoNJK832j9eWHUMwS C+EAh6JNPvVFwtDSSdETXn99OXW6I/Y0Bxzdngff6gLSxuPjB4kAf+syjeEEzZKdqcsf +P9ZXMkwiPXWVZAtgyHGasf/78Z/HrOb8n4xco3uyUznu4bilFWAQ0XFOEw9QlMcVqPD OCcmL/DgjA2hRZMAHmM3c62DPnYs6VbjnJO0zc78yCB8XST2D97Rz/ilVhkW0+2D31fw NLIg== 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=wXnF2lizNfKeS6MDP77rDJNiMiob1mLycA5zWr4L00Q=; b=zLH0KmtsCNkY6ICUzxX++MJ/8KCQOX/opTyqcsqEqlPT9I/eK8J6J7eFtKBjTJnJ0U eT3UFWGhrGfCv90jX2jGChT5qDviznJOvA/SrYuPl4zlY6Yuzw/GP101U7j0jrJIyCIA yqxZ977xtsW4slLaEgDWNf94Ns38qRtoYRfb3d6SuqIE/Hl6LzbuhfE0h33FXDwewl0y OpAqRDUhtWQGQkJSUeGItYjXXrF5Uoa5CeayLn6Vo+XDY8gNu4ZUGaWle2VKQi09L6EL kepXjp0pJgNlaHH1EUx0Tp6DlAVcF8ljt2ruBS2P8yzXLlI0dbOuiSffzwuTQlQRtIk0 vojA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=xLshuzqR; 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 r8si10077370pgb.325.2021.01.08.12.15.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Jan 2021 12:15:28 -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=xLshuzqR; 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 860D36E8C7; Fri, 8 Jan 2021 20:15:19 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm1-x32c.google.com (mail-wm1-x32c.google.com [IPv6:2a00:1450:4864:20::32c]) by gabe.freedesktop.org (Postfix) with ESMTPS id B74BA6E8D2 for ; Fri, 8 Jan 2021 20:15:17 +0000 (UTC) Received: by mail-wm1-x32c.google.com with SMTP id k10so8748891wmi.3 for ; Fri, 08 Jan 2021 12:15: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=4m+UfJ8aX5WLjKwBG1Xu8sQ5BNsQhd/cnOc6646uVLM=; b=xLshuzqR1S5leuYqYt+i5O0pzH6SK7237sKx76ydZAZ12/sCmWGMaKpZAn5ORm5VxA b7AM62dLqUYFa3QkxepEi2Glma4JBkROyGwMzVvdYsXkkMaw3Sgda6nSa6R/FaF31Dpm ZiX7Q7jWTDA32xLpGC0RqCfHNihxlDNszP5NaU/LTHZ0sULnT8MXDlKC4miJYJIs4C3X 7UFv+/hFIZWuQxni+OkJp+bCWx2MOgrkuvoeByqrNPXePBhFcRcz6Mix2yTuGTBFwC9f jIbx6kAGiVERht+t17b65sHTRyNoCN2dT3DF3NTdbtSk17MqvxIcY2afNbxf8gFeFwwY YJ1Q== 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=4m+UfJ8aX5WLjKwBG1Xu8sQ5BNsQhd/cnOc6646uVLM=; b=h/FLjY3VPFWk2lRFeYHx3RAILpeOQsEqOykyM3gy1tMJ/R1j+sCFL6+/EuGBhzAxf0 fL795EruwLW4nxnD1EGwkA468hWE2UOhiCFdOE85r/i97w6pAI9eeIjZxYDqWa4xMPIw P7p9/Bf3TESK/lERMADpPQxg6myyiJc+HUPK0iO+GehRiEnkc66YemBW1ntGMC6o8xqi h+mBVo6lGJ6CtUaz2a17RlEfcUIS2X+1W0r/8a1miGfOJtb+VwrRBoRqYyrdzH+rVTrS eVDN0XT2LUzEZF38HAZzUvmsMiGPVCgSniWLN7uBT9wsNm1YQfxuTZO395tJ/0hHv7c5 LwCw== X-Gm-Message-State: AOAM5319JzJRgLpnVx3Qm2efCFpwxW7P7iIx2SfNNHnx74jnc0YjUfe8 0yimr/mS5A80cz6MFWfqgQ+h/Q== X-Received: by 2002:a05:600c:313:: with SMTP id q19mr4477223wmd.126.1610136916383; Fri, 08 Jan 2021 12:15:16 -0800 (PST) Received: from dell.default ([91.110.221.229]) by smtp.gmail.com with ESMTPSA id l8sm15598671wrb.73.2021.01.08.12.15.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Jan 2021 12:15:15 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 09/40] drm/amd/pm/powerplay/hwmgr/vega20_hwmgr: Fix legacy function header formatting Date: Fri, 8 Jan 2021 20:14:26 +0000 Message-Id: <20210108201457.3078600-10-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210108201457.3078600-1-lee.jones@linaro.org> References: <20210108201457.3078600-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: Function parameter or member 'hwmgr' not described in 'vega20_init_smc_table' 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 | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) 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 da84012b7fd51..87811b005b85f 100644 --- a/drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega20_hwmgr.c +++ b/drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega20_hwmgr.c @@ -771,12 +771,11 @@ static int vega20_setup_default_dpm_tables(struct pp_hwmgr *hwmgr) } /** -* Initializes the SMC table and uploads it -* -* @param hwmgr the address of the powerplay hardware manager. -* @param pInput the pointer to input data (PowerState) -* @return always 0 -*/ + * Initializes the SMC table and uploads it + * + * @hwmgr: the address of the powerplay hardware manager. + * return: always 0 + */ static int vega20_init_smc_table(struct pp_hwmgr *hwmgr) { int result;