topology: Support using "index" to group objects when generating binary for kernel
Status from this message: Applied these four patches now. Thanks.
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | topology: Insert new element based on its index valuesrc/ | +49 | 0 replies | |
| 2/4 | topology: Remove code parsing index value in paring each objectsrc/ src/ src/ +1 more | +0 | 0 replies | |
| 3/4 | topology: Look up references for an object based on its indexinclude/ src/ src/ +4 more | +41 | 0 replies | |
| 4/4 | topology: Group elements with the same index value into a blocksrc/ | +51 | 0 replies |
Reviews trailers per patch
All 4 patches have a Reviewed-by or Acked-by.
| Patch | Mengdong Lin |
|---|---|
| 1/4 | R-b |
| 2/4 | R-b |
| 3/4 | R-b |
| 4/4 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/4] topology: Support using "index" to group objects when generating binary for kernel
From: Fuwei Tang <[email protected]>
The index value of an topology object can be used to group objects for different use cases. And so the audio kernel driver can ask topology core to load all objects of the specified index value(use case). The function is already supported in kernel.
So in the user space, for topology objects of the same type but with different index values, they should be written into different blocks in the binary for kernel. The index value is stored in the block header.
Fuwei Tang (4):
topology: Insert new element based on its index value
topology: Remove code parsing index value in paring each object
topology: Look up references for an object based on its index
topology: Group elements with the same index value into a block
include/topology.h | 10 +++-- src/topology/builder.c | 94 +++++++++++++++++++++++++---------------------- src/topology/ctl.c | 31 +--------------- src/topology/dapm.c | 27 +++++--------- src/topology/data.c | 15 ++------ src/topology/elem.c | 74 +++++++++++++++++++++++++++---------- src/topology/pcm.c | 58 ++++++----------------------- src/topology/tplg_local.h | 3 +- 8 files changed, 141 insertions(+), 171 deletions(-)
Signature · 1 line
2.7.4