[Sound-open-firmware] [RFC PATCH 3/6] dma: introduce new API for requesting DMAC

Liam Girdwood liam.r.girdwood at linux.intel.com
Tue Jun 5 14:18:27 CEST 2018


On Tue, 2018-06-05 at 18:00 +0800, rander.wang wrote:
> > >    src/include/sof/dma.h         | 26 ++++++++++++++++-
> > >    src/platform/apollolake/dma.c | 53 ++++++++++++++++++++++++++++++++---
> > >    src/platform/baytrail/dma.c   | 41 ++++++++++++++++++++++++---
> > >    src/platform/cannonlake/dma.c | 53 ++++++++++++++++++++++++++++++++---
> > >    src/platform/haswell/dma.c    | 49 ++++++++++++++++++++++++++------
> > >    5 files changed, 201 insertions(+), 21 deletions(-)
> > 
> > Lets consolidate the dma_get() into a common dma file.
> > 
> > Liam
> 
> 
>          but different platform may use different algorithm for choosing

Algo should be the same, but array of platform DMACs will be different and
chosen based on flags, type etc.

Liam


More information about the Sound-open-firmware mailing list