[Sound-open-firmware] [PATCH 1/4] Add IPC new message type and structure for sending DMA trace host offset.
yan.wang at linux.intel.com
yan.wang at linux.intel.com
Thu Nov 9 07:17:28 CET 2017
From: Yan Wang <yan.wang at linux.intel.com>
It is used to update DMA trace host offset to kernel for realtime
output DMA trace.
Signed-off-by: Yan Wang <yan.wang at linux.intel.com>
---
src/include/uapi/ipc.h | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/src/include/uapi/ipc.h b/src/include/uapi/ipc.h
index fc83721..07235e1 100644
--- a/src/include/uapi/ipc.h
+++ b/src/include/uapi/ipc.h
@@ -118,6 +118,7 @@
/* trace and debug */
#define SOF_IPC_TRACE_DMA_PARAMS SOF_CMD_TYPE(0x001)
+#define SOF_IPC_TRACE_DMA_POSITION SOF_CMD_TYPE(0x002)
/* Get message component id */
#define SOF_IPC_MESSAGE_ID(x) (x & 0xffff)
@@ -810,4 +811,10 @@ struct sof_ipc_dma_trace_params {
struct sof_ipc_host_buffer buffer;
} __attribute__((packed));
+/* DMA for Trace params info - SOF_IPC_DEBUG_DMA_PARAMS */
+struct sof_ipc_dma_trace_posn {
+ struct sof_ipc_reply rhdr;
+ uint32_t host_offset; /* Offset of DMA host buffer */
+} __attribute__((packed));
+
#endif
--
2.7.4
More information about the Sound-open-firmware
mailing list