Re: [REVIEW PATCH 05/11] vb2: move __qbuf_mmap before __qbuf_userptr

2014-04-07 Thread Pawel Osciak
On Tue, Mar 11, 2014 at 6:20 AM, Hans Verkuil hverk...@xs4all.nl wrote: From: Hans Verkuil hans.verk...@cisco.com __qbuf_mmap was sort of hidden in between the much larger __qbuf_userptr and __qbuf_dmabuf functions. Move it before __qbuf_userptr which is also conform the usual order these

[REVIEW PATCH 05/11] vb2: move __qbuf_mmap before __qbuf_userptr

2014-03-10 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com __qbuf_mmap was sort of hidden in between the much larger __qbuf_userptr and __qbuf_dmabuf functions. Move it before __qbuf_userptr which is also conform the usual order these memory models are implemented: first mmap, then userptr, then dmabuf.