Re: [RFC/PATCH] media: omap3isp: Set maximum DMA segment size

2015-11-17 Thread Marek Szyprowski
Hi Laurent, I really have no idea how this problem should be addressed. I've already proposed to handle it in videobuf2-dc, but this has been rejected. Maybe the only way will be to add dma_set_max_seg_size(isp->dev, DMA_BIT_MASK(32)) to every v4l2 driver, which use videobuf2-dc and add a che

Re: [RFC/PATCH] media: omap3isp: Set maximum DMA segment size

2015-11-09 Thread Robin Murphy
Hi Laurent, On 09/11/15 14:18, Laurent Pinchart wrote: Hello everybody, Ping ? Apologies, I did start writing a response a while ago, but it ended up getting subsumed into the bigger DMA API discussion thread. On Tuesday 13 October 2015 16:18:36 Laurent Pinchart wrote: The maximum DMA se

Re: [RFC/PATCH] media: omap3isp: Set maximum DMA segment size

2015-11-09 Thread Laurent Pinchart
Hello everybody, Ping ? On Tuesday 13 October 2015 16:18:36 Laurent Pinchart wrote: > The maximum DMA segment size controls the IOMMU mapping granularity. Its > default value is 64kB, resulting in potentially non-contiguous IOMMU > mappings. Configure it to 4GB to ensure that buffers get mapped >

[RFC/PATCH] media: omap3isp: Set maximum DMA segment size

2015-10-13 Thread Laurent Pinchart
The maximum DMA segment size controls the IOMMU mapping granularity. Its default value is 64kB, resulting in potentially non-contiguous IOMMU mappings. Configure it to 4GB to ensure that buffers get mapped contiguously. Signed-off-by: Laurent Pinchart --- drivers/media/platform/omap3isp/isp.c |