Skip to content

Commit 786d651

Browse files
xiulipanbroonie
authored andcommitted
ASoC: SOF: add probe support extend data
Share how many injection probe DMAs and how many probe points driver can request from FW. injection_dmas_max 0 means injection is not supported probe_points_max 0 means whole probes subsystem in FW is not enabled and not compiled in. ABI version change to 3.14.0 Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com> Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Reviewed-by: Kai Vehmanen <kai.vehmanen@linux.intel.com> Reviewed-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com> Link: https://lore.kernel.org/r/20200415202816.934-10-pierre-louis.bossart@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent 542adb2 commit 786d651

2 files changed

Lines changed: 13 additions & 1 deletion

File tree

‎include/sound/sof/info.h‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ enum sof_ipc_ext_data {
3131
SOF_IPC_EXT_UNUSED = 0,
3232
SOF_IPC_EXT_WINDOW = 1,
3333
SOF_IPC_EXT_CC_INFO = 2,
34+
SOF_IPC_EXT_PROBE_INFO = 3,
3435
};
3536

3637
/* FW version - SOF_IPC_GLB_VERSION */
@@ -114,4 +115,15 @@ struct sof_ipc_cc_version {
114115
char desc[]; /* null terminated compiler description */
115116
} __packed;
116117

118+
/* extended data: Probe setup */
119+
struct sof_ipc_probe_support {
120+
struct sof_ipc_ext_data_hdr ext_hdr;
121+
122+
uint32_t probe_points_max;
123+
uint32_t injection_dmas_max;
124+
125+
/* reserved for future use */
126+
uint32_t reserved[2];
127+
} __packed;
128+
117129
#endif

‎include/uapi/sound/sof/abi.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626

2727
/* SOF ABI version major, minor and patch numbers */
2828
#define SOF_ABI_MAJOR 3
29-
#define SOF_ABI_MINOR 13
29+
#define SOF_ABI_MINOR 14
3030
#define SOF_ABI_PATCH 0
3131

3232
/* SOF ABI version number. Format within 32bit word is MMmmmppp */

0 commit comments

Comments
 (0)