Skip to content

Commit 281b648

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 0aba97a commit 281b648

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
@@ -1557,6 +1557,11 @@ __cold int ipc4_user_process_module_message(struct ipc4_message_request *ipc4,
15571557
mi = (struct ipc4_module_init_instance *)ipc4;
15581558

15591559
if (mi->extension.r.proc_domain || !IS_ENABLED(CONFIG_SOF_USERSPACE_LL)) {
1560+
/*
1561+
* DP module creation starts running in kernel mode and
1562+
* switches to userspace later via a scheduler_dp_thread_ipc()
1563+
* call in module_init().
1564+
*/
15601565
ret = ipc4_init_module_instance(ipc4);
15611566
} else {
15621567
#ifdef CONFIG_SOF_USERSPACE_LL

0 commit comments

Comments
 (0)