diff options
author | Chao Song <[email protected]> | 2022-11-07 10:57:06 +0200 |
---|---|---|
committer | Mark Brown <[email protected]> | 2022-11-07 13:58:11 +0000 |
commit | c84443db0fddd188838faa9d71ebd6d9aa280068 (patch) | |
tree | bee5b7cdf5957474eccc05f30a3b29e90bca20a6 /tools/perf/scripts/python/check-perf-trace.py | |
parent | 3b3acedbd0f30b822e05e5e51b646a67de0031fc (diff) |
ASoC: SOF: topology: Add helper to get/put widget queue id
Add get/put queue id helper to manage queue id in route
setup and route free.
The queue allocation rules are:
- If widget only has one sink/source pin, zero will be
returned as the queue ID directly.
- If widget has more than one sink/source pins, and pin
binding array is defined in topology, queue ID will be
allocated according to the pin binding array.
- If widget has more than one sink/sink pins, and pin
binding array is not defined, Linux ID allocation will be
used to allocate queue ID dynamically.
Signed-off-by: Chao Song <[email protected]>
Signed-off-by: Bard Liao <[email protected]>
Suggested-by: Ranjani Sridharan <[email protected]>
Reviewed-by: Pierre-Louis Bossart <[email protected]>
Reviewed-by: Rander Wang <[email protected]>
Reviewed-by: Péter Ujfalusi <[email protected]>
Signed-off-by: Peter Ujfalusi <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions