Skip to content

[Userspace LL] ipc: ipc4: use the SOF sof_dma_get_status() in dai_common_position() - #11084

Open
kv2019i wants to merge 1 commit into
thesofproject:mainfrom
kv2019i:202608-userll-dai-latency-fix
Open

[Userspace LL] ipc: ipc4: use the SOF sof_dma_get_status() in dai_common_position()#11084
kv2019i wants to merge 1 commit into
thesofproject:mainfrom
kv2019i:202608-userll-dai-latency-fix

Conversation

@kv2019i

@kv2019i kv2019i commented Aug 11, 2026

Copy link
Copy Markdown
Collaborator

Use the sof_dma_get_status() wrapper to get DMA status in dai_common_position(). This allows the code to be used from user-space context.

Use the sof_dma_get_status() wrapper to get DMA status in
dai_common_position(). This allows the code to be used from user-space
context.

Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Copilot AI lite review requested due to automatic review settings August 11, 2026 15:57
@kv2019i

kv2019i commented Aug 11, 2026

Copy link
Copy Markdown
Collaborator Author

For context, this is part of #10558

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates IPC4 DAI position reporting to use the SOF DMA userspace-safe syscall wrapper, enabling dai_common_position() to be called from user-space contexts without directly touching Zephyr DMA driver APIs.

Changes:

  • Replace direct dma_get_status(dd->dma->z_dev, ...) usage with sof_dma_get_status(dd->dma, ...) in dai_common_position().

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants