oogle.com; Rob Clark; sumit.sem...@linaro.org;
> patc...@linaro.org
> Subject: Re: [PATCH] RFC: dma-buf: userspace mmap support
>
> > If the API was to also be used for synchronization it would have to
> > include an atomic "prepare multiple" ioctl which blocked until all
&g
> If the API was to also be used for synchronization it would have to
> include an atomic "prepare multiple" ioctl which blocked until all
> the buffers listed by the application were available. In the same
Too slow already. You are now serializing stuff while what we want to do
really is
oogle.com; Rob Clark; sumit.sem...@linaro.org;
> patc...@linaro.org
> Subject: Re: [PATCH] RFC: dma-buf: userspace mmap support
>
> > > dma-buf file descriptor. Userspace access to the buffer should be
> > > bracketed with DMA_BUF_IOCTL_{PREPARE,FINISH}_ACCESS ioctl calls to
&
On Sat, Mar 17, 2012 at 3:17 PM, Alan Cox wrote:
>> > dma-buf file descriptor. Userspace access to the buffer should be
>> > bracketed with DMA_BUF_IOCTL_{PREPARE,FINISH}_ACCESS ioctl calls to
>> > give the exporting driver a chance to deal with cache synchronization
>> > and such for cached user
> > dma-buf file descriptor. Userspace access to the buffer should be
> > bracketed with DMA_BUF_IOCTL_{PREPARE,FINISH}_ACCESS ioctl calls to
> > give the exporting driver a chance to deal with cache synchronization
> > and such for cached userspace mappings without resorting to page
There should
On Fri, Mar 16, 2012 at 12:24 PM, Tom Cooksey wrote:
>
>> From: Rob Clark
>>
>> Enable optional userspace access to dma-buf buffers via mmap() on the
>> dma-buf file descriptor. Userspace access to the buffer should be
>> bracketed with DMA_BUF_IOCTL_{PREPARE,FINISH}_ACCESS ioctl calls to
>> giv
> From: Rob Clark
>
> Enable optional userspace access to dma-buf buffers via mmap() on the
> dma-buf file descriptor. Userspace access to the buffer should be
> bracketed with DMA_BUF_IOCTL_{PREPARE,FINISH}_ACCESS ioctl calls to
> give the exporting driver a chance to deal with cache synchroni