From patchwork Thu Nov 26 13:42:28 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 333005 Delivered-To: patch@linaro.org Received: by 2002:a17:906:4755:0:0:0:0 with SMTP id j21csp156170ejs; Thu, 26 Nov 2020 05:43:53 -0800 (PST) X-Google-Smtp-Source: ABdhPJx1AR6ZERdNXcAWwLO7pkV6/OXUpg6jfUWaanc55zqCZS0WT26gk2OguoW0n7kZzvyk4Np9 X-Received: by 2002:a17:90b:4b0a:: with SMTP id lx10mr3576421pjb.205.1606398233653; Thu, 26 Nov 2020 05:43:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606398233; cv=none; d=google.com; s=arc-20160816; b=bLMnRTOUeefFIWZ+7u/RA243pAxKD3vx9hP3BkNjjy8cAjBE32Ey+A3PhLjeeo/YMb UJvkkfbZXLAngFFHaCAcsbZUU6Bt6WNF1Ygg+RKBcWXQ8Kw5lYpWZq4NUcvdnkaXBQeE 2Bqh6g337LiLEkklGbqsrNc0SG49mqC4byg06NQsQY2s28nHQSP8W8WRX3BBcjGD7Nw5 B15HcAnE5o+XUQphH9ZRqEgTCCKeGBpDQ66gwS8xflp5XROy2gPwm6J2Rt+pS4lTsdqf JvaWdQSDgMJfurM0nQxOJrr6ilK7IG+GiKYadQvS3l+qzoVtuql1PETUketQjx1bsS6y LKAA== 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=RCNmbFD1lW+AvRMiW/a/YFVWHr/KzB3l/kEMAM1VM5k=; b=E5NtY2mrvf1KxdUUQB8Trs8ehhc82vbr+sUMyWthrCrWsjM6nRAKeyaBkccizkwqmI XbTLyjNX6EkInRxhOSZZRg0ve+zL+q3VYvh421MHP04SXcyMB7nZVJIKDObjdK+PQus1 g9Jsv9k/uk9PhUhbBJqHwSPUj5/DjcwR7Ku4heBWGEeh14oTvF9pRDSR2txYD0XMMGrs n74cae0zpa3Ztc2gPuzX3XuEJYCRd3hjg9XuU66wEzNtgKdQYBpfPbdC83LxoI4oOHZh Rnm7/QAejhsQayZ9eT3bpckLCntlq2OhqG8WhllB8nfqGvD895INMmD50GhxTpo7cUz6 J4fg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=R+ke7JtZ; 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 h16si5276014pgg.533.2020.11.26.05.43.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Nov 2020 05:43:53 -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=R+ke7JtZ; 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 D55D96E97F; Thu, 26 Nov 2020 13:43:30 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm1-x343.google.com (mail-wm1-x343.google.com [IPv6:2a00:1450:4864:20::343]) by gabe.freedesktop.org (Postfix) with ESMTPS id 16CD16E96C for ; Thu, 26 Nov 2020 13:43:29 +0000 (UTC) Received: by mail-wm1-x343.google.com with SMTP id h21so2460599wmb.2 for ; Thu, 26 Nov 2020 05:43:29 -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=g0apstHJcdeOJJW9Rp51CgUS07wmlnhOot/Yb8U7ShY=; b=R+ke7JtZPgsc78EmFR6U0OdvfKYXOPVsJWKDRwLe3Ib/J8HQUt/IyO9zTCBy6ycOwp 3W6aObfhdCgvjBaLbR9kCaf+DYxtlxZGQ1ThIPq8Vds/1uNBJWazJO23cK6YqcZ3c+Yc MqfvUgwieLkQBpToE6a7CdkpYbfdLiWr5VWEPlODGD5Zk31w7mwaLI/kjS7sA2rMeum0 1S3ERwYCziOtrYZLOk9P+xCMMFHkzDKyBpVRoDA4vmDWdGi9vr0zYxIMCGF3GF85HU6U EuaaisE1ndR/xqpCDhrU3qdVwT5AsQIhI1HHu6GIos3y7XyF9T0c5b90tmIIEGgwTWJ8 621Q== 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=g0apstHJcdeOJJW9Rp51CgUS07wmlnhOot/Yb8U7ShY=; b=tfoKjulGrGWFfvrrQgHM8BaSeE5Ox79O1PFSdzbmZdIHpb80dcAilqHP/bbjypZyyV 1vkkrd2UOhkm43LOufnK7MHi64B4+A4GyDZ67qSOaXIyjFbSchcTtREhaaacBDZq1CvX EnzuhpPaFtmODHaTBYuF+16Rmx4rjN+5XKBz15gtRs7hyeNFi4S41orbYrzQrlr/FvSu 8gQ6q2iANeXOsKMSfll8ZRccPTzwjncI3IRaMBAvIkyPJ0YJ8c/Ca49ylHbsRMyHTqIP znd8XrPAIsymMMFYuW3QzFye7u5NU2ZsWckvV3v9BMvleWIQPn2GOd4xhj93MvcMrW90 NOiw== X-Gm-Message-State: AOAM532I4xtm3E/iEq3wra22h7xSQpSEjQnb4jH/WGLzNjLDyW3jPKk9 rka9JjjqFgL13aQfLTG8e9ZKQw== X-Received: by 2002:a7b:c397:: with SMTP id s23mr3666442wmj.36.1606398207768; Thu, 26 Nov 2020 05:43:27 -0800 (PST) Received: from dell.default ([91.110.221.235]) by smtp.gmail.com with ESMTPSA id k205sm9275738wmk.4.2020.11.26.05.43.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Nov 2020 05:43:27 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 28/40] drm/amd/pm/powerplay/hwmgr/smu_helper: Demote or fix kernel-doc headers Date: Thu, 26 Nov 2020 13:42:28 +0000 Message-Id: <20201126134240.3214176-29-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201126134240.3214176-1-lee.jones@linaro.org> References: <20201126134240.3214176-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/smu_helper.c:112: warning: Function parameter or member 'hwmgr' not described in 'phm_wait_on_register' drivers/gpu/drm/amd/amdgpu/../pm/powerplay/hwmgr/smu_helper.c:112: warning: Function parameter or member 'index' not described in 'phm_wait_on_register' drivers/gpu/drm/amd/amdgpu/../pm/powerplay/hwmgr/smu_helper.c:112: warning: Function parameter or member 'value' not described in 'phm_wait_on_register' drivers/gpu/drm/amd/amdgpu/../pm/powerplay/hwmgr/smu_helper.c:112: warning: Function parameter or member 'mask' not described in 'phm_wait_on_register' drivers/gpu/drm/amd/amdgpu/../pm/powerplay/hwmgr/smu_helper.c:145: warning: Function parameter or member 'hwmgr' not described in 'phm_wait_on_indirect_register' drivers/gpu/drm/amd/amdgpu/../pm/powerplay/hwmgr/smu_helper.c:145: warning: Function parameter or member 'indirect_port' not described in 'phm_wait_on_indirect_register' drivers/gpu/drm/amd/amdgpu/../pm/powerplay/hwmgr/smu_helper.c:145: warning: Function parameter or member 'index' not described in 'phm_wait_on_indirect_register' drivers/gpu/drm/amd/amdgpu/../pm/powerplay/hwmgr/smu_helper.c:145: warning: Function parameter or member 'value' not described in 'phm_wait_on_indirect_register' drivers/gpu/drm/amd/amdgpu/../pm/powerplay/hwmgr/smu_helper.c:145: warning: Function parameter or member 'mask' not described in 'phm_wait_on_indirect_register' drivers/gpu/drm/amd/amdgpu/../pm/powerplay/hwmgr/smu_helper.c:494: warning: Function parameter or member 'hwmgr' not described in 'phm_initializa_dynamic_state_adjustment_rule_settings' 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/smu_helper.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu_helper.c b/drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu_helper.c index 2a0ca5194bbe9..bfe80ac0ad8c8 100644 --- a/drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu_helper.c +++ b/drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu_helper.c @@ -103,7 +103,7 @@ uint32_t phm_set_field_to_u32(u32 offset, u32 original_data, u32 field, u32 size return original_data; } -/** +/* * Returns once the part of the register indicated by the mask has * reached the given value. */ @@ -132,7 +132,7 @@ int phm_wait_on_register(struct pp_hwmgr *hwmgr, uint32_t index, } -/** +/* * Returns once the part of the register indicated by the mask has * reached the given value.The indirect space is described by giving * the memory-mapped index of the indirect index register. @@ -486,9 +486,9 @@ int phm_get_sclk_for_voltage_evv(struct pp_hwmgr *hwmgr, } /** - * Initialize Dynamic State Adjustment Rule Settings + * phm_initializa_dynamic_state_adjustment_rule_settings - Initialize Dynamic State Adjustment Rule Settings * - * @param hwmgr the address of the powerplay hardware manager. + * @hwmgr: the address of the powerplay hardware manager. */ int phm_initializa_dynamic_state_adjustment_rule_settings(struct pp_hwmgr *hwmgr) {