Uh oh!
There was an error while loading. Please reload this page.
pipeline: set scheduling comp during complete - #4113
Conversation
02e99fd to
113459bCompareplbossart
commented
Apr 28, 2021
@ranj063 is this related to a specific issue or evolution? Also wondering if this means a specific kernel would need a firmware with a minimal version, which could be problematic in terms of backwards compatibility. |
ranj063
commented
Apr 28, 2021
@plbossart this is mainly required for IPC4 support with dynamic pipelines. A newer kernel that tries to set up the pipeline widget willl require this patch. So I suppose this calls for an ABI bump |
plbossart
commented
Apr 28, 2021
I guessed this was for IPC4, but you modified common code and helper-ipc3.c, so not sure how this might work for current platforms. |
ranj063
commented
Apr 28, 2021
yes, I suppose this could be in the common helper if things work the same way for IPC3 and IPC4. |
marc-hb
commented
Apr 28, 2021
The https://github.com/thesofproject/sof/pull/4113/checks?check_run_id=2461033508 regression was added by #4111 and is unrelated to this PR |
lgirdwood
commented
Apr 29, 2021
@ranj063 UT's build failing - best to locally check with ./scripts/run-mocks.sh |
lgirdwood
commented
Apr 29, 2021
@ranj063 I assume you also need a kernel path (perhaps we can use the MINOR ABI) to set the order of the pipeline new IPC in the driver ? |
lgirdwood
commented
Apr 29, 2021
@juimonen fyi - you will need this PR for pipeline allocator. |
ranj063
commented
May 3, 2021
@lgirdwood do I really need an ABI bump here? This change wont impact the static pipeline topologies that we have today. The hda-generic pipelines are the only ones using dynamic pipelines and Im not sure if they are used in any product. So if and when we switch to dynamic pipeliine in tplg, we can be assured that the FW will already have this change right? |
lgirdwood
commented
May 3, 2021
ok, sounds fine. Btw, lets get this in for v1.8-rc1, just needs the UT fixed. See above comment on running the UTs locally. |
ranj063
commented
May 5, 2021
@lgirdwood should be fixed now |
ranj063
commented
May 5, 2021
this patch should be merged after #4143 though. |
@ranj063 looks like a pipeline error happening from time to time in QB logs. |
lgirdwood
commented
May 6, 2021
@ranj063 I'm assuming this is a fix for v1.8 ? if so, we can get into rc2 |
ranj063
commented
May 6, 2021
@zrombel could you please help me understand why the "17_03_TestMultiCoreMultiKernelHda48000hz24b32b2ch" test is failing with this PR? |
53c0f8b to
9556303CompareMove the code that sets the scheduling comp for a pipeline to allow setting it in ipc_pipeline_complete(). This removes the restriction that the scheduling comp must be set up before the pipeline widget and provides the flexibility in the kernel to set up the widgets in any order while parsing topology. Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Move the code that sets the scheduling comp for
a pipeline to ipc_pipeline_complete(). This removes the
restriction that the scheduling comp must be set up
before the pipeline widget and provides the
flexibility in the kernel to set up the widgets
in any order while parsing topology.
Signed-off-by: Ranjani Sridharan ranjani.sridharan@linux.intel.com