[PATCH 2/4] dma-buf: add support for kernel cpu access

2012-03-19 Thread Daniel Vetter
Big differences to other contenders in the field (like ion) is that this also supports highmem, so we have to split up the cpu access from the kernel side into a prepare and a kmap step. Prepare is allowed to fail and should do everything required so that the kmap calls can succeed (like swapin/ba

[PATCH 2/4] dma-buf: add support for kernel cpu access

2012-03-18 Thread Rob Clark
On Sun, Mar 18, 2012 at 6:34 PM, Daniel Vetter wrote: > Big differences to other contenders in the field (like ion) is > that this also supports highmem, so we have to split up the cpu > access from the kernel side into a prepare and a kmap step. > > Prepare is allowed to fail and should do every

Re: [PATCH 2/4] dma-buf: add support for kernel cpu access

2012-03-18 Thread Rob Clark
On Sun, Mar 18, 2012 at 6:34 PM, Daniel Vetter wrote: > Big differences to other contenders in the field (like ion) is > that this also supports highmem, so we have to split up the cpu > access from the kernel side into a prepare and a kmap step. > > Prepare is allowed to fail and should do everyt

[PATCH 2/4] dma-buf: add support for kernel cpu access

2012-03-18 Thread Daniel Vetter
Big differences to other contenders in the field (like ion) is that this also supports highmem, so we have to split up the cpu access from the kernel side into a prepare and a kmap step. Prepare is allowed to fail and should do everything required so that the kmap calls can succeed (like swapin/ba