[PATCHv10 23/26] v4l: vb2-dma-contig: align buffer size to PAGE_SIZE

2012-10-16 Thread Laurent Pinchart
Hi Tomasz, On Friday 12 October 2012 10:24:34 Tomasz Stanislawski wrote: > On 10/11/2012 11:31 PM, Laurent Pinchart wrote: > > On Wednesday 10 October 2012 16:46:42 Tomasz Stanislawski wrote: > >> Most operations on DMA and DMABUF framework need page > >> aligned buffers. > > > > The comment is

Re: [PATCHv10 23/26] v4l: vb2-dma-contig: align buffer size to PAGE_SIZE

2012-10-16 Thread Laurent Pinchart
Hi Tomasz, On Friday 12 October 2012 10:24:34 Tomasz Stanislawski wrote: On 10/11/2012 11:31 PM, Laurent Pinchart wrote: On Wednesday 10 October 2012 16:46:42 Tomasz Stanislawski wrote: Most operations on DMA and DMABUF framework need page aligned buffers. The comment is a bit

[PATCHv10 23/26] v4l: vb2-dma-contig: align buffer size to PAGE_SIZE

2012-10-12 Thread Tomasz Stanislawski
Hi Laurent, On 10/11/2012 11:31 PM, Laurent Pinchart wrote: > Hi Tomasz, > > On Wednesday 10 October 2012 16:46:42 Tomasz Stanislawski wrote: >> Most operations on DMA and DMABUF framework need page >> aligned buffers. > > The comment is a bit misleading, the buffer is already page-aligned

[PATCHv10 23/26] v4l: vb2-dma-contig: align buffer size to PAGE_SIZE

2012-10-12 Thread Laurent Pinchart
Hi Tomasz, On Wednesday 10 October 2012 16:46:42 Tomasz Stanislawski wrote: > Most operations on DMA and DMABUF framework need page > aligned buffers. The comment is a bit misleading, the buffer is already page-aligned (unless I'm mistaken dma_alloc_coherent() returns a page-aligned buffer) but

Re: [PATCHv10 23/26] v4l: vb2-dma-contig: align buffer size to PAGE_SIZE

2012-10-12 Thread Tomasz Stanislawski
Hi Laurent, On 10/11/2012 11:31 PM, Laurent Pinchart wrote: Hi Tomasz, On Wednesday 10 October 2012 16:46:42 Tomasz Stanislawski wrote: Most operations on DMA and DMABUF framework need page aligned buffers. The comment is a bit misleading, the buffer is already page-aligned (unless I'm

Re: [PATCHv10 23/26] v4l: vb2-dma-contig: align buffer size to PAGE_SIZE

2012-10-11 Thread Laurent Pinchart
Hi Tomasz, On Wednesday 10 October 2012 16:46:42 Tomasz Stanislawski wrote: Most operations on DMA and DMABUF framework need page aligned buffers. The comment is a bit misleading, the buffer is already page-aligned (unless I'm mistaken dma_alloc_coherent() returns a page-aligned buffer) but

[PATCHv10 23/26] v4l: vb2-dma-contig: align buffer size to PAGE_SIZE

2012-10-10 Thread Tomasz Stanislawski
Most operations on DMA and DMABUF framework need page aligned buffers. This fix guarantees this requirement for vb2-dma-contig buffers. Signed-off-by: Tomasz Stanislawski --- drivers/media/v4l2-core/videobuf2-dma-contig.c |3 +++ 1 file changed, 3 insertions(+) diff --git