[PATCH 2/3] dmaengine: dw_dmac: Enhance device tree support

Viresh Kumar viresh.kumar at linaro.org
Fri Oct 12 05:30:23 EDT 2012


On 12 October 2012 14:55, Andy Shevchenko <andy.shevchenko at gmail.com> wrote:

> I understand your way of allocating memory, but what about using
> linked list instead of array?

I gave it a thought. Overhead was 4 bytes more per slave structure +
more cycles in filter routine (arrays are more faster :) ).

Because the DT capture is a one time activity, its better to save time
in filter fns.

> And one more thing. May be we could introduce backlink to the platform
> data in the dw_dma structure instead of copying certain parameters?

Will do that in a separate patch, outside the scope of this patchset. :)

--
viresh



More information about the linux-arm-kernel mailing list