-
Notifications
You must be signed in to change notification settings - Fork 349
pipeline: set scheduling comp during complete #4113
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
02e99fd to
113459b
Compare
|
@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. |
@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 |
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. |
yes, I suppose this could be in the common helper if things work the same way for IPC3 and IPC4. |
|
The https://github.com/thesofproject/sof/pull/4113/checks?check_run_id=2461033508 regression was added by #4111 and is unrelated to this PR |
|
@ranj063 UT's build failing - best to locally check with ./scripts/run-mocks.sh |
|
@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 ? |
|
@juimonen fyi - you will need this PR for pipeline allocator. |
@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? |
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. |
113459b to
1904843
Compare
@lgirdwood should be fixed now |
|
this patch should be merged after #4143 though. |
1904843 to
d5fe926
Compare
|
@ranj063 looks like a pipeline error happening from time to time in QB logs. |
d5fe926 to
1b02261
Compare
|
@ranj063 I'm assuming this is a fix for v1.8 ? if so, we can get into rc2 |
1b02261 to
76d0da1
Compare
|
@zrombel could you please help me understand why the "17_03_TestMultiCoreMultiKernelHda48000hz24b32b2ch" test is failing with this PR? |
53c0f8b to
9556303
Compare
Move 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>
9556303 to
b963d6c
Compare
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