lkml.org 
[lkml]   [2019]   [Jan]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 3/4] dma-buf: add support for mapping with dma mapping attributes
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.

\
 
 \ /
  Last update: 2019-01-21 22:31    [W:0.166 / U:28.196 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site