Skip to content

Commit 4d20b4e

Browse files
committed
ipc: add a comment to explain DP flow
Switching to the userspace mode in DP and LL cases differs. Add a comment to explain that. Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
1 parent ee7bebc commit 4d20b4e

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

src/ipc/ipc4/handler-user.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1570,6 +1570,11 @@ __cold int ipc4_user_process_module_message(struct ipc4_message_request *ipc4,
15701570
mi = (struct ipc4_module_init_instance *)ipc4;
15711571

15721572
if (mi->extension.r.proc_domain || !IS_ENABLED(CONFIG_SOF_USERSPACE_LL)) {
1573+
/*
1574+
* DP module creation starts running in kernel mode and
1575+
* switches to userspace later via a scheduler_dp_thread_ipc()
1576+
* call in module_init().
1577+
*/
15731578
ret = ipc4_init_module_instance(ipc4);
15741579
} else {
15751580
#ifdef CONFIG_SOF_USERSPACE_LL

0 commit comments

Comments
 (0)