ASoC: SOF: add core id to sof_ipc_comp
authorTomasz Lauda <tomasz.lauda@linux.intel.com>
Fri, 28 Feb 2020 23:18:50 +0000 (17:18 -0600)
committerMark Brown <broonie@kernel.org>
Mon, 2 Mar 2020 14:13:50 +0000 (14:13 +0000)
Adds core id to sof_ipc_comp. The intention of this change
is to inform FW on which core that particular component
should run. Right now core id is only passed when pipeline
is created, which is not flexible enough and doesn't allow
for FW to handle this the right way.

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Tomasz Lauda <tomasz.lauda@linux.intel.com>
Link: https://lore.kernel.org/r/20200228231850.9226-5-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/sof/topology.h
include/uapi/sound/sof/abi.h

index 8e76178..402e025 100644 (file)
@@ -53,9 +53,10 @@ struct sof_ipc_comp {
        uint32_t id;
        enum sof_comp_type type;
        uint32_t pipeline_id;
+       uint32_t core;
 
        /* reserved for future use */
-       uint32_t reserved[2];
+       uint32_t reserved[1];
 } __packed;
 
 /*
index c0ef164..5995b79 100644 (file)
@@ -26,7 +26,7 @@
 
 /* SOF ABI version major, minor and patch numbers */
 #define SOF_ABI_MAJOR 3
-#define SOF_ABI_MINOR 12
+#define SOF_ABI_MINOR 13
 #define SOF_ABI_PATCH 0
 
 /* SOF ABI version number. Format within 32bit word is MMmmmppp */