[Linaro-mm-sig] [RFCv3 1/2] device: add dma_params->max_segment_count

2015-06-03 Thread Hans Verkuil
Hi Sumit, Rob, Is there any reason why this patch hasn't been merged yet? It makes perfect sense to me and I would really like to use this in the media drivers. Many DMA engines do have a limit to the number of segments (obviously a max count of 1 being the most common limitation, but other

[RFCv3 1/2] device: add dma_params->max_segment_count

2015-01-28 Thread Marek Szyprowski
Hello, On 2015-01-27 09:25, Sumit Semwal wrote: > From: Rob Clark > > For devices which have constraints about maximum number of segments in > an sglist. For example, a device which could only deal with contiguous > buffers would set max_segment_count to 1. > > The initial motivation is for

[RFCv3 1/2] device: add dma_params->max_segment_count

2015-01-27 Thread Sumit Semwal
From: Rob Clark For devices which have constraints about maximum number of segments in an sglist. For example, a device which could only deal with contiguous buffers would set max_segment_count to 1. The initial motivation is for devices sharing buffers via dma-buf, to