We may need to generate capture only or playback only PCMs.
Add these macros to help generate them.
Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
We have 5 critical arguments in the test generator but only used 3 for
the naming, this will make some files be overwritten.
Refine the name method to let these 5 arguments show in the tplg name.
Also we decide the pipe type in one of the argument, test-ssp.m4 and
test-src-ssp.m4 are almost the same, just remove one.
Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
Move testing pipelines into a test directory and reuse test scaffolding
so that they can be used to test multiple components on multiple target
with multiples configs.
Test topology scafolding are now pre-processed using a script to generate
the ALSA conf format with the various changes for each test case.
Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Commit 0a1a9bbc492e4eb22173ed57c7f5499c8f106289 discovered a bug in
the direction of AIF widgets in relation to PCMs. AIF widgets are codec
centric in ASoC so topology must align.
Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
1. Widget N_PCMC type should be "aif_in", not "aif_out".
2. Widget W_DAI_IN data should be "N_DAI_IN", not "N_DAI_OUT".
Signed-off-by: Xiuli Pan <xiuli.pan@intel.com>
Signed-off-by: Keyon Jie <yang.jie@linux.intel.com>
Secondary PCM not used atm for 1.0 release so temporarily remove from standard
topologies.
Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Not sure why we need these files, but the cht definitions are not
aligned with the others. Fix.
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
At some point we should have a better way of relying on common parts but
for now add a passthrough shortcut directly usable with machine drivers
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
stream_name is not used by any machine drivers, there is no point in
providing the information to topology layers
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Move trace handler into separate function to make it easier to add new
trace features. Make sure we only support 64 bit timestamps.
Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
1. Timestamp is changed to 64-bit width.
2. Trace event is still 32-bit. High 32-bit of 64-bit is ignored.
Signed-off-by: Yan Wang <yan.wang@linux.intel.com>
Add support so that different playback and capture pipelines can share
the same host PCM device.
Modify board configs to use PCM0 for playback and capture.
Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Align parameters on different lines to allow for easier visual
comparison and direct mapping with comments in build.m4
Also fix typo in comments s/priorty/priority/g
No functional change
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Add a couple of missing parameters in comments, align them logically
to help the rest of us figure out what parameters mean.
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Add a flag to specify whether the pipeline processing work can be
scheduled via a timer or an IRQ source. IRQ scheduling will primarily be
used by pipelines that include a DAI.
Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Allow topology to configure the pipeline ID of any DAI specific
pipeline instead of using 0.
Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
SRC should be scheduled on at least 4ms tick. Increase buffers to
deal with 2 times output rate.
Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>