-
Notifications
You must be signed in to change notification settings - Fork 325
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
audio: copier: use v_index for DAI index in I2S link creation #8980
audio: copier: use v_index for DAI index in I2S link creation #8980
Conversation
63e6366
to
ab09ce4
Compare
SOFCI TEST |
ab09ce4
to
ebd532e
Compare
src/audio/copier/copier_dai.c
Outdated
@@ -259,7 +259,7 @@ int copier_dai_create(struct comp_dev *dev, struct copier_data *cd, | |||
break; | |||
case ipc4_i2s_link_output_class: | |||
case ipc4_i2s_link_input_class: | |||
dai_index[dai_count - 1] = (dai_index[dai_count - 1] >> 4) & 0xF; | |||
dai_index[dai_count - 1] = node_id.f.v_index; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
line 247 I can see this:
dai_index[dai_count - 1] = node_id.f.v_index;
So this new assignment is redundant?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
correct, this is redundant. I will remove it in the next update (This PR was created mainly to check the CI results - I missed this). Thanks
This PR is related to zephyrproject-rtos/zephyr#70660 - Still in development |
1183253
to
562e0d7
Compare
SOFCI TEST |
before merging we need to make sure that all 'nocodec' kernel tests pass, that's where we test the SSP mostly along with the topology definitions/blobs.. |
Of course, I agree with that. I am currently trying to understand why some of the 'nocodec' type tests are not starting. |
562e0d7
to
1654f97
Compare
SOFCI TEST |
75b0b68
to
279d17b
Compare
@dnikodem @plbossart looks like all nocodec tests are working - does this mean we are ready now for non draft ? |
For my part - I am waiting for the "final" confirmation from the validation team (this is related to the recent changes in the zephyr part). The results should be available tomorrow. |
Referring to Wojciech's comment from the Zephyr part: wszypelt commented 2 days ago • wszypelt commented yesterday |
279d17b
to
7ee1cda
Compare
Rebased because the number of SSP devices was reduced with other PR: #9053 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, @plbossart @ujfalusi pls confirm no driver impact. Thanks !
The v_index is coming from topology (it is essentially the SOF_TKN_DAI_INDEX token of a DAI copier. In future platforms we might pass additional information for SSP selection via bit0-3 and this is what this patch is preparing for. |
@dnikodem rebase needed and draft status to be changed. |
Sure, I'll do it, but before we merge it, we need to merge the zephyr part: zephyrproject-rtos/zephyr#70660 |
7ee1cda
to
550c778
Compare
This commit updates the copier DAI creation logic for I2S links to use the `v_index` field from the `node_id` structure as the DAI index. This change ensures that the correct DAI index is used when creating I2S links, aligning with the new SSP link management mechanism. West update to necessary SSP changes: driver: ssp: update Intel SSP DAI driver to support dynamic SSP management Signed-off-by: Damian Nikodem <[email protected]>
550c778
to
95c4e8c
Compare
It seems that CI failures are not related to these PR changes. |
This commit updates the copier DAI creation logic for I2S links to use the
v_index
field from thenode_id
structure as the DAI index. This change ensures that the correct DAI index is used when creating I2S links, aligning with the new SSP link management mechanism.The following PR must be merged into the Zephyr repository before we can merge this PR: