5 Jun
2018
5 Jun
'18
2:18 p.m.
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