From patchwork Fri Jan 8 20:14:25 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 359034 Delivered-To: patch@linaro.org Received: by 2002:a02:85a7:0:0:0:0:0 with SMTP id d36csp855601jai; Fri, 8 Jan 2021 12:15:26 -0800 (PST) X-Google-Smtp-Source: ABdhPJwRw3PRh7vI55mUG/GVcl88kuPyrn3EpT/4AjRRNBOPWEX7rFQwm7CA8t6dBKY5WHMRQikZ X-Received: by 2002:a17:902:c583:b029:da:b32c:cf9f with SMTP id p3-20020a170902c583b02900dab32ccf9fmr5440430plx.44.1610136926747; Fri, 08 Jan 2021 12:15:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610136926; cv=none; d=google.com; s=arc-20160816; b=0jyXLxwmDl4HAnBxjviIvXzMfvrVttkfjHz0k/m+xzU78Oh0L09QFxKXYIYEN9p2Qo e2q8M359RXkNJxCyQTRMRiq5NDaMteaMK8SeWDdLh9aKQ9fgo3C7uvhIks54oLuUtbEn fWq55A0eM83nuXQiArJ3cgJErQqNBfmh3xecfwLoDEzWQxDMSDOMFw4deMMX/gTKLMtf dd4Ozcxdg8/xpKF5nABOSGE+zMby4VKTU5MBhJg0eZ4GTL7K5etFXzYA2IqQ3cu764Uk Br3bPikRxo79/aQjQjlKT2t5RlI22OdslF+ROcr766R/ou2wis6DZVyIL0i8HqdChMhj 0gmg== 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=ZvG/cTdbz+M+5FpQujVz4YJm4wa5eMbfvWwSM8ugm+4=; b=DTSLaEHh0c0vXJKykr8YmaP1OINO54xyCOdedDLhUbe6hV2imNQEwx95ohVPu+oaRF w6rkGkDHXgW+fQxQvKZsdTT8HJBqlcpC1oC5v1D9qDFHHwEfcu6eDuu04l6xUXY8uUx1 zvorfbbwdRGxk3AStkuk9KMN4W+eSP5762AWPebO1b+jxyYZJYFyPgLLgP6WfVzU/fJK OFalkFd2iPSLzC+Zi+lBNi4srRIlNXm5btO1UufThGRq76SP1JTvoVtXnYuD85VpZxnY QHv6+ujzguZDrAVSoZyu39w8liK1NX1Y2JUASRoTcTNuolc0fhHuy7GW2roGt96rpnYY 8qAQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=F0x9Z4fM; 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 w19si10462405plq.151.2021.01.08.12.15.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Jan 2021 12:15:26 -0800 (PST) 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=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=F0x9Z4fM; 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 657646E8CF; Fri, 8 Jan 2021 20:15:18 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm1-x336.google.com (mail-wm1-x336.google.com [IPv6:2a00:1450:4864:20::336]) by gabe.freedesktop.org (Postfix) with ESMTPS id 6EEB86E8C7 for ; Fri, 8 Jan 2021 20:15:16 +0000 (UTC) Received: by mail-wm1-x336.google.com with SMTP id v14so8750097wml.1 for ; Fri, 08 Jan 2021 12:15:16 -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=In1Q+qm5MHof1cMenavqGuBcxDO1piRqNKsllQjE02s=; b=F0x9Z4fMGLhfw4n1u93Uhq62eitL0BqRg63/OQZI2nqJtMtnb9XFw10b/oNSbZ/Cc0 q31JJtFD6ZTSRwnAx4cJeg4an6vd/rYODFPbszdZtF93dGSF1MRSxMcgIEJOX6vMwZX+ EqyACqU4CLHmNULkAudqGDWMnThQDuoKmVRbS7LWZW+kxv8MP4xtylC6wA+JIKcVlkdy 7PKpzIU37QV483rrhKqjjM1TFYouFh0iiXuRKQm4l+0NVaAIecM2G1PIps8vSmApgcFQ 0NeVx4QXyNmRNjJZyPvJjFrytki1lBlcvL3D6nGE1jt8TKEJRI4f6Ab0SIhiTiu8K+gJ iwyw== 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=In1Q+qm5MHof1cMenavqGuBcxDO1piRqNKsllQjE02s=; b=cxF0+HBXSPhMClN1iOzcwmhKLvi973f+rmtSrt2QVqsn+tJ/Ti/FMABqYGQQJrai95 lZ17mkFVABFyUovL1zDz+79cI0ICLwBqHoOoLResJdrR/p/huUzr012udut8HHaq2Dl2 3o5CPaNawBVBf/eqIkMMXtq8via/YRxoAZOiNDV+na+ozY9/VMzIeOIxyBGE4ZsD8bPh piaW0oUy/k+nxw481E/vBT4oBl2Kvx9CZiVAnmLuk4YrxzbcPL03EiPoKSD+U1yZrVwq ftTw6UGmzZmpZEBJ8okgxUkcFiJcgBknc8kWPIdZONHEDdwkFkDZjjnlnN5t1bGv9clE ZXbQ== X-Gm-Message-State: AOAM532sDLYR6/kIWoKHer3SzwkHDuzXcCLtmedeunDt/H1USz6MrfX1 Bpio3dPPbjOzv6nJm6ZZOoUsmA== X-Received: by 2002:a7b:c306:: with SMTP id k6mr4479570wmj.52.1610136915105; Fri, 08 Jan 2021 12:15:15 -0800 (PST) Received: from dell.default ([91.110.221.229]) by smtp.gmail.com with ESMTPSA id l8sm15598671wrb.73.2021.01.08.12.15.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Jan 2021 12:15:14 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 08/40] drm/amd/pm/powerplay/hwmgr/vega12_hwmgr: Fix legacy function header formatting Date: Fri, 8 Jan 2021 20:14:25 +0000 Message-Id: <20210108201457.3078600-9-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/vega12_hwmgr.c:728: warning: Function parameter or member 'hwmgr' not described in 'vega12_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/vega12_hwmgr.c | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) 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 dc206fa88c5e5..c0753029a8e2a 100644 --- a/drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega12_hwmgr.c +++ b/drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega12_hwmgr.c @@ -718,12 +718,11 @@ static int vega12_save_default_power_profile(struct pp_hwmgr *hwmgr) #endif /** -* 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 vega12_init_smc_table(struct pp_hwmgr *hwmgr) { int result;