Re: [Linaro-mm-sig] [PATCH] device: add dma_params->max_segment_count

2012-07-19 Thread Daniel Vetter
On Thu, Jul 12, 2012 at 12:44:16PM -0500, Rob Clark 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

[PATCH] device: add dma_params->max_segment_count

2012-07-12 Thread Rob Clark
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 allow the buffer exporter