[Linaro-mm-sig] [RFC 2/4] cenalloc: Constraint-Enabled Allocation helpers for dma-buf

2014-10-14 Thread Sumit Semwal
Hi Laura, On 13 October 2014 14:05, Laura Abbott wrote: > On 10/10/2014 1:07 PM, Sumit Semwal wrote: >> >> Devices sharing buffers using dma-buf could benefit from sharing their >> constraints via struct device, and dma-buf framework would manage the >> common constraints for all attached device

[RFC 2/4] cenalloc: Constraint-Enabled Allocation helpers for dma-buf

2014-10-14 Thread Sumit Semwal
Hi Greg, Daniel! On 12 October 2014 00:10, Daniel Vetter wrote: > On Fri, Oct 10, 2014 at 04:09:00PM -0700, Greg Kroah-Hartman wrote: >> On Sat, Oct 11, 2014 at 01:37:56AM +0530, Sumit Semwal wrote: >> > Devices sharing buffers using dma-buf could benefit from sharing their >> > constraints via s

[Linaro-mm-sig] [RFC 2/4] cenalloc: Constraint-Enabled Allocation helpers for dma-buf

2014-10-13 Thread Laura Abbott
On 10/10/2014 1:07 PM, Sumit Semwal wrote: > Devices sharing buffers using dma-buf could benefit from sharing their > constraints via struct device, and dma-buf framework would manage the > common constraints for all attached devices per buffer. > > With that information, we could have a 'generic'

[RFC 2/4] cenalloc: Constraint-Enabled Allocation helpers for dma-buf

2014-10-11 Thread Daniel Vetter
On Fri, Oct 10, 2014 at 04:09:00PM -0700, Greg Kroah-Hartman wrote: > On Sat, Oct 11, 2014 at 01:37:56AM +0530, Sumit Semwal wrote: > > Devices sharing buffers using dma-buf could benefit from sharing their > > constraints via struct device, and dma-buf framework would manage the > > common constra

[RFC 2/4] cenalloc: Constraint-Enabled Allocation helpers for dma-buf

2014-10-11 Thread Sumit Semwal
Devices sharing buffers using dma-buf could benefit from sharing their constraints via struct device, and dma-buf framework would manage the common constraints for all attached devices per buffer. With that information, we could have a 'generic' allocator helper in the form of a central dma-buf ex

[RFC 2/4] cenalloc: Constraint-Enabled Allocation helpers for dma-buf

2014-10-10 Thread Greg Kroah-Hartman
On Sat, Oct 11, 2014 at 01:37:56AM +0530, Sumit Semwal wrote: > Devices sharing buffers using dma-buf could benefit from sharing their > constraints via struct device, and dma-buf framework would manage the > common constraints for all attached devices per buffer. > > With that information, we cou