Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp2043252pxu; Tue, 24 Nov 2020 15:39:42 -0800 (PST) X-Google-Smtp-Source: ABdhPJxXnBS20deelkpcldaJUC2LKO36atxWZHk/vm+SmLnXPFlBasxWlTY3IL/RrlXyU+2hux1J X-Received: by 2002:a17:907:250c:: with SMTP id y12mr779982ejl.367.1606261182640; Tue, 24 Nov 2020 15:39:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606261182; cv=none; d=google.com; s=arc-20160816; b=XV+juDQoI7HTiesHt0GX/ala0ZAuEJRCaGIIp52F2kMrdK+alBhrY6YXs9dxeqsQKj CBKu9KS+EFIWhCTy93F+ESkZB4EIRyet8Mmw0Le3aUlBp9cM9/fATN+2LuQhh1AsM4vb Z+Kh5TeKqBXulhYNSDp6ikA7q/9nsFEkHNsXj0RuQY5/vbINVzgpDNe8Bvhvc+jtbD6V 9Gw9gEYytaVgOl2ktK57QgRDDqj0b+pavUA9CZh45Kflmk68P0ukLHg+lreSH0n9cy/l PIJSmSHjxUzoZFRRUJUpbr6+bRxuM5r+zbnp7OwtgG/zE3WYLQL729Ionta/wxIo7aOk Lfag== 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=7HGiO0DgR9eXvqkxA8eOYyORP/pAS/lYW6lSD1i1EXI=; b=W3Rle18NExqwFuEw5pwM+8xESrZ1IBNtySrCQsxi278lL63kYt79cWmAGuT1dIiZS+ GFlRpbEYd/JBmU6J/XI6NZngmaxId8rbjv5fx2xAMFMj/udqkDbmc45Gj3xQeYKwd1wQ cTikDDBJVq9u0v6kn7JzxWzEgItyvAUJDvTQNljbWVn7L4WHIQPTJSxpCwLtOhwEdyFo vS7pm/AHsm+xGe/POj+X4R3eDuXuJHPxyYOj18dInvqVzlNrIRY3gG3QoqcLMR4M6jCx V0p8mfnc6mVQ8MOAS6IsdiceHhW6nxkdV1YiSIhroYWEhusgg2UA2o1DpcZKd15ouak9 tEeA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=i4zQwZN2; 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 p15si161864edx.69.2020.11.24.15.39.19; Tue, 24 Nov 2020 15:39:42 -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=i4zQwZN2; 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 S2390283AbgKXQTZ (ORCPT + 99 others); Tue, 24 Nov 2020 11:19:25 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60314 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388568AbgKXQTY (ORCPT ); Tue, 24 Nov 2020 11:19:24 -0500 Received: from mail-wm1-x342.google.com (mail-wm1-x342.google.com [IPv6:2a00:1450:4864:20::342]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 468E8C0613D6; Tue, 24 Nov 2020 08:19:24 -0800 (PST) Received: by mail-wm1-x342.google.com with SMTP id a65so3465423wme.1; Tue, 24 Nov 2020 08:19:24 -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=7HGiO0DgR9eXvqkxA8eOYyORP/pAS/lYW6lSD1i1EXI=; b=i4zQwZN2jbnV5TFiUsIybhPvEcn/SA4ob58frZNxSiSy8XYTfX0yCfngM6U73z+HRz Gak74tqXM8qCD7Jd6g/scdbe2T5/TXFAT0vEAsWBgfqxMm+S25fDyCbAmaDlVcsuENCi 6emutj2AKoonRuyv9grPOHSI8hKmlc0gEsxe9U/7roehsl93sG3ictaVRAb9UWGeGUUq iC3NPw14YdoC40jf3DB8GrViRyaLFKRx3vBy8t3cvwlT9zqpIQTvvwbfwZagvH9mT7fJ +2pmZf1Js4B30E7eKKApgLDjKxZ269DlcdliYuVgparSy/qX3NHW4BXpNFIFgBJeKlWb B5XA== 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=7HGiO0DgR9eXvqkxA8eOYyORP/pAS/lYW6lSD1i1EXI=; b=hYi5d3yhurw2eRvJ0z0RlFEssHz4z2LJ1EDigX/jOOffy8pL6UPlmsUvChc0OcY/ft jG2RN3fD14Oprv4G78aPDhwLoABOGa1OpFE9oq1TvBqru2x7qM/SWeRgI5s+NKDNjXjd MUvD6Vp5N1k4DRVw+mzGcZ648yfP6ZUQJ23yknsGHviDVQEUz5ko01yq7OVpZpFdivY3 mIigs3Q+owP9d4Jav06cD+G5P677ScO0Y5frq3WH53M0AVXerShLLPZY4vYfNM5dQLMW 8cBRYbQRlFy0CJ/hdBOV891HjOW24Z7ukcipJzrc5+DCGIRPZSTkHU7vZKDCxZ/rFTU1 9AqA== X-Gm-Message-State: AOAM531v2bVgQ/LsC7Cdzi3kmv/3gOie2mmD+is3xttxcTmZZ9WTeDP+ WvfxE+cHRF2on8XbnLwzmbM5Fbs5AAPrYqoCVuk3ui4I X-Received: by 2002:a1c:1c3:: with SMTP id 186mr5127721wmb.39.1606234763015; Tue, 24 Nov 2020 08:19:23 -0800 (PST) MIME-Version: 1.0 References: <20201123111919.233376-1-lee.jones@linaro.org> <20201123111919.233376-34-lee.jones@linaro.org> In-Reply-To: <20201123111919.233376-34-lee.jones@linaro.org> From: Alex Deucher Date: Tue, 24 Nov 2020 11:19:12 -0500 Message-ID: Subject: Re: [PATCH 33/40] drm/amd/amdgpu/cik_sdma: Add one and remove another function param description 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 Mon, Nov 23, 2020 at 6:20 AM Lee Jones wrote: > > Fixes the following W=3D1 kernel build warning(s): > > drivers/gpu/drm/amd/amdgpu/cik_sdma.c:282: warning: Function parameter o= r member 'flags' not described in 'cik_sdma_ring_emit_fence' > drivers/gpu/drm/amd/amdgpu/cik_sdma.c:282: warning: Excess function para= meter 'fence' description in 'cik_sdma_ring_emit_fence' > > 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/cik_sdma.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/gpu/drm/amd/amdgpu/cik_sdma.c b/drivers/gpu/drm/amd/= amdgpu/cik_sdma.c > index f1e9966e7244e..28a64de8ae0e6 100644 > --- a/drivers/gpu/drm/amd/amdgpu/cik_sdma.c > +++ b/drivers/gpu/drm/amd/amdgpu/cik_sdma.c > @@ -271,7 +271,7 @@ static void cik_sdma_ring_emit_hdp_flush(struct amdgp= u_ring *ring) > * @ring: amdgpu ring pointer > * @addr: address > * @seq: sequence number > - * @fence: amdgpu fence object > + * @flags: fence related flags > * > * Add a DMA fence packet to the ring to write > * the fence seq number and DMA trap packet to generate > @@ -279,7 +279,7 @@ static void cik_sdma_ring_emit_hdp_flush(struct amdgp= u_ring *ring) > */ > static void cik_sdma_ring_emit_fence(struct amdgpu_ring *ring, u64 addr,= u64 seq, > unsigned flags) > -{ > + { > bool write64bit =3D flags & AMDGPU_FENCE_FLAG_64BIT; > /* write the fence */ > amdgpu_ring_write(ring, SDMA_PACKET(SDMA_OPCODE_FENCE, 0, 0)); > -- > 2.25.1 > > _______________________________________________ > dri-devel mailing list > dri-devel@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/dri-devel