From f5513cdfdbfd09488c5e6e42e144f62b5101c3cb Mon Sep 17 00:00:00 2001 From: Yan Wang Date: Wed, 14 Mar 2018 14:51:11 +0800 Subject: [PATCH] APL/CNL: Add stream_tag variable for saving parameter from kernel driver. Add stream_tag variable for IPC message and DMA trace data structure. Signed-off-by: Yan Wang --- src/include/reef/dma-trace.h | 1 + src/include/uapi/ipc.h | 1 + 2 files changed, 2 insertions(+) diff --git a/src/include/reef/dma-trace.h b/src/include/reef/dma-trace.h index dcbd49182..f17ffe531 100644 --- a/src/include/reef/dma-trace.h +++ b/src/include/reef/dma-trace.h @@ -63,6 +63,7 @@ struct dma_trace_data { struct work dmat_work; uint32_t enabled; uint32_t copy_in_progress; + uint32_t stream_tag; spinlock_t lock; }; diff --git a/src/include/uapi/ipc.h b/src/include/uapi/ipc.h index 0c34013dd..e44a13fda 100644 --- a/src/include/uapi/ipc.h +++ b/src/include/uapi/ipc.h @@ -839,6 +839,7 @@ struct sof_ipc_window { struct sof_ipc_dma_trace_params { struct sof_ipc_hdr hdr; struct sof_ipc_host_buffer buffer; + uint32_t stream_tag; } __attribute__((packed)); /* DMA for Trace params info - SOF_IPC_DEBUG_DMA_PARAMS */