From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0D5D0C433EF for ; Tue, 9 Nov 2021 09:22:32 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id C2B49610F8 for ; Tue, 9 Nov 2021 09:22:31 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org C2B49610F8 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=emersion.fr Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 2572B6EA1F; Tue, 9 Nov 2021 09:22:31 +0000 (UTC) Received: from mail-40136.proton.ch (mail-40136.proton.ch [185.70.40.136]) by gabe.freedesktop.org (Postfix) with ESMTPS id EE6906EA21 for ; Tue, 9 Nov 2021 09:22:29 +0000 (UTC) Date: Tue, 09 Nov 2021 09:22:26 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=emersion.fr; s=protonmail; t=1636449747; bh=QVgJ6mYrWm8AKVHyTJa+baXr7jpRyUsoWGTxdVG4oT4=; h=Date:To:From:Cc:Reply-To:Subject:In-Reply-To:References:From; b=ZFYlkLFMSWDbCOt8ko2W18YrYy1zzD/8r5F2MRzPJ1ksT675lWJbMP4C72x3/rUWY NRo9VpWnz2xEr5uZObQFDDr8eaiPD1Ex70iGgrYaqqWBO3DUOIQDkn+oWjHDJWBcRp nylBeIG7FFKTsuaJhUCeJg9+SqPmz0XwQ//aJO8YvR4glsWD3u6Pq1zW0iuxtaky3l K7LJmbcGHDiIIomlwQ/XbtasqTM/pkxxbHdktSAjTtzrvyXXW8hVCvk7sPx09mtVG9 EDX8peiyMoDV07oyfcbn/auGvIa1nZyvifrp+Fn9B9gAa5zRPMDoKHOlVcXzk08GCM ZgZ3JsmdMtmkw== To: Daniel Vetter From: Simon Ser Subject: Re: [PATCH] doc: gpu: Add document describing buffer exchange Message-ID: In-Reply-To: References: <20210905122742.86029-1-daniels@collabora.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Simon Ser Cc: James Jones , Daniel Stone , dri-devel@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" On Tuesday, November 9th, 2021 at 10:13, Daniel Vetter wr= ote: > On Mon, Nov 08, 2021 at 04:18:22PM -0800, James Jones wrote: > > On 9/6/21 5:28 AM, Simon Ser wrote: > > > > Since there's a lot of confusion around this, document both the rul= es > > > > and the best practice around negotiating, allocating, importing, an= d > > > > using buffers when crossing context/process/device/subsystem bounda= ries. > > > > > > > > This ties up all of dmabuf, formats and modifiers, and their usage. > > > > > > > > Signed-off-by: Daniel Stone > > > > > > Thanks a lot for this write-up! This looks very good to me, a few com= ments > > > below. > > > > Agreed, it would be awesome if this were merged somewhere. IMHO, a lot = of > > the non-trivial/typo suggestions below could be taken care of as follow= -on > > patches, as the content here is better in than out, even if it could be > > clarified a bit. > > Seconded on just landing this without trying to perfect it first, because > I was just looking for it and didn't find it anywhere :-/ Let me know if you lack time for this daniels, I can work on a new version. I don't want this to be lost in review limbo!