RFC ASoC: Intel: avs: Topology and path management
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest13 patches 22 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/13 | ASoC: Intel: avs: Declare vendor tokensinclude/ | +126 | 0 replies | |
| 2/13 | ASoC: Intel: avs: Add topology parsing infrastructuresound/ sound/ sound/ | +653 | 2 replies | |
| 3/13 | ASoC: Intel: avs: Parse module-extension tuplessound/ sound/ | +356 | 2 replies | |
| 4/13 | ASoC: Intel: avs: Parse pplcfg and binding tuplessound/ sound/ | +143 | 2 replies | |
| 5/13 | ASoC: Intel: avs: Parse pipeline and module tuplessound/ sound/ | +208 | 2 replies | |
| 6/13 | ASoC: Intel: avs: Parse path and path templates tuplessound/ sound/ | +185 | 2 replies | |
| 7/13 | ASoC: Intel: avs: Add topology loading operationssound/ sound/ sound/ +2 more | +269 | 2 replies | |
| 8/13 | ASoC: Intel: avs: Declare path and its componentssound/ | +60 | 3 replies | |
| 9/13 | ASoC: Intel: avs: Path creation and freeingsound/ sound/ sound/ +1 more | +300 | 3 replies | |
| 10/13 | ASoC: Intel: avs: Path state managementsound/ sound/ | +135 | 2 replies | |
| 11/13 | ASoC: Intel: avs: Arm paths after creating themsound/ | +180 | 0 replies | |
| 12/13 | ASoC: Intel: avs: Prepare modules before bindings themsound/ | +35 | 0 replies | |
| 13/13 | ASoC: Intel: avs: Configure modules according to their typesound/ sound/ sound/ +1 more | +380 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [RFC 00/13] ASoC: Intel: avs: Topology and path management
A continuation of avs-driver initial series [1]. This chapter covers path management and topology parsing part which was ealier path of the main series. The two patches that represented these two subjects in the initial series, have been split into many to allow for easier review and discussion.
AVS topology is split into two major parts: dictionaries - found within ASoC topology manifest - and path templates - found within DAPM widget private data. Dictionaries job is to reduce the total amount of memory occupied by topology elements. Rather than having every pipeline and module carry its own information, each refers to specific entry in specific dictionary by provided (from topology file) indexes. In consequence, most struct avs_tplg_xxx are made out of pointers.
A 'path' represents a DSP side of audio stream in runtime - is a logical container for pipelines which are themselves composed of modules - processing units. Due to high range of possible audio format combinations, there can be more variants of given path (and thus, its pipelines and modules) than total number of pipelines and module instances which firmware supports concurrently, all the instance IDs are allocated dynamically with help of IDA interface. 'Path templates' come from topology file and describe a pattern which is later used to actually create runtime 'path'.
[1]: https://lore.kernel.org/alsa-devel/[email protected]/T/#t
Cezary Rojewski (13):
ASoC: Intel: avs: Declare vendor tokens
ASoC: Intel: avs: Add topology parsing infrastructure
ASoC: Intel: avs: Parse module-extension tuples
ASoC: Intel: avs: Parse pplcfg and binding tuples
ASoC: Intel: avs: Parse pipeline and module tuples
ASoC: Intel: avs: Parse path and path templates tuples
ASoC: Intel: avs: Add topology loading operations
ASoC: Intel: avs: Declare path and its components
ASoC: Intel: avs: Path creation and freeing
ASoC: Intel: avs: Path state management
ASoC: Intel: avs: Arm paths after creating them
ASoC: Intel: avs: Prepare modules before bindings them
ASoC: Intel: avs: Configure modules according to their type
include/uapi/sound/intel/avs/tokens.h | 126 ++ sound/soc/intel/Kconfig | 2 + sound/soc/intel/avs/Makefile | 3 +- sound/soc/intel/avs/avs.h | 23 + sound/soc/intel/avs/path.c | 1008 ++++++++++++++++ sound/soc/intel/avs/path.h | 72 ++ sound/soc/intel/avs/topology.c | 1600 +++++++++++++++++++++++++ sound/soc/intel/avs/topology.h | 195 +++ 8 files changed, 3028 insertions(+), 1 deletion(-) create mode 100644 include/uapi/sound/intel/avs/tokens.h create mode 100644 sound/soc/intel/avs/path.c create mode 100644 sound/soc/intel/avs/path.h create mode 100644 sound/soc/intel/avs/topology.c create mode 100644 sound/soc/intel/avs/topology.h
Signature · 1 line
2.25.1