[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.10.1901211412530.11004@lmark-linux.qualcomm.com>
Date: Mon, 21 Jan 2019 14:14:48 -0800 (PST)
From: Liam Mark <lmark@...eaurora.org>
To: Christoph Hellwig <hch@...radead.org>
cc: "Andrew F. Davis" <afd@...com>, Laura Abbott <labbott@...hat.com>,
sumit.semwal@...aro.org, arve@...roid.com, tkjos@...roid.com,
maco@...roid.com, joel@...lfernandes.org, christian@...uner.io,
devel@...verdev.osuosl.org, dri-devel@...ts.freedesktop.org,
linaro-mm-sig@...ts.linaro.org, linux-kernel@...r.kernel.org,
john.stultz@...aro.org
Subject: Re: [PATCH 3/4] dma-buf: add support for mapping with dma mapping
attributes
On Mon, 21 Jan 2019, Christoph Hellwig wrote:
> On Mon, Jan 21, 2019 at 12:20:42PM -0800, Liam Mark wrote:
> > I have left this to clients, but if they own the buffer they can have the
> > knowledge as to whether CPU access is needed in that use case (example for
> > post-processing).
>
> That is an API design which the user is more likely to get wrong than
> right and thus does not pass the smell test.
>
With the previous version of ION Android ION clients were successfully
managing all their cache maintenance.
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project
Powered by blists - more mailing lists