From patchwork Fri Jan 8 20:14:24 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 359033 Delivered-To: patch@linaro.org Received: by 2002:a02:85a7:0:0:0:0:0 with SMTP id d36csp855574jai; Fri, 8 Jan 2021 12:15:25 -0800 (PST) X-Google-Smtp-Source: ABdhPJyBaw/bU+89gqU2rmZk7MSKfhS+8h/JaUdB24oCZXt7cOOAG5hrCLfrascYvrYgFLZEOg/g X-Received: by 2002:a65:4906:: with SMTP id p6mr8575010pgs.173.1610136925316; Fri, 08 Jan 2021 12:15:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610136925; cv=none; d=google.com; s=arc-20160816; b=lSX0KjVfi2juIMdofZNnTLwcZP++JcoJa81YdHa6FzSYtoZ0UMBUIMhBgaopgLYcOp qdb8bh0K9jmfApZCgfa4Xs4EykOixrLoskwE5IK2QM+QxjK9U0Oy8wQyxcP8c+HQIdih Ve/50PAr1UKr2uodcyPY0BKI345pVpDWzXmS9X5W8iFDOJhZwYPzj8nQc116m3lBlEK7 mboSZeRYY8JnjRcI1k5nqHV0X4h1q7pWVwlXji98ENZnOVvpkcRKnJs5eldS0l6d+cge cDcFCnhfyHfHvcwgkyjxzb/Ex/ZAnCwdRhTVOvP6RBRzR27P+qkJNzXQpVA9i10/xzYj Rh5w== 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=7EpqDYI0QhhnU/zInARAhKsftVxeeN46/lDEmZmrSUw=; b=sZr0eqJmPShS1YNYWdgVd14Yef+VSwNmmQ1OnQ3yCK9SRbX7MP/mIo8JcqHrCuc78R D2WSCw6qBgkk1oYFSCpBahYpizmPPVQor2pWzK610vFQ3j7IupNwnS+p+DtPCMACEeqo qCYWy0PawFayhq7EUgi22+vfWLBSGLVynXt2DLWCyDdfjBmCzI71H156uRXifB9Mfefx QZ/yEX2bvA3b+56YwWApiU9lwArG8gmOSdNGMvxaSuOGW0UG/aKTbdtGUVVdVmFZqwuR 1I5B4LbUqvgyhEeLRWkl6HeoKeZzD0bhpIU7lMEqziuhnwYoXEUNpbjBqh0KcFXngLmw hQbg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=j5gRi8kb; 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 j9si10209405pgb.430.2021.01.08.12.15.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Jan 2021 12:15:25 -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=j5gRi8kb; 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 2BCAE6E8CA; Fri, 8 Jan 2021 20:15:17 +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 11CEC6E8CF for ; Fri, 8 Jan 2021 20:15:15 +0000 (UTC) Received: by mail-wm1-x335.google.com with SMTP id k10so8748814wmi.3 for ; Fri, 08 Jan 2021 12:15:14 -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=Ynto/MZpBe5G42s9vReiED0PRGKZttvk/p9R7rGmhMU=; b=j5gRi8kb1z9r9v0Wmdcr1/+GgOq0BvFyxJd3BMOSmd4YTFM9odpHw4ntJ7o8srreTK S+xjPLLW6HLRvT3SnpwpcsrZ6FjgNgB9VKnHAMH+LkkNEPfWTGHknUnph7WJ+0t402qx lZVdInz3sXRPqLHWXmm6oPdMFtEm0C41JiZYtbEdkuSbsa44LvSHR2DR/G5EEKK+Z8nN fPmxUsaC/tqeOXjSV9F3HDn81aNwuhIdvjg2dDQM3HQHU+YpmYvr5SbxP0Gjpb5wxsl5 orEaLRKjsqCfTCOsLh2r/OzNDWUTWM6P63onC+JtQKk2z0ulnnB6/Owyd1hvoNIy6478 rJNw== 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=Ynto/MZpBe5G42s9vReiED0PRGKZttvk/p9R7rGmhMU=; b=QokktH5vRQBMHnytOCwWC0DckYJk3tjoACEQKXN+Se8g389u97Sn2/lKKyq0iHMWhC lhD4VewieC4uefwq4WKOrDzUtQE32HoWA0hSAwDxlA/u/ZG32hxw8jgaINDymYXmy0Xp pWDP930W/H+Zg/uKD7GthclCzG704A5r+gBYEBaSZFYfhK3fLb3CUg5Qnn9Kyx4Is6JE Hbo6f4KKl/bH+IXbRRZLE+xuRpCtzB2vrQcBvxK4vviVv0q+aU43W5XdLoBhf0tE20oa YEDBSc1VzIYBdaFaHNGU5aKLriil+x2O/muAoaKSoWgS16ertv/t7oPbjC7u6ddPohwI sryQ== X-Gm-Message-State: AOAM533upYm5zRdsCTi39ZL9pnJfUR9xxNy5EmhUNRz25nSmYnY52jM5 eMND/16fRG9B2RDAmBzIv2rSLA== X-Received: by 2002:a1c:2b46:: with SMTP id r67mr4489592wmr.162.1610136913799; Fri, 08 Jan 2021 12:15:13 -0800 (PST) Received: from dell.default ([91.110.221.229]) by smtp.gmail.com with ESMTPSA id l8sm15598671wrb.73.2021.01.08.12.15.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Jan 2021 12:15:13 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 07/40] drm/amd/pm/powerplay/hwmgr/ppatomctrl: Fix documentation for 'mpll_param' Date: Fri, 8 Jan 2021 20:14:24 +0000 Message-Id: <20210108201457.3078600-8-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/ppatomctrl.c:290: warning: Function parameter or member 'mpll_param' not described in 'atomctrl_get_memory_pll_dividers_si' drivers/gpu/drm/amd/amdgpu/../pm/powerplay/hwmgr/ppatomctrl.c:290: warning: Excess function parameter 'dividers' description in 'atomctrl_get_memory_pll_dividers_si' drivers/gpu/drm/amd/amdgpu/../pm/powerplay/hwmgr/ppatomctrl.c:339: warning: Function parameter or member 'mpll_param' not described in 'atomctrl_get_memory_pll_dividers_vi' drivers/gpu/drm/amd/amdgpu/../pm/powerplay/hwmgr/ppatomctrl.c:339: warning: Excess function parameter 'dividers' description in 'atomctrl_get_memory_pll_dividers_vi' 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/ppatomctrl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ppatomctrl.c b/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ppatomctrl.c index 83a6504e093cb..b1038d30c8dcc 100644 --- a/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ppatomctrl.c +++ b/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ppatomctrl.c @@ -279,7 +279,7 @@ static const ATOM_VOLTAGE_OBJECT_V3 *atomctrl_lookup_voltage_type_v3( * * @hwmgr: input parameter: pointer to HwMgr * @clock_value: input parameter: memory clock - * @dividers: output parameter: memory PLL dividers + * @mpll_param: output parameter: memory clock parameters * @strobe_mode: input parameter: 1 for strobe mode, 0 for performance mode */ int atomctrl_get_memory_pll_dividers_si( @@ -332,7 +332,7 @@ int atomctrl_get_memory_pll_dividers_si( * * @hwmgr: input parameter: pointer to HwMgr * @clock_value: input parameter: memory clock - * @dividers: output parameter: memory PLL dividers + * @mpll_param: output parameter: memory clock parameters */ int atomctrl_get_memory_pll_dividers_vi(struct pp_hwmgr *hwmgr, uint32_t clock_value, pp_atomctrl_memory_clock_param *mpll_param)