acp: add TDM DAI and DMA support for ACP 7.0#10761
Conversation
|
Can one of the admins verify this patch?
|
|
Dependency: This PR depends on zephyrproject-rtos/zephyr#108314 for native Zephyr ACP 7.0 TDM driver enablement. |
| } else { | ||
| tdm_ctx = (struct tdm_context *)tdm_data->dai_index_ptr; | ||
| } | ||
| tdm_ctx->index = dd->dai->index; |
| struct tdm_context *tdm_ctx; | ||
| if (!tdm_data->dai_index_ptr) { | ||
| tdm_ctx = rzalloc(SOF_MEM_FLAG_USER | SOF_MEM_FLAG_COHERENT, | ||
| sizeof(*tdm_ctx)); |
There was a problem hiding this comment.
does it have to be uncached because it's accessed from different contexts? Maybe you need a comment for that
|
Will run CI. |
|
test this please |
|
@Sivasubramanian678 pls see CI, lots of build failures showing |
Dependency: This PR depends on zephyrproject-rtos/zephyr#108314 for native Zephyr ACP 7.0 TDM driver enablement. So we have to wait till zephyr PR's merge. |
oh, ouch... how have I missed it?? Sorry! Shouldn't happen actually... |
|
This now hits same failure on NXP IMX95 as hits previous attempt to upgrade Zephyr (see latest status in #10765 (comment) ). |
Thanks for the update, @kv2019i . Could you please let me know what I should do from my side to proceed? |
We are depending on zephyrproject-rtos/zephyr#109474 and updating the PR to include that in the Zephyr update. @dbaluta @LaurentiuM1234 any takes on this, can we help to expedite this? Or if this take more time, ok to proceed and break imx95 for a moment...? |
Add TDM DAI and DMA support for the AMD ACP 7.0 platform with three instances: HS, SP, and BT. Signed-off-by: Siva Subramanian Ravi Saravanan <sravisar@amd.com>
Hi @kv2019i, the mentioned commit has now been merged. Could you please let me know if any updates are required from my side to ensure that the i.MX95 CI does not fail? |
|
@Sivasubramanian678 Can you update your PR and take a newer commit from Zephyr main (that includes the now merged fix to imx95) and resubmit. CI should pass now and we can proceed to merge. |
Signed-off-by: Siva Subramanian Ravi Saravanan <sravisar@amd.com>
Hi @kv2019i, I have updated my PR with the latest commit from Zephyr main that includes the i.MX95 fix, as suggested. However, I’m still seeing the i.MX95 CI failure. Could you please help check if anything else might be missing from my side. |
|
@thesofproject/nxp can you check? imx95 build seems to still fail. The error is now different than previously: https://github.com/thesofproject/sof/actions/runs/27205719796/job/80320892865?pr=10761 |
Add TDM DAI and DMA support for the AMD ACP
7.0 platform with three instances: HS, SP, and BT.