From patchwork Tue Nov 24 19:37:48 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 331408 Delivered-To: patch@linaro.org Received: by 2002:a92:5e16:0:0:0:0:0 with SMTP id s22csp795338ilb; Tue, 24 Nov 2020 11:44:09 -0800 (PST) X-Google-Smtp-Source: ABdhPJwKpJ/PjwYJqyet3YL1vmLnoXoVKyTuiElF1nRUjXd6t12DJHtxFuQ/VgiYSzdL28i17u8z X-Received: by 2002:a17:90a:ca97:: with SMTP id y23mr191421pjt.186.1606247049232; Tue, 24 Nov 2020 11:44:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606247049; cv=none; d=google.com; s=arc-20160816; b=y3TEZ4KdZ/hWWj25YPHRhOCVkJiNzBc1nHPyUmo6JkFM8ja+zLMWk6Z3+gFl1tZ3pV mrhgtUb9zO8IQ865yLOC3kwmwJQdTIND9Y1ELPxLi0SLW6ALnbYTM+vg/RhCTqx3D5sr Sm3HRxWXHvMl6VSpFF6xyQZCPidZfoLpNZkV0JZKwd+WXTh5EiQ+TzfyuDeSBJGPV31X 2jDRqcfK72nhWlAxol51viPKp3ec35QlAJZDbL6HB2en17Xgk/zir4GO0MUAYk/f78eO IS9W3Jdmkn4+L4E3xZSTSJunwMp54zCwzi1YWawxLRqn8KrimZTPdzc2uD6pWpnNfho+ bBog== 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=Ykp58wKUkuEjoig0LWDTmAwSFPQCm04ZBhU/4RqYdpw=; b=GITkj0T2JuuYw7P+ulvNRhjtdyAiV0W3LVYO+8sOQzekgpeJDQg2/ZcHBwuJargIRK smDyvXKiWQ9hEcq9ull1YTSTvtSNut/p9JwE6VyhOlbyQUqwqBzEZVopHENO8sPZ/A5k /jrl9jz1a9WAGFNIkfC2I+TmVaPdur2mhUm+f9oIw8dfVxFfS0CJOXWQuj2SC34NOuXx 5Nk1yeQsuDd1Co9E7pnCi5ong3slKMxW69s/3/rHpvInOtYKvERlXC/Am9yepAqLDDdB YrcZHNRjuvRMHF5ocVP7Jazs7C6GonZPFZ6lcBY5GUoaHnKzaFYDN6L5PDQn1U64FMfP s2RQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=QXlVUxy6; 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 k1si45117pll.203.2020.11.24.11.44.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Nov 2020 11:44:09 -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=QXlVUxy6; 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 349D06E532; Tue, 24 Nov 2020 19:44:06 +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 7311B6E530 for ; Tue, 24 Nov 2020 19:44:05 +0000 (UTC) Received: by mail-wm1-x342.google.com with SMTP id h21so95639wmb.2 for ; Tue, 24 Nov 2020 11:44:05 -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=L1J0FZrjGGbUvQrx4IUztzi5KvWWyU4p9mOY8CTJ3cA=; b=QXlVUxy6zeD7fG03DNRKZjOqWu/z5RftRerC7Nod0O6W82BFawtqlxypHgaR1y9cfS k4JVEcy4z2Sokjv0yUDlvFXL5rq2nVg+yG/XbM1ihly/c3pBUyKJBBqvWsEU772LQEJi IWtiAhdZe3S/MYFSU926bn1kXQwdlXGWXdZ+XUY5cN4hL72ZhijYDA/HDl1sh1wAwNu5 XHyg/zNL2MIRxkfwfrh8n2HtZZohtLXDT9KfKPmgENUntqkpNScWvK+SWC/Pfwfq38MM P4fDdeodGJmFfOFLqHbuJ62dssNCTGpSfSnlew6jTU30F5HKWC0TY1t5QwaH7HwKEP+v vhUQ== 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=L1J0FZrjGGbUvQrx4IUztzi5KvWWyU4p9mOY8CTJ3cA=; b=OeTiT+Ad72nCstZfEOHDpYMrGUeFCql5BQ/HepoVBoE9cc5810PIeG1E2oI48VX3DY Yd3N85UQqh7YzJfKXEo/dY68Avz/8KkzbHPhM73A/0eVoh5Llb3LjPQ3K6yxf5xlo4NM elJiIfwTOAUuTpHVP//ScPENLkACu7T7w2YIlvy/rcf92W+Yooz5lYmqL2hEdrZYEvAA hKtvIFkf9K0kH9Dg0O7i1xuMQJVaWUqgoVKuCtaqTYCej7xJo4m1U8nlqSqTpswLCxiy H6y1EvXlC5FWYpDNerPpDqZmy5PCPuovArmk3N9oTBN2cetUocXX/ODt183M9ZVrWLmX CvKg== X-Gm-Message-State: AOAM5303LcAD8JkjlmkQFAzSNLVAs131zBWgdjxRQRGEnGsDeV0gMUOh YrccSZojyR6+/2Mxo+BLbzhHlYFuC9+xqSaZ X-Received: by 2002:a7b:cf2b:: with SMTP id m11mr134617wmg.163.1606247044173; Tue, 24 Nov 2020 11:44:04 -0800 (PST) Received: from dell.default ([91.110.221.235]) by smtp.gmail.com with ESMTPSA id d134sm200511wmd.8.2020.11.24.11.44.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Nov 2020 11:44:03 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 04/40] drm/amd/amdgpu/iceland_ih: Add missing function param descriptions for 'ih' and 'entry' Date: Tue, 24 Nov 2020 19:37:48 +0000 Message-Id: <20201124193824.1118741-5-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/iceland_ih.c:191: warning: Function parameter or member 'ih' not described in 'iceland_ih_get_wptr' drivers/gpu/drm/amd/amdgpu/iceland_ih.c:223: warning: Function parameter or member 'ih' not described in 'iceland_ih_decode_iv' drivers/gpu/drm/amd/amdgpu/iceland_ih.c:223: warning: Function parameter or member 'entry' not described in 'iceland_ih_decode_iv' drivers/gpu/drm/amd/amdgpu/iceland_ih.c:253: warning: Function parameter or member 'ih' not described in 'iceland_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/iceland_ih.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/gpu/drm/amd/amdgpu/iceland_ih.c b/drivers/gpu/drm/amd/amdgpu/iceland_ih.c index a13dd9a51149a..37d8b6ca4dab8 100644 --- a/drivers/gpu/drm/amd/amdgpu/iceland_ih.c +++ b/drivers/gpu/drm/amd/amdgpu/iceland_ih.c @@ -179,6 +179,7 @@ static void iceland_ih_irq_disable(struct amdgpu_device *adev) * iceland_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 iceland_ih_get_wptr(struct amdgpu_device *adev, * iceland_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 iceland_ih_decode_iv(struct amdgpu_device *adev, * iceland_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. */