summaryrefslogtreecommitdiff
path: root/include/sound/sof/topology.h
diff options
context:
space:
mode:
authorTomasz Lauda <tomasz.lauda@linux.intel.com>2020-02-28 17:18:50 -0600
committerMark Brown <broonie@kernel.org>2020-03-02 14:13:50 +0000
commit1a2289fdf678b780b2d68f408523c09b7074982e (patch)
tree12419b1931f91744416908cc5aa94d6af42b44e9 /include/sound/sof/topology.h
parent8354d9b44530b5f534146668ae641572dede79a4 (diff)
ASoC: SOF: add core id to sof_ipc_comp
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>
Diffstat (limited to 'include/sound/sof/topology.h')
-rw-r--r--include/sound/sof/topology.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/sound/sof/topology.h b/include/sound/sof/topology.h
index 8e76178fedf0..402e0250c508 100644
--- a/include/sound/sof/topology.h
+++ b/include/sound/sof/topology.h
@@ -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;
/*