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: 12007451 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id BD0ADC433DB for ; Fri, 8 Jan 2021 20:15:24 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 813B923AAC for ; Fri, 8 Jan 2021 20:15:24 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 813B923AAC Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.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) 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-Google-Smtp-Source: ABdhPJxAsGGcg5ElEg6lbsPL0Qt2RrOVM2OAs+h+KSs4vC433L+e+4yx8PbxvRflV0mz9r7K5QcWjQ== 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)