Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp3994108pxu; Mon, 30 Nov 2020 15:10:21 -0800 (PST) X-Google-Smtp-Source: ABdhPJyC5SFCT/0jiBdDVOE+FHXPCN5b1zKyNAHGp5a/MhqfvmVUPAtO4AqFClrXmnnk1vFBDitX X-Received: by 2002:a05:6402:150b:: with SMTP id f11mr45125edw.332.1606777821682; Mon, 30 Nov 2020 15:10:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606777821; cv=none; d=google.com; s=arc-20160816; b=cNgPieup1cvBcNUb/e6ukEdo92YwLGe80BneuAH7JAVkdb9yCutKdw4J7zpglAjNFB P17cCprfiiw9841Zf4dwrEBfp4X2j3dSgHZDOUHI19t/XCwB2kYrriygfXxKGyZXsl6m KCFeHdBaGVVKGc1FdIfMprx2GnYaCIbtpYilBqI8+8LJwJUTCXW2O1AStbQzq/nAGL8f cZNX4R7NVFA5rCvluRSZn9KryuqppzNxbB2C4AZvnZf2iUajPO2DS4BqNRxJUaO/TbHQ tgo3YoTo7+54aKXjXN9NlgItEJScgMS5dESLckLUlVvip8DZXy0JAOjMORhTGhpUHBMh 9fyQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=sPlomFmiOATP5cy+/4gpZg1TKtOtldAuJ6wnb9I5pMM=; b=zhXdxQynCkhrGlmCcHbHRSONNuNG08QSSH54EO58cVjg63hCDP9GHyt5zACn/TbOZS 7XvASUM1KMaB8WppD1j39BBkHZfn/g0XtWogQbM4lJBDUko4XhQYCCRui6hYuLQUJZdU 6So4F55PMHrY4PMtHU+Z96AV2g5KWOny0o/CUot5QtiOmSRiaXat7LmB98aYDV/gDKjX irO+M6Igve2yUp3Tr+8j0rSR3UjyME9QadUKj8OrnevP1lzVxRQaZSWzr+O+nx7zYMJ/ G9EiC4hpOAaSWO+GVZnO0Lh4Dv7i/HtZ5PWdqRBu/YR97AFH2v76vjYkt+L6eRln7ZQ2 YNfQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="Q4AF5f3/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bs12si1759865ejb.127.2020.11.30.15.09.58; Mon, 30 Nov 2020 15:10:21 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="Q4AF5f3/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730504AbgK3WKd (ORCPT + 99 others); Mon, 30 Nov 2020 17:10:33 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34812 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730465AbgK3WKd (ORCPT ); Mon, 30 Nov 2020 17:10:33 -0500 Received: from mail-oi1-x243.google.com (mail-oi1-x243.google.com [IPv6:2607:f8b0:4864:20::243]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1AFE9C0613CF for ; Mon, 30 Nov 2020 14:09:53 -0800 (PST) Received: by mail-oi1-x243.google.com with SMTP id y74so15930399oia.11 for ; Mon, 30 Nov 2020 14:09:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=sPlomFmiOATP5cy+/4gpZg1TKtOtldAuJ6wnb9I5pMM=; b=Q4AF5f3/ekxxAWG9G7L7o+NUb6iuhCzY2f7My8hBAiKN2sWZ1MrJNHNFbY4oVba4hz 7wcRa2wM0kiZwXBVeVP/IMA7+raGMMGzebLNDbcqMj2kWUI6r8ujix+ZRhj/SzLXTUch nBX++UpSMkxMT/RAg+F7Pt7phEa8QDc7C75yDs+21p34kYIU7qfkkbQzmn4WheTQim+E 5zp37rdiQGqvDceGr2V1hrFBJGY9HLBMHVvKtIGN9GHBA3/ZrGUA56eh8Qo25zSPS1fk W5B+7T8ATK6lYmMzvy/Z2bVEW31jM1JaYsievwW3I/zAmu/qoCt/rbzbvlutcCdQbIaN ggNg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=sPlomFmiOATP5cy+/4gpZg1TKtOtldAuJ6wnb9I5pMM=; b=kSK0QkEtdvaPoENJhnwOLONxNebJ3vjgaohZ49rr5ACeaoYT6Y29jipmoARFq6OYWL k4mlNBKs6nLuz11JkdR8t5KWC93CJEt8aExl2LDDSlagHHDlP2WAWTw3gz/s3ego3baz ITaB+i23yVO9SWuzNX9iW16BUiU9Ji5z/L/QAZCtZ/r6BnKRpWHtSL1MKR21xTYZZ0ie j6B8HhxWfm1jjA0p1ipwPCSb82D+LgzzalJRMOJbKQ7rY6gTDHHBuaWjpBZwDz8z4i0v rKIw7FhvQcxRUFPDPcK86K197cyKvl0DMxh3kWa5IP6ahRII2lgNauVGrGf/OeDXxhMb VktQ== X-Gm-Message-State: AOAM53217A6LZOUnBGDjaQ3H9oJtFQrq6R4kWLrrNTQ712Oj3ZeGh/pH D6ow+KEweijEvr43ceYoSfRYE3GwMreCPP2JKwU= X-Received: by 2002:aca:f50e:: with SMTP id t14mr833840oih.123.1606774192588; Mon, 30 Nov 2020 14:09:52 -0800 (PST) MIME-Version: 1.0 References: <20201124193824.1118741-1-lee.jones@linaro.org> <20201124193824.1118741-10-lee.jones@linaro.org> In-Reply-To: <20201124193824.1118741-10-lee.jones@linaro.org> From: Alex Deucher Date: Mon, 30 Nov 2020 17:09:41 -0500 Message-ID: Subject: Re: [PATCH 09/40] drm/amd/amdgpu/vega10_ih: Add descriptions for 'ih' and 'entry' To: Lee Jones Cc: Zhigang Luo , David Airlie , LKML , amd-gfx list , Maling list - DRI developers , Alex Deucher , =?UTF-8?Q?Christian_K=C3=B6nig?= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Nov 24, 2020 at 2:44 PM Lee Jones wrote: > > Fixes the following W=3D1 kernel build warning(s): > > drivers/gpu/drm/amd/amdgpu/vega10_ih.c:377: warning: Function parameter = or member 'ih' not described in 'vega10_ih_get_wptr' > drivers/gpu/drm/amd/amdgpu/vega10_ih.c:440: warning: Function parameter = or member 'ih' not described in 'vega10_ih_decode_iv' > drivers/gpu/drm/amd/amdgpu/vega10_ih.c:440: warning: Function parameter = or member 'entry' not described in 'vega10_ih_decode_iv' > drivers/gpu/drm/amd/amdgpu/vega10_ih.c:480: warning: Function parameter = or member 'ih' not described in 'vega10_ih_irq_rearm' > drivers/gpu/drm/amd/amdgpu/vega10_ih.c:513: warning: Function parameter = or member 'ih' not described in 'vega10_ih_set_rptr' > > Cc: Alex Deucher > Cc: "Christian K=C3=B6nig" > Cc: David Airlie > Cc: Daniel Vetter > Cc: Zhigang Luo > Cc: amd-gfx@lists.freedesktop.org > Cc: dri-devel@lists.freedesktop.org > Signed-off-by: Lee Jones Applied. Thanks! Alex > --- > drivers/gpu/drm/amd/amdgpu/vega10_ih.c | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git a/drivers/gpu/drm/amd/amdgpu/vega10_ih.c b/drivers/gpu/drm/amd= /amdgpu/vega10_ih.c > index 407c6093c2ec0..578fdee5b9758 100644 > --- a/drivers/gpu/drm/amd/amdgpu/vega10_ih.c > +++ b/drivers/gpu/drm/amd/amdgpu/vega10_ih.c > @@ -366,6 +366,7 @@ static void vega10_ih_irq_disable(struct amdgpu_devic= e *adev) > * vega10_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 (VEGA10). Also check for > @@ -430,6 +431,8 @@ static u32 vega10_ih_get_wptr(struct amdgpu_device *a= dev, > * vega10_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. > @@ -473,6 +476,7 @@ static void vega10_ih_decode_iv(struct amdgpu_device = *adev, > * vega10_ih_irq_rearm - rearm IRQ if lost > * > * @adev: amdgpu_device pointer > + * @ih: IH ring to match > * > */ > static void vega10_ih_irq_rearm(struct amdgpu_device *adev, > @@ -505,6 +509,7 @@ static void vega10_ih_irq_rearm(struct amdgpu_device = *adev, > * vega10_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. > */ > -- > 2.25.1 > > _______________________________________________ > dri-devel mailing list > dri-devel@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/dri-devel