Received: by 10.213.65.68 with SMTP id h4csp232590imn; Tue, 13 Mar 2018 02:27:59 -0700 (PDT) X-Google-Smtp-Source: AG47ELuUXxnpQS1sHHkEbrIox25+TP5JUV4gZXKpEy0ll2FCxs3tYlJMEl+wdaq8iHjenzrEp89W X-Received: by 10.98.165.4 with SMTP id v4mr11054201pfm.51.1520933279433; Tue, 13 Mar 2018 02:27:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1520933279; cv=none; d=google.com; s=arc-20160816; b=UDWoMJ2UqUSquU0Y2/rgAiPgAkWnHpWV9Ts0XLfqKlVS/+EFb8kvuYmozZ7ncqd3Jd 3P6i2mJt8wVAFHhcaXIWB1J/tQxyPvsz9j3e1huAeLJHgr2tjCwgHGcnYQ1xCco2WxbS alNDfeu3hBYitVMc2aB8uS/9XNXq8ALrd7r3rqkCj2Cuueprx/76uCH30mQBrko7kpbp YtaDwAXYwtoUoC1G91JdNJRUBuoGasnLi7vK9/3GdbeHsfTXR10DXEDWveE3RTuEl8Ak Dm6MI4dPvWc2ENUD2a/dfT4D+BntFX1k11rxoigATtfWONUvQFSRgbD7il5CpEanxxaB oJ2w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=i44w3KKo1+DOz7HQlsbFoljnyoKwkWpO2ofdlDY3d7c=; b=bWmLVSHmPB4hDDHyo2Z0zqdUzX+JBbU1JoLqZyzOc5gOabhOFq/x2+uwZEnGSRzV96 09YZm7/8XlNV5/AHIS06tVYHcIyLzY8UmzSzXNZhoNpx6sH1ALQ7a+BZMnmM/Z/csEKr pi/V28aczrNj3g5NgpudzGE1EHLbOBfrd1dy9wYN74Fh4RFxi7Q2bySHdkuZvgUN1YFf xDdKEOvwQhXZMaDUFBkQSKFDfc43JRGXJ+k/DmTL+qLxoxNAYhNSc0sIpQQHhFoabCun oy9fRPZ+Y4KmneWqPEIsgOfeNneCWEw7cg6ujvGg37xjcgybXRTuJ+RO1HrIKQXDzmBt A6RA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u91-v6si7542061plb.341.2018.03.13.02.27.45; Tue, 13 Mar 2018 02:27:59 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752380AbeCMJ0i (ORCPT + 99 others); Tue, 13 Mar 2018 05:26:38 -0400 Received: from relay9-d.mail.gandi.net ([217.70.183.199]:37817 "EHLO relay9-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752078AbeCMJ0h (ORCPT ); Tue, 13 Mar 2018 05:26:37 -0400 X-Originating-IP: 2.224.242.101 Received: from w540 (unknown [2.224.242.101]) (Authenticated sender: jacopo@jmondi.org) by relay9-d.mail.gandi.net (Postfix) with ESMTPSA id B8457FF810; Tue, 13 Mar 2018 10:26:33 +0100 (CET) Date: Tue, 13 Mar 2018 10:26:32 +0100 From: jacopo mondi To: Gustavo Padovan Cc: linux-media@vger.kernel.org, kernel@collabora.com, Hans Verkuil , Mauro Carvalho Chehab , Shuah Khan , Pawel Osciak , Alexandre Courbot , Sakari Ailus , Brian Starkey , linux-kernel@vger.kernel.org, Gustavo Padovan Subject: Re: [PATCH v8 13/13] [media] v4l: Document explicit synchronization behavior Message-ID: <20180313092632.GF12967@w540> References: <20180309174920.22373-1-gustavo@padovan.org> <20180309174920.22373-14-gustavo@padovan.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="VuQYccsttdhdIfIP" Content-Disposition: inline In-Reply-To: <20180309174920.22373-14-gustavo@padovan.org> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --VuQYccsttdhdIfIP Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Hi Gustavo, a very small comment below On Fri, Mar 09, 2018 at 02:49:20PM -0300, Gustavo Padovan wrote: > From: Gustavo Padovan > > Add section to VIDIOC_QBUF and VIDIOC_QUERY_BUF about it > > v6: - Close some gaps in the docs (Hans) > > v5: > - Remove V4L2_CAP_ORDERED > - Add doc about V4L2_FMT_FLAG_UNORDERED > > v4: > - Document ordering behavior for in-fences > - Document V4L2_CAP_ORDERED capability > - Remove doc about OUT_FENCE event > - Document immediate return of out-fence in QBUF > > v3: > - make the out_fence refer to the current buffer (Hans) > - Note what happens when the IN_FENCE is not set (Hans) > > v2: > - mention that fences are files (Hans) > - rework for the new API > > Signed-off-by: Gustavo Padovan > --- > Documentation/media/uapi/v4l/vidioc-qbuf.rst | 55 +++++++++++++++++++++++- > Documentation/media/uapi/v4l/vidioc-querybuf.rst | 12 ++++-- > 2 files changed, 63 insertions(+), 4 deletions(-) > [snip] > +Note the the same `fence_fd` field is used for both sending the in-fence as > +input argument to receive the out-fence as a return argument. A buffer can > +have both in-fence ond out-fence. I feel like an "and" is missing here... the same `fence_fd` field is used for both sending the in-fence as input argument to receive the out-fence as a return argument the same `fence_fd` field is used for both sending the in-fence as input argument *and* to receive the out-fence as a return argument I'm not a native speaker so I might be wrong though. Thanks j --VuQYccsttdhdIfIP Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJap5lIAAoJEHI0Bo8WoVY8xT4P/RG+sYHMAf/nQNc77TrbStah ygnQaJog6ZR9gSuwhWnTGvqRH4yBgyO68JDmM2aFglz0IILEvewoZwlbrhVRQpsz wsna/JbcfrRe6Ga3PdT0LILID4WoWfJod34v5IuP0kj/V98k5H26BGvgZPcDMP2c tOtiyBimtEnZs3z/u54Ijjtnb3LKs+fr4SYRMIp99t7J3s4DTwRv+PlNzmaO0u// SRkSPHWgCjAe6H0nuNmNFv9Tcwd7ryRixk8Y55IdDbuJvDevbAvxxlUsSPRm2G8z +lWq+Y2wLPo7W9vKw0pBWVtXU9VhSjPCUHT5eQ0JCHjXVfOWSVUtToAsSsoYXXcc MUffuLB5kAjXBvdUsYLJ86rNv4EWZfYhBtV5sYleu2mhBsik9MDgBHV8G53FHozR f0F/gGGmbAD0zzbH1cJc4lSTve/WvY4PGUmYpG38Hc0KMJSMVdcOgPd5VLyKFJNi y3Em8SbfRfMn9nH8beZChRWIL+ja/hmYNPaD3dl0oJnYPWpfpFUiNWIX4NMHw/82 kEAkgNdNqRye6Qvqj3bSADMnKSjwHkV9JmDk8/S/we0WaucYxzclKimbx7bq1jHg dL+2dS447Te9VpxOpi5sOg24clnIYKFoKBLSSy3iHr2PMTMVEUcsYc8+qA5pW+wd lFDtkbUfJ5/WlCV2lzZo =gXy3 -----END PGP SIGNATURE----- --VuQYccsttdhdIfIP--