Re: [PATCH 04/12] v4l: vb2-dma-contig: add setup of sglist for MMAP buffers

2012-06-11 Thread Laurent Pinchart
Hi Tomasz, On Friday 08 June 2012 16:31:31 Tomasz Stanislawski wrote: Hi Laurent and Subash, I confirm the issue found by Subash. The function vb2_dc_kaddr_to_pages does fail for some occasions. The failures are rather strange like 'got 95 of 150 pages'. It took me some time to find the

Re: [PATCH 04/12] v4l: vb2-dma-contig: add setup of sglist for MMAP buffers

2012-06-11 Thread Subash Patel
Hi Laurent, Tomasz, On 06/10/2012 11:28 PM, Laurent Pinchart wrote: Hi Tomasz, On Friday 08 June 2012 16:31:31 Tomasz Stanislawski wrote: Hi Laurent and Subash, I confirm the issue found by Subash. The function vb2_dc_kaddr_to_pages does fail for some occasions. The failures are rather

Re: [PATCH 04/12] v4l: vb2-dma-contig: add setup of sglist for MMAP buffers

2012-06-08 Thread Tomasz Stanislawski
Hi Laurent and Subash, I confirm the issue found by Subash. The function vb2_dc_kaddr_to_pages does fail for some occasions. The failures are rather strange like 'got 95 of 150 pages'. It took me some time to find the reason of the problem. I found that dma_alloc_coherent for iommu an ARM does

Re: [PATCH 04/12] v4l: vb2-dma-contig: add setup of sglist for MMAP buffers

2012-06-07 Thread Subash Patel
Hello Tomasz, On 06/07/2012 06:06 AM, Laurent Pinchart wrote: Hi Tomasz, On Wednesday 06 June 2012 13:56:42 Tomasz Stanislawski wrote: On 06/06/2012 10:06 AM, Laurent Pinchart wrote: On Wednesday 23 May 2012 15:07:27 Tomasz Stanislawski wrote: This patch adds the setup of sglist list for

Re: [PATCH 04/12] v4l: vb2-dma-contig: add setup of sglist for MMAP buffers

2012-06-06 Thread Laurent Pinchart
Hi Tomasz, Thanks for the patch. On Wednesday 23 May 2012 15:07:27 Tomasz Stanislawski wrote: This patch adds the setup of sglist list for MMAP buffers. It is needed for buffer exporting via DMABUF mechanism. Signed-off-by: Tomasz Stanislawski t.stanisl...@samsung.com Signed-off-by:

Re: [PATCH 04/12] v4l: vb2-dma-contig: add setup of sglist for MMAP buffers

2012-06-06 Thread Tomasz Stanislawski
Hi Laurent, Thank your for your comments. On 06/06/2012 10:06 AM, Laurent Pinchart wrote: Hi Tomasz, Thanks for the patch. On Wednesday 23 May 2012 15:07:27 Tomasz Stanislawski wrote: This patch adds the setup of sglist list for MMAP buffers. It is needed for buffer exporting via DMABUF

Re: [PATCH 04/12] v4l: vb2-dma-contig: add setup of sglist for MMAP buffers

2012-06-06 Thread Laurent Pinchart
Hi Tomasz, On Wednesday 06 June 2012 13:56:42 Tomasz Stanislawski wrote: On 06/06/2012 10:06 AM, Laurent Pinchart wrote: On Wednesday 23 May 2012 15:07:27 Tomasz Stanislawski wrote: This patch adds the setup of sglist list for MMAP buffers. It is needed for buffer exporting via DMABUF

[PATCH 04/12] v4l: vb2-dma-contig: add setup of sglist for MMAP buffers

2012-05-23 Thread Tomasz Stanislawski
This patch adds the setup of sglist list for MMAP buffers. It is needed for buffer exporting via DMABUF mechanism. Signed-off-by: Tomasz Stanislawski t.stanisl...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/media/video/videobuf2-dma-contig.c | 70