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 <yan.wang@linux.intel.com>
This commit is contained in:
Yan Wang 2018-03-14 14:51:11 +08:00 committed by Liam Girdwood
parent 9ec70bb523
commit f5513cdfdb
2 changed files with 2 additions and 0 deletions

View File

@ -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;
};

View File

@ -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 */