[Sound-open-firmware] [RFC PATCH v2 1/5] APL/CNL: Add stream_tag variable for saving parameter from kernel driver.

yan.wang at linux.intel.com yan.wang at linux.intel.com
Wed Mar 14 07:51:11 CET 2018


From: Yan Wang <yan.wang at linux.intel.com>

Add stream_tag variable for IPC message and DMA trace data
structure.

Signed-off-by: Yan Wang <yan.wang at linux.intel.com>
---
 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 dcbd491..f17ffe5 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 0c34013..e44a13f 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 */
-- 
2.14.3



More information about the Sound-open-firmware mailing list