Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp4123085pxu; Mon, 30 Nov 2020 18:38:09 -0800 (PST) X-Google-Smtp-Source: ABdhPJwnqUTB0nmExSGWcjaydncvUO3XaHxx6Jhy8UuqWYVsIkIlQg5gQVK2rdxkAEO/c3wTHrRR X-Received: by 2002:a50:e803:: with SMTP id e3mr833304edn.249.1606790289128; Mon, 30 Nov 2020 18:38:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606790289; cv=none; d=google.com; s=arc-20160816; b=MYJk7zJZacqpyL9i4puBqLM88Zfyp18+xeS1qBl4ijlDtdNnkj3XlSwyxlEpV+2DqQ /69hA/dIREUsFLRoOBNIyRbt2LjvUr4bApM3HMiC8AcevF6YTudYoaegVxDniSVipPBQ VGDE/PF0y8/GFa4ILC5hyRRYBSmzaWJcc1di8CPe+AbTwpXkeYsMBX3F1ZbCeqeHjDyJ 0cm3wuH/0OMcv414SpoxaXG3gjYYZFM0cNQuLLstw46ic6do9uNL2F9JGzBG9sCOFmKO NOWyFFam7Sl9AEKsDgls0ExQI0hjCL+2JdekAfN7JsBJFUAulyDweqct5/yNrwa5iV75 GKRQ== 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=eO3myOm8MSK3jyKjYE6sMfesyVv9C6pfY7cNZHqo3js=; b=wuYP5ap/OHUtHggP+Nksc4RsoWmH0ymxy+Icc/0NdyN3AiozjIoBUFBhVdL+ElJLGe hGFt6hmGohrGqfH3BBKHPa96ZunyPYCJ/anV7wEfxaS9khYaNtZnxxVEcNCw6sOhLAek kAdkjpN0hFp5WRIX2ksbNoX756U3nvU5AubVo/DBen+wEOheolhmEZNS28e1nbg1E2Az mwfkSBt94UH8sR4/Vfm+T0uVRJrzHPBNpuyD8LrF3Z9wY5aN9DkA51tIOFi/mymGcSWn tl0MrvCXJppCvTf2ctth7nD5I93eGRH55bfcVzAPuABY1E/D8EyVzWlnfGyVGjo/mR1c XBQg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Ft9qg+Nf; 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 h14si322011edl.381.2020.11.30.18.37.46; Mon, 30 Nov 2020 18:38:09 -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=Ft9qg+Nf; 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 S1730603AbgK3WYG (ORCPT + 99 others); Mon, 30 Nov 2020 17:24:06 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36902 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728649AbgK3WYF (ORCPT ); Mon, 30 Nov 2020 17:24:05 -0500 Received: from mail-oo1-xc41.google.com (mail-oo1-xc41.google.com [IPv6:2607:f8b0:4864:20::c41]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 49EB9C0613CF; Mon, 30 Nov 2020 14:23:25 -0800 (PST) Received: by mail-oo1-xc41.google.com with SMTP id t23so3064555oov.4; Mon, 30 Nov 2020 14:23:25 -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=eO3myOm8MSK3jyKjYE6sMfesyVv9C6pfY7cNZHqo3js=; b=Ft9qg+NfmRqwqdcs5nYKUDh3oSYc2N6RMyX7+xwnOd3+9n5wk9Q1UeHrDWNhiyMGRU ouXJHJ7yKdq9U+kVaDwpk9VxxuredEmDVoprLf5VqOkMG5oCB9LJ6XNWQcOn4zcXFHP+ Fyfa2vwVD/EEkZbd8RZqC0xb1k/l9W5RjAeQKGBWvDmcqijedH6S4/2itEu+dNW+2dpc 2vjHWiS15vMS6HxbH9HIjcpMDCiRpiq2Qd9iRtE97KzYaFBqiaEn/nCd/EypEy/DZUv8 nTkBuqCbUQbtTgekaj5/ZkV2dyUG1Sgqdj0PMy0kDmDcoJiV08rHNwXboy82oxoYKKM7 jEXQ== 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=eO3myOm8MSK3jyKjYE6sMfesyVv9C6pfY7cNZHqo3js=; b=iUlDf2nv+MHe9gcshyzKJaP2gCQQ1zILtQRenovgYMutivlf1ZSi/0amTXNt4ILODT YTCBs9Wel5ggq4qdrakYd2Wy7zXw+xhYOTOS9HZi9fnWJM0uH6uqUXh9g0lsId1R/iGX vzfXfEsasF5blt4GBgoJVM/FGg5f1AGF8uTgN4dJ6mTRjKXyevYnLTPK/4gOUagkoUD7 ErDwvudJ/ZCa+wINRKNJAy0lt5aKtVsUBDO+yGNPIK/Jl/V/wfwS6kkAKbwcUBIKroSZ GEhgJSE9Ik4ZshiTxia3/6hJ9qzqEQpUcDrFPPoyV5hET3IauMjRHlgLj2KprlskZp/R PpIw== X-Gm-Message-State: AOAM530RJuH2woqj28vXh6qJofPPDAtnofOO5vv9Vg5k+rWJMBfgdNYH echvfBQKuzRwNLmwVmK26r75n4+0KX4/2Z3rjqE= X-Received: by 2002:a4a:d5d3:: with SMTP id a19mr17099613oot.61.1606775004742; Mon, 30 Nov 2020 14:23:24 -0800 (PST) MIME-Version: 1.0 References: <20201124193824.1118741-1-lee.jones@linaro.org> <20201124193824.1118741-18-lee.jones@linaro.org> In-Reply-To: <20201124193824.1118741-18-lee.jones@linaro.org> From: Alex Deucher Date: Mon, 30 Nov 2020 17:23:13 -0500 Message-ID: Subject: Re: [PATCH 17/40] drm/amd/amdgpu/sdma_v2_4: Fix a bunch of kernel-doc function documentation issues To: Lee Jones Cc: David Airlie , LKML , amd-gfx list , =?UTF-8?Q?Christian_K=C3=B6nig?= , "moderated list:DMA BUFFER SHARING FRAMEWORK" , Maling list - DRI developers , Alex Deucher , linux-media 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:45 PM Lee Jones wrote: > > Fixes the following W=3D1 kernel build warning(s): > > drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c:254: warning: Function parameter = or member 'job' not described in 'sdma_v2_4_ring_emit_ib' > drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c:254: warning: Function parameter = or member 'flags' not described in 'sdma_v2_4_ring_emit_ib' > drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c:310: warning: Function parameter = or member 'addr' not described in 'sdma_v2_4_ring_emit_fence' > drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c:310: warning: Function parameter = or member 'seq' not described in 'sdma_v2_4_ring_emit_fence' > drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c:310: warning: Function parameter = or member 'flags' not described in 'sdma_v2_4_ring_emit_fence' > drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c:310: warning: Excess function par= ameter 'fence' description in 'sdma_v2_4_ring_emit_fence' > drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c:598: warning: Function parameter = or member 'timeout' not described in 'sdma_v2_4_ring_test_ib' > drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c:747: warning: Function parameter = or member 'ring' not described in 'sdma_v2_4_ring_pad_ib' > drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c:799: warning: Function parameter = or member 'vmid' not described in 'sdma_v2_4_ring_emit_vm_flush' > drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c:799: warning: Function parameter = or member 'pd_addr' not described in 'sdma_v2_4_ring_emit_vm_flush' > drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c:799: warning: Excess function par= ameter 'vm' description in 'sdma_v2_4_ring_emit_vm_flush' > drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c:1205: warning: Function parameter= or member 'ib' not described in 'sdma_v2_4_emit_copy_buffer' > drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c:1205: warning: Function parameter= or member 'tmz' not described in 'sdma_v2_4_emit_copy_buffer' > drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c:1205: warning: Excess function pa= rameter 'ring' description in 'sdma_v2_4_emit_copy_buffer' > drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c:1230: warning: Function parameter= or member 'ib' not described in 'sdma_v2_4_emit_fill_buffer' > drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c:1230: warning: Excess function pa= rameter 'ring' description in 'sdma_v2_4_emit_fill_buffer' > > Cc: Alex Deucher > Cc: "Christian K=C3=B6nig" > Cc: David Airlie > Cc: Daniel Vetter > Cc: Sumit Semwal > Cc: amd-gfx@lists.freedesktop.org > Cc: dri-devel@lists.freedesktop.org > Cc: linux-media@vger.kernel.org > Cc: linaro-mm-sig@lists.linaro.org > Signed-off-by: Lee Jones Applied with minor changes. Thanks! Alex > --- > drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c | 16 ++++++++++++---- > 1 file changed, 12 insertions(+), 4 deletions(-) > > diff --git a/drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c b/drivers/gpu/drm/amd= /amdgpu/sdma_v2_4.c > index 5f304d61999eb..22e9e4fe561d9 100644 > --- a/drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c > +++ b/drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c > @@ -243,7 +243,9 @@ static void sdma_v2_4_ring_insert_nop(struct amdgpu_r= ing *ring, uint32_t count) > * sdma_v2_4_ring_emit_ib - Schedule an IB on the DMA engine > * > * @ring: amdgpu ring pointer > + * @job: job to retrive vmid from > * @ib: IB object to schedule > + * @flags: unused > * > * Schedule an IB in the DMA ring (VI). > */ > @@ -299,7 +301,9 @@ static void sdma_v2_4_ring_emit_hdp_flush(struct amdg= pu_ring *ring) > * sdma_v2_4_ring_emit_fence - emit a fence on the DMA ring > * > * @ring: amdgpu ring pointer > - * @fence: amdgpu fence object > + * @addr: address > + * @seq: sequence number > + * @flags: fence related flags > * > * Add a DMA fence packet to the ring to write > * the fence seq number and DMA trap packet to generate > @@ -590,6 +594,7 @@ static int sdma_v2_4_ring_test_ring(struct amdgpu_rin= g *ring) > * sdma_v2_4_ring_test_ib - test an IB on the DMA engine > * > * @ring: amdgpu_ring structure holding ring information > + * @timeout: timeout value in jiffies, or MAX_SCHEDULE_TIMEOUT > * > * Test a simple IB in the DMA ring (VI). > * Returns 0 on success, error on failure. > @@ -740,6 +745,7 @@ static void sdma_v2_4_vm_set_pte_pde(struct amdgpu_ib= *ib, uint64_t pe, > /** > * sdma_v2_4_ring_pad_ib - pad the IB to the required number of dw > * > + * @ring: amdgpu_ring structure holding ring information > * @ib: indirect buffer to fill with padding > * > */ > @@ -789,7 +795,8 @@ static void sdma_v2_4_ring_emit_pipeline_sync(struct = amdgpu_ring *ring) > * sdma_v2_4_ring_emit_vm_flush - cik vm flush using sDMA > * > * @ring: amdgpu_ring pointer > - * @vm: amdgpu_vm pointer > + * @vmid: vmid number to use > + * @pd_addr: address > * > * Update the page table base and flush the VM TLB > * using sDMA (VI). > @@ -1188,10 +1195,11 @@ static void sdma_v2_4_set_irq_funcs(struct amdgpu= _device *adev) > /** > * sdma_v2_4_emit_copy_buffer - copy buffer using the sDMA engine > * > - * @ring: amdgpu_ring structure holding ring information > + * @ib: indirect buffer to copy to > * @src_offset: src GPU address > * @dst_offset: dst GPU address > * @byte_count: number of bytes to xfer > + * @tmz: unused > * > * Copy GPU buffers using the DMA engine (VI). > * Used by the amdgpu ttm implementation to move pages if > @@ -1216,7 +1224,7 @@ static void sdma_v2_4_emit_copy_buffer(struct amdgp= u_ib *ib, > /** > * sdma_v2_4_emit_fill_buffer - fill buffer using the sDMA engine > * > - * @ring: amdgpu_ring structure holding ring information > + * @ib: indirect buffer to copy to > * @src_data: value to write to buffer > * @dst_offset: dst GPU address > * @byte_count: number of bytes to xfer > -- > 2.25.1 > > _______________________________________________ > dri-devel mailing list > dri-devel@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/dri-devel