diff options
author | Kuninori Morimoto <[email protected]> | 2023-11-13 01:28:27 +0000 |
---|---|---|
committer | Mark Brown <[email protected]> | 2023-11-27 13:44:00 +0000 |
commit | 45cc50d13433a62f23b7b4af380497aae5e8ddc7 (patch) | |
tree | 848a28bbfd7fe8ef6e1a81f2eca35f62914b90c3 /tools/perf/scripts/python/task-analyzer.py | |
parent | 74fc96e8d4b3a4f3ceb8d14c99f3e0ef70a0c381 (diff) |
ASoC: makes CPU/Codec channel connection map more generic
Current ASoC CPU:Codec = N:M connection is using connection mapping idea,
but it is used for N < M case only. We want to use it for any case.
By this patch, not only N:M connection, but all existing connection
(1:1, 1:N, N:N) will use same connection mapping. Then, because it will
use default mapping, no conversion patch is needed to exising drivers.
More over, CPU:Codec = N:M (N > M) also supported in the same time.
ch_maps array will has CPU/Codec index by this patch.
Image
CPU0 <---> Codec0
CPU1 <-+-> Codec1
CPU2 <-/
ch_map
ch_map[0].cpu = 0 ch_map[0].codec = 0
ch_map[1].cpu = 1 ch_map[1].codec = 1
ch_map[2].cpu = 2 ch_map[2].codec = 1
Link: https://lore.kernel.org/r/[email protected]
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Kuninori Morimoto <[email protected]>
Reviewed-by: Bard Liao <[email protected]>
Tested-by: Pierre-Louis Bossart <[email protected]>
Tested-by: Jerome Brunet <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions