Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp4864921imm; Tue, 9 Oct 2018 06:28:16 -0700 (PDT) X-Google-Smtp-Source: ACcGV60Y77ToGYSdwUgKjlBtfcuhwjuekkSp8nHMVgM7FD1qQxefS0UIiflOt1bn3CzEnppy45Qh X-Received: by 2002:a65:498b:: with SMTP id r11-v6mr25409725pgs.153.1539091696079; Tue, 09 Oct 2018 06:28:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539091696; cv=none; d=google.com; s=arc-20160816; b=kLVP0GWz2LIcnedB6zkKQOUjTLzIInRe1RHK++U/fTJGKZR35l0lMqva8+vfuInOxn h/or2cO1EvoSVLyZOxo/uI7Bpy+NHgtUNVpT9rcdTbsGgEQxXxw/adABhDVp14lOclY+ DZtGpvRMX4IKMl47YrOeQA/0zN9rXo08unVC7QY9ctWJFd5U0y29eh7wrE0DKcvAdgNq 6SWWUwQBCQl+QcTwst6+c9YaSmDItYYAP/9Nk9aycYfGdthYVQbZ9HplIOsWUAv2TBve 5SuvCc+kK0GmUW4iNvRpvzWZO6xxWXFEwpVt0fGTQRcM+WDkkHs2JGqEpLWqpjn8hbGV YqUg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date; bh=Ey2ucfkS6yrLS7NOBFLGRaeQwumgB6PiXZ5HfWeWoIk=; b=MPiadc1kvOVzsG8Q4vJa8pXcq/Ayl7zjUya9GrTIhibc5FbyIMG4pxvWKsa+f8wKqs /QXc7m7QKGUAxSsIDi+AfxDd9+G0OfaabKMujCd1fI2OXKrQNN2A1BGBTLTCXR2gcV1D 55PJt1nrvjTCTwUJB/pCDH5GxAmYqjDRTnJz8nMNE6oojtIopU598JvH99hY8gZudrkn qeez1YVBL/yXOa+BSZvQtwpn/rreClX4hsIL8WAWqSgmkXmYipfmuIWc1nQ+RRUQ4Xff OS8UoLy2Uokpt35A5jklpehoydNhW26PlfRjQSoZnQZ/RGHXhV1qe40p6mMz48PtHIBC X40w== 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 q9-v6si19615168pgi.162.2018.10.09.06.28.01; Tue, 09 Oct 2018 06:28:16 -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 S1727810AbeJIUoF (ORCPT + 99 others); Tue, 9 Oct 2018 16:44:05 -0400 Received: from mail.bootlin.com ([62.4.15.54]:51045 "EHLO mail.bootlin.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726656AbeJIUoF (ORCPT ); Tue, 9 Oct 2018 16:44:05 -0400 Received: by mail.bootlin.com (Postfix, from userid 110) id 0ACBE207C3; Tue, 9 Oct 2018 15:27:07 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail.bootlin.com X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,SHORTCIRCUIT shortcircuit=ham autolearn=disabled version=3.4.0 Received: from bbrezillon (AAubervilliers-681-1-28-153.w90-88.abo.wanadoo.fr [90.88.148.153]) by mail.bootlin.com (Postfix) with ESMTPSA id CB43720712; Tue, 9 Oct 2018 15:27:06 +0200 (CEST) Date: Tue, 9 Oct 2018 15:27:07 +0200 From: Boris Brezillon To: Eric Anholt Cc: dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 3/4] drm/v3d: Add some better documentation of the in_sync arguments. Message-ID: <20181009152707.4220a7d5@bbrezillon> In-Reply-To: <20180928232126.4332-3-eric@anholt.net> References: <20180928232126.4332-1-eric@anholt.net> <20180928232126.4332-3-eric@anholt.net> X-Mailer: Claws Mail 3.15.0-dirty (GTK+ 2.24.31; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 28 Sep 2018 16:21:25 -0700 Eric Anholt wrote: > Since this is UAPI, it's good to document what exactly the guarantees > we're providing are. > > Signed-off-by: Eric Anholt Reviewed-by: Boris Brezillon > --- > include/uapi/drm/v3d_drm.h | 10 ++++++++++ > 1 file changed, 10 insertions(+) > > diff --git a/include/uapi/drm/v3d_drm.h b/include/uapi/drm/v3d_drm.h > index 7b6627783608..f446656d00b1 100644 > --- a/include/uapi/drm/v3d_drm.h > +++ b/include/uapi/drm/v3d_drm.h > @@ -58,6 +58,11 @@ struct drm_v3d_submit_cl { > * coordinate shader to determine where primitives land on the screen, > * then writes out the state updates and draw calls necessary per tile > * to the tile allocation BO. > + * > + * This BCL will block on any previous BCL submitted on the > + * same FD, but not on any RCL or BCLs submitted by other > + * clients -- that is left up to the submitter to control > + * using in_sync_bcl if necessary. > */ > __u32 bcl_start; > > @@ -69,6 +74,11 @@ struct drm_v3d_submit_cl { > * This is the second set of commands executed, which will either > * execute the tiles that have been set up by the BCL, or a fixed set > * of tiles (in the case of RCL-only blits). > + * > + * This RCL will block on this submit's BCL, and any previous > + * RCL submitted on the same FD, but not on any RCL or BCLs > + * submitted by other clients -- that is left up to the > + * submitter to control using in_sync_rcl if necessary. > */ > __u32 rcl_start; >