From patchwork Tue Nov 24 19:37:50 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 331421 Delivered-To: patch@linaro.org Received: by 2002:a92:5e16:0:0:0:0:0 with SMTP id s22csp795641ilb; Tue, 24 Nov 2020 11:44:39 -0800 (PST) X-Google-Smtp-Source: ABdhPJzRMeLru1yRkamr5PnLAmsFc6ncCICZPYBMvZOiwMRIkBfOB3TIqnYyxlc7hR9zAS7n6RrS X-Received: by 2002:a63:1a1d:: with SMTP id a29mr4876308pga.19.1606247079049; Tue, 24 Nov 2020 11:44:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606247079; cv=none; d=google.com; s=arc-20160816; b=Lap+WW3K+wr6lIRpVdKWhfkC4NODspjE8yqrdjeqsZni7R1zJGFl1t4VBUB+K2vqjE AlETnqMakbUrzmwNRyqbehezsZhecS4+sBctf1GNjjTQ2KKmqjrNTrBZOIiW/RX3bV2w A10zNE751DkSRWm9IY2UXc3z2RzuoTX7BOPXrRb+pB6h8dr4ULtHWkWDCRjd6p/w0urv 6ZQ9Hbp0+BNKkyBztR63Gy+prk0+UFzakZtxqk8BnShg9CP5syus20tfbuNxcv7Hc2eZ Ewr3HgpI7RPYW46K9ylozmT/DT3LelezBFtfqQHvmJp7/moVDuWeEUSB9wG9asnVK3AN 3Vyg== 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=K80bADB0CFg1cUbA4Txr0CIz8C90PCULBuMvyE180GA=; b=muGNE7CTxEqeKWoXq43VJPiQRU14UfzGkK5/jZMhBKTpcS88yeF05a9Z5KdTN2bmhu dNr0kq1le9g7JUJznvJGXG6YppAclScIDxKWCjTuwaNujNX5ceKWN3wm2V+y6MGr6HjJ u1ips1S53VsMn9iFsz9PxAjs0erRASi+B/p7JkxWK/bkzrC4NEjZnoiQygX2hOKvVvHk Odsw9BdHTpIU5mM42kHucjZj+zaC7VSGuMzPJEKO3QrbLobUTU6LMXFZWBW+zD207Et1 HeC46L6yrTkldOkPq7WJ4vC8Vy0nv+P3i5ABEyWi27mwQktIfauKTuxtiN1VDJYDGsET TPxg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=qiXoIqvC; 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 j71si1453499pgc.150.2020.11.24.11.44.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Nov 2020 11:44:39 -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=qiXoIqvC; 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 83B526E56A; Tue, 24 Nov 2020 19:44:30 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm1-x342.google.com (mail-wm1-x342.google.com [IPv6:2a00:1450:4864:20::342]) by gabe.freedesktop.org (Postfix) with ESMTPS id EE9976E544 for ; Tue, 24 Nov 2020 19:44:07 +0000 (UTC) Received: by mail-wm1-x342.google.com with SMTP id a3so80863wmb.5 for ; Tue, 24 Nov 2020 11:44:07 -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=Tr6g3sY0MoTTAswpPOODkkh+Vew/Ispj+AKTskHKpgk=; b=qiXoIqvCMOLUq4U1R3LxpHUjrA2UfLXQwtIgcDg/bve9rBIcBU6zvTPTLWB8mU41mJ yNesZnheuX8iEimQVaX1MYgbUJuApVl8SKZDd94qb8h193gkXpIH4PHoCquNcUd2KUaZ qzyEWjwYNhlCEelu6/qgYmDAobsZCOXW7W/HY6wDZFUzMWzzUnDs9v7Fmcbjb1xzc27f 9ZWepClRYIMa51Ty4Y/zahsIuPV7OHEC8Xz6kwomcfX7mNkdRZ/C8vy+FvdBYVNk4Pvv oqekY5Z5AMTu68tqKvBMEgM8QLEU/5s/+28bdXHPb3z0kOt3tUzcm+Xx/kktIquRTN1G +Yqw== 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=Tr6g3sY0MoTTAswpPOODkkh+Vew/Ispj+AKTskHKpgk=; b=VZPOH9u6KWdem9/e4ZTGr4naX9uxxDQyVXg20f1DUrA0t/nTaW8XsCUIvbg/DSJNlV GUPVH7AAlJV6RnFeNAqJHm6LsINkJQB5kWo5f0Ovdl4VWWrfnIw2Wf6JkH1OzzUqUS6a t9zFImyVUdDQJVq2Fupp2uu6B/Bq9xPFOmNk64uGKzT3Ctm8KgLJwH6vupwHQx2SmT8Q obOYf8bgBo9YUs5ijVNZeoItMrFc7pfXNeMUP2qaSFKLuKGkaQkkIrU3s4g+TLt30/US EU1NYDXQV5K7xlkx1qaMIQH7Uc/L09TT3FC3CCmN1vCY7Qvo/QGn1amgS5UC5F724xro 2pUA== X-Gm-Message-State: AOAM530jVJqnxEbc55lG/Ogc1o0buQSC31qlgCjscC3A+yI72XVDn4pE Td3dw744vHk6rcOACRFyx9RzXw== X-Received: by 2002:a05:600c:414b:: with SMTP id h11mr61966wmm.89.1606247046524; Tue, 24 Nov 2020 11:44:06 -0800 (PST) Received: from dell.default ([91.110.221.235]) by smtp.gmail.com with ESMTPSA id d134sm200511wmd.8.2020.11.24.11.44.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Nov 2020 11:44:05 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 06/40] drm/amd/amdgpu/cz_ih: Add missing function param descriptions for 'ih' and 'entry' Date: Tue, 24 Nov 2020 19:37:50 +0000 Message-Id: <20201124193824.1118741-7-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201124193824.1118741-1-lee.jones@linaro.org> References: <20201124193824.1118741-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 , =?utf-8?q?Christian_K=C3=B6?= =?utf-8?q?nig?= 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/cz_ih.c:191: warning: Function parameter or member 'ih' not described in 'cz_ih_get_wptr' drivers/gpu/drm/amd/amdgpu/cz_ih.c:223: warning: Function parameter or member 'ih' not described in 'cz_ih_decode_iv' drivers/gpu/drm/amd/amdgpu/cz_ih.c:223: warning: Function parameter or member 'entry' not described in 'cz_ih_decode_iv' drivers/gpu/drm/amd/amdgpu/cz_ih.c:253: warning: Function parameter or member 'ih' not described in 'cz_ih_set_rptr' 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/amdgpu/cz_ih.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/gpu/drm/amd/amdgpu/cz_ih.c b/drivers/gpu/drm/amd/amdgpu/cz_ih.c index 1dca0cabc326a..da37f8a900afb 100644 --- a/drivers/gpu/drm/amd/amdgpu/cz_ih.c +++ b/drivers/gpu/drm/amd/amdgpu/cz_ih.c @@ -179,6 +179,7 @@ static void cz_ih_irq_disable(struct amdgpu_device *adev) * cz_ih_get_wptr - get the IH ring buffer wptr * * @adev: amdgpu_device pointer + * @ih: IH ring buffer to fetch wptr * * Get the IH ring buffer wptr from either the register * or the writeback memory buffer (VI). Also check for @@ -213,6 +214,8 @@ static u32 cz_ih_get_wptr(struct amdgpu_device *adev, * cz_ih_decode_iv - decode an interrupt vector * * @adev: amdgpu_device pointer + * @ih: IH ring buffer to decode + * @entry: IV entry to place decoded information into * * Decodes the interrupt vector at the current rptr * position and also advance the position. @@ -245,6 +248,7 @@ static void cz_ih_decode_iv(struct amdgpu_device *adev, * cz_ih_set_rptr - set the IH ring buffer rptr * * @adev: amdgpu_device pointer + * @ih: IH ring buffer to set rptr * * Set the IH ring buffer rptr. */