Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp677653pxb; Thu, 12 Nov 2020 13:31:22 -0800 (PST) X-Google-Smtp-Source: ABdhPJxjn6QUzpWnuL3DAvtsJFPqWtJZ+qaJvjDUTmCzNsNtLn1t1/Wyuj3vlxlBaCgMBl3dWg6T X-Received: by 2002:a17:906:50e:: with SMTP id j14mr1256054eja.403.1605216682145; Thu, 12 Nov 2020 13:31:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605216682; cv=none; d=google.com; s=arc-20160816; b=ZyZMx5oUZxaRpSx+2OYW0pMDU+R/URB+tYRZLYOXlXZOprjmBIxZ51MX3h/piwbgtm 1zeCoZhFwHMxy7PjTNQgCkxzb+jtwYyaz0N5XAamLPfPkncaundG78xz7rOrO4nbahFz uC7LSeI60429m7fSnotN6VLwwMYy4FNQNHDVNKh/OjTMI8ubarS8tcUt7rThhKQnJ0l6 NA6paz8nWCgdVxCgrIOBTFL1/ZljHSXez15do4hQsI2dHqBGcowTx7kQE+GedY4cQyHh rasUE9nskT9pQrloNFlOawulex83nnA0oC7x/hIu4M3oVNvgflhGeM3OHc8InHcrL1NT fFtQ== 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=G2BYNuIxlaObS9p75wcHPXenJKV2OHZTqCiRZ3u3/NU=; b=L1l/ZhMSMmSLa4EfYDMNRW6WTSwFdkql2D6hGz8v6gZax1loBAMdoqwRRtlV6RU4R2 ItPk+bvMSxXzc55Q75xygc22OINaPFiYoA7x/efXahsrCnAqCdxcr7wd1MhkOEV+4TEK kKkR4g+zNUfrWkRWpjS+Q+CHrfhNPVIYLEW+CmyGZd6bsGSfHFgx+WREJVgjUzYD1vzn so9jKhhVNVfZB5Te8E6FDh37niq4DJShYK+CDdo4i6HR7ImbfNFx5ParN/o2FlNWdF6o n3t4zBUaxIErSUkIQ2kj+YCqHPjf2tU+miVbzesd7WtD2X70WQ6TlClCGq8r6Nz19eU5 WIDw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=MjSmxuzU; 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 b13si4405317eje.225.2020.11.12.13.30.58; Thu, 12 Nov 2020 13:31:22 -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=MjSmxuzU; 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 S1727287AbgKLV2z (ORCPT + 99 others); Thu, 12 Nov 2020 16:28:55 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39782 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726960AbgKLV2y (ORCPT ); Thu, 12 Nov 2020 16:28:54 -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 40AF4C0613D1; Thu, 12 Nov 2020 13:28:54 -0800 (PST) Received: by mail-wm1-x342.google.com with SMTP id c9so6468664wml.5; Thu, 12 Nov 2020 13:28:54 -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=G2BYNuIxlaObS9p75wcHPXenJKV2OHZTqCiRZ3u3/NU=; b=MjSmxuzUy3A5nn2fW066uU93yV94ooVSUHoz6odmOf1nsFJ03GGRyLVDJVCSyYOY85 8u7A1f43k99+/zp9KJUZ2aXt3pkZ1x1fbWRfRDFXLwnOd0EX6W7bfBuG6Ww0CSZQOD5K xeM7/Xw2pc+2/ZRW7NKqr3he6CaUEQfzuswJ5vpMnSp0tz3natDcFiqp0DOwAisWXBdt AShV7rRe5dbd74S0/maGQK0u88EIwPn/JgtF5Rc0Xy8N2FCLafPZGvKYSWRxzZVYUYdT VaTklWmbH8dCI6aK/0sv1qpWkNgSP5u7yc9wmLkaf+yGTYudq1KpsVZFEnrfGDH6K0Ir rPkA== 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=G2BYNuIxlaObS9p75wcHPXenJKV2OHZTqCiRZ3u3/NU=; b=i/iGoyfyIjf2dsb9ZFQ2thEEsBDWlYfIOyOlCq/SB+q+rk5HPM47/3rXwjGfxdR6pu bD7q7yLg1PMkytykz9it7OdevLoGLmtyl5XJn9ssY5A+sYN4M3Bmx+YlTJdYbodNqgVA R/HcmbavJ+ZrU23c/FPXEEltzuBVjs4hsVb7jTQQIznO5Pmezo/4ispwU0FlzPcZutQw u9Lm7h4mTa9iQfTZs/pjqWsrhQZLxJ4kqzCWdznMZAR5tEHLYrLBLIOC++i8Xv5vgdNL i+pQox5uWcLti1MGzPZ+ySDg1GcqacriiaXKmEe8XfscdS0MWbg3Pvl2Pd9JzaRW/xX2 2trw== X-Gm-Message-State: AOAM5306ZAJwUZmj+U6LgOtO0BJqubbJSzvEkLbmzJ/VbyJ8xeSHRV61 IASs7uKyycrohwaEvq42H9fmIJszOQKr37ETrGU= X-Received: by 2002:a1c:8150:: with SMTP id c77mr1687617wmd.26.1605216522204; Thu, 12 Nov 2020 13:28:42 -0800 (PST) MIME-Version: 1.0 References: <20201112190039.2785914-1-lee.jones@linaro.org> <20201112190039.2785914-20-lee.jones@linaro.org> In-Reply-To: <20201112190039.2785914-20-lee.jones@linaro.org> From: Alex Deucher Date: Thu, 12 Nov 2020 16:28:30 -0500 Message-ID: Subject: Re: [PATCH 19/30] drm/amd/amdgpu/amdgpu_cs: Add a couple of missing function param descriptions To: Lee Jones Cc: David Airlie , LKML , amd-gfx list , =?UTF-8?Q?Christian_K=C3=B6nig?= , "moderated list:DMA BUFFER SHARING FRAMEWORK" , Jerome Glisse , 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 Thu, Nov 12, 2020 at 2:07 PM Lee Jones wrote: > > Fixes the following W=3D1 kernel build warning(s): > > drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c:685: warning: Function parameter = or member 'backoff' not described in 'amdgpu_cs_parser_fini' > drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c:1655: warning: Function parameter= or member 'map' not described in 'amdgpu_cs_find_mapping' > > Cc: Alex Deucher > Cc: "Christian K=C3=B6nig" > Cc: David Airlie > Cc: Daniel Vetter > Cc: Sumit Semwal > Cc: Jerome Glisse > 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. Thanks! Alex > --- > drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c b/drivers/gpu/drm/amd= /amdgpu/amdgpu_cs.c > index 8d2878e950dab..594a0108e90fa 100644 > --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c > +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c > @@ -676,6 +676,7 @@ static int amdgpu_cs_sync_rings(struct amdgpu_cs_pars= er *p) > * cs_parser_fini() - clean parser states > * @parser: parser structure holding parsing context. > * @error: error number > + * @backoff: indicator to backoff the reservation > * > * If error is set than unvalidate buffer, otherwise just free memory > * used by parsing context. > @@ -1644,6 +1645,7 @@ int amdgpu_cs_wait_fences_ioctl(struct drm_device *= dev, void *data, > * @parser: command submission parser context > * @addr: VM address > * @bo: resulting BO of the mapping found > + * @map: Placeholder to return found BO mapping > * > * Search the buffer objects in the command submission context for a cer= tain > * virtual memory address. Returns allocation structure when found, NULL > -- > 2.25.1 > > _______________________________________________ > dri-devel mailing list > dri-devel@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/dri-devel