9 Nov
2017
9 Nov
'17
7:17 a.m.
From: Yan Wang yan.wang@linux.intel.com
It is called every time DMA completes.
Signed-off-by: Yan Wang yan.wang@linux.intel.com --- src/ipc/dma-copy.c | 3 +++ 1 file changed, 3 insertions(+)
diff --git a/src/ipc/dma-copy.c b/src/ipc/dma-copy.c index 5c9ff97..6ba8f57 100644 --- a/src/ipc/dma-copy.c +++ b/src/ipc/dma-copy.c @@ -34,6 +34,7 @@ #include <reef/reef.h> #include <reef/debug.h> #include <reef/trace.h> +#include <reef/ipc.h> #include <reef/dma.h> #include <reef/wait.h> #include <platform/dma.h> @@ -76,6 +77,8 @@ static void dma_complete(void *data, uint32_t type, struct dma_sg_elem *next) if (type == DMA_IRQ_TYPE_LLIST) wait_completed(comp);
+ ipc_dma_trace_send_position(); + next->size = DMA_RELOAD_END; }
--
2.7.4