From patchwork Fri Jan 8 20:14:23 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 359032 Delivered-To: patch@linaro.org Received: by 2002:a02:85a7:0:0:0:0:0 with SMTP id d36csp855563jai; Fri, 8 Jan 2021 12:15:24 -0800 (PST) X-Google-Smtp-Source: ABdhPJwHPQpCgjsxAYb6IpWOBL5jSOdQ7dGMjyUHoIhbK1mt7ekEFOLWjViveG3dsByHN365CqS5 X-Received: by 2002:a63:3111:: with SMTP id x17mr8612046pgx.329.1610136923954; Fri, 08 Jan 2021 12:15:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610136923; cv=none; d=google.com; s=arc-20160816; b=YgUgF6Oa4vtecMrZbz+hFVRjEPR2K8uQwt2qvmhz56lvrRWNVSLregPO1G/UwhdzEp nlgZfSFZmMUCb2WYKKtUeCZCT8yAEttCYkrdLgLLlxG5Wn+iyV3GUZ1SzLcM0IU9HtZQ JRzA+HrIm2zmbbk0k6qqS+KTx1V6YvFVih2x2L9QQGU5Q3zOQKxduRRNXUOBf9Z1QD5q dLagv7Kxix87YkVy1K+4EVsABD1EWCOZGuafwFw902dNCNOjdraM57d5kK5/qsIVS4uq GD1bKSyG8L1vzGkWHrkbaiRnoPmJf4fw4abLaEnf0aCTw5P09OGrvJig+Cp0Fh3qfGow FRVA== 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=m4afjirXl/toCtmgY6jLsBDQYV/2lEEH5cOFu9Xbop8=; b=rrMVPwwuTSRBqBkcLelcy6y8k9TbQDJcLdpH+8eagmXhXhhlVwRjUCfqXlqetbTjSN my8VDaDGQsxCnddNSUmBwQFxK25Vk9hDktsk+Zyh8bLaBtKjWJvRvaLBqGS+CMHk9yo8 3Tnj8SfzZFsiFzF7fkG1xjgZJGMMtpnkD7HPJRpMxMIpdgkCRpQtQ1XePGP+IrW9dtIW u5EqkkQgRvLsQYuPgTVr0VghQVMrDVOq/wdQUJXYHpBqcKchQn3Xw02xoazQDM6Aepj7 NxUP+LhV+2P+WD7acnzRTnAiUrJHMYN1K5HXfS5ygx5542yQHzDMINBbdemu//QVq2iC Pmug== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=RobXHiCa; 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 h8si9649909pgs.293.2021.01.08.12.15.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Jan 2021 12:15:23 -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=RobXHiCa; 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 68B3A6E8C3; Fri, 8 Jan 2021 20:15:16 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm1-x32a.google.com (mail-wm1-x32a.google.com [IPv6:2a00:1450:4864:20::32a]) by gabe.freedesktop.org (Postfix) with ESMTPS id D66986E8CF for ; Fri, 8 Jan 2021 20:15:13 +0000 (UTC) Received: by mail-wm1-x32a.google.com with SMTP id n16so7358010wmc.0 for ; Fri, 08 Jan 2021 12:15:13 -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=Q1ACHhoDM3J5dELVH57xIAQUcf34vzdyN5ALWF0ycEQ=; b=RobXHiCalmxUMxBiwWjqlom0EWAsiBTcsj1Ei8+x90LUZCySBXgpU8xTX9j2i46Rr3 KSEcIB2YfsMjrstXrKYwkRG9S1If6LX4l2XOFGd7hNeAZrjH6sXILEd0IAS6XiFAQOgP oPfRfGEI174ndsVXFXEAz/OemllVs6/5jWzo3rBlLT0dR2vnoBtSk5InuOzokUvtH8RJ MbVPJkJv5LWD4s19zLMoylEtumeVPqUuJaIuxcUHvNwlTm6fgh+SlhRWIRYdDDGerMJF vmL8H/PY2X2kTd3fyJBMupz9k0C8eoN5qBx+vAeLkglLl/mqFwST4u7pA+1GkBiup3HT zhMg== 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=Q1ACHhoDM3J5dELVH57xIAQUcf34vzdyN5ALWF0ycEQ=; b=FvcRNxmsAm8yA+Ty8REEC6O/h8c4jVLJwDw7SjvBAhbYm6oXZ0L7xj+yeMa2nClOua s/xGIFL8P3mmW/6QcdVtK3Oq8wnWQ71x0cWpB2RcN6iInZiHDIpb3cHqZJQGW6Q/QiLH ByN6gK2wjtH+4626cE4WkLkr5K0L9PjhoJjEczCT2ZhUcrSx0TlZKHd/+bULTHUtyO3S kXcDg5i86bnLPJINksE8qhM1LrevBfBBTaAarOhS3zoV7wUhCIa+EL3zbUcH55Iq7wtP Asolivscg/1nMXREkfO8SeRQhPgYkV9Ps3m6HQQsMfcXCOKU7jewhA4KE3y/xzDg73KI MrqA== X-Gm-Message-State: AOAM530DZ11XQDB7C4xoaulKONd3Ex9l+EVsL0MyErHkUisJbEF/cRpE sGyMsGc6zj8s9gn2AOIdCHhvag== X-Received: by 2002:a1c:f604:: with SMTP id w4mr4578911wmc.39.1610136912570; Fri, 08 Jan 2021 12:15:12 -0800 (PST) Received: from dell.default ([91.110.221.229]) by smtp.gmail.com with ESMTPSA id l8sm15598671wrb.73.2021.01.08.12.15.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Jan 2021 12:15:11 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 06/40] drm/amd/pm/powerplay/hwmgr/process_pptables_v1_0: Provide description of 'call_back_func' Date: Fri, 8 Jan 2021 20:14:23 +0000 Message-Id: <20210108201457.3078600-7-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/process_pptables_v1_0.c:1371: warning: Function parameter or member 'call_back_func' not described in 'get_powerplay_table_entry_v1_0' 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/process_pptables_v1_0.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/amd/pm/powerplay/hwmgr/process_pptables_v1_0.c b/drivers/gpu/drm/amd/pm/powerplay/hwmgr/process_pptables_v1_0.c index 741e03ad5311f..f2a55c1413f59 100644 --- a/drivers/gpu/drm/amd/pm/powerplay/hwmgr/process_pptables_v1_0.c +++ b/drivers/gpu/drm/amd/pm/powerplay/hwmgr/process_pptables_v1_0.c @@ -1362,6 +1362,7 @@ static int ppt_get_vce_state_table_entry_v1_0(struct pp_hwmgr *hwmgr, uint32_t i * @hwmgr: Pointer to the hardware manager. * @entry_index: The index of the entry to be extracted from the table. * @power_state: The address of the PowerState instance being created. + * @call_back_func: The function to call into to fill power state * Return: -1 if the entry cannot be retrieved. */ int get_powerplay_table_entry_v1_0(struct pp_hwmgr *hwmgr,