summaryrefslogtreecommitdiffstats
path: root/include/sound/sof
diff options
context:
space:
mode:
authorRanjani Sridharan2019-06-03 18:18:19 +0200
committerMark Brown2019-06-03 19:42:27 +0200
commit53b22d25ec36cebc2f5888a0bd5fba84b05f3dee (patch)
treedc2018004ec9c1f9b70523267b891f669efdde56 /include/sound/sof
parentASoC: SOF: send time stamp to FW for alignment (diff)
downloadkernel-qcow2-linux-53b22d25ec36cebc2f5888a0bd5fba84b05f3dee.tar.gz
kernel-qcow2-linux-53b22d25ec36cebc2f5888a0bd5fba84b05f3dee.tar.xz
kernel-qcow2-linux-53b22d25ec36cebc2f5888a0bd5fba84b05f3dee.zip
ASoC: SOF: ipc: Introduce SOF_IPC_GLB_TEST_MSG IPC command
Add a new class of IPC command along with the first test type, IPC_FLOOD, which will be used for flooding the DSP with IPCs. Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com> Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/sound/sof')
-rw-r--r--include/sound/sof/header.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/sound/sof/header.h b/include/sound/sof/header.h
index ab5862d80afe..12867bbd4372 100644
--- a/include/sound/sof/header.h
+++ b/include/sound/sof/header.h
@@ -49,6 +49,7 @@
#define SOF_IPC_GLB_DAI_MSG SOF_GLB_TYPE(0x8U)
#define SOF_IPC_GLB_TRACE_MSG SOF_GLB_TYPE(0x9U)
#define SOF_IPC_GLB_GDB_DEBUG SOF_GLB_TYPE(0xAU)
+#define SOF_IPC_GLB_TEST_MSG SOF_GLB_TYPE(0xBU)
/*
* DSP Command Message Types
@@ -99,11 +100,14 @@
#define SOF_IPC_STREAM_VORBIS_PARAMS SOF_CMD_TYPE(0x010)
#define SOF_IPC_STREAM_VORBIS_FREE SOF_CMD_TYPE(0x011)
-/* trace and debug */
+/* trace */
#define SOF_IPC_TRACE_DMA_PARAMS SOF_CMD_TYPE(0x001)
#define SOF_IPC_TRACE_DMA_POSITION SOF_CMD_TYPE(0x002)
#define SOF_IPC_TRACE_DMA_PARAMS_EXT SOF_CMD_TYPE(0x003)
+/* debug */
+#define SOF_IPC_TEST_IPC_FLOOD SOF_CMD_TYPE(0x001)
+
/* Get message component id */
#define SOF_IPC_MESSAGE_ID(x) ((x) & 0xffff)