Skip to content

Commit 0fd8c42

Browse files
committed
schedule: ll: allocate coherent memory in userspace mode too
Also when userspace is used scheduler instances have to be allocated uncached. Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
1 parent 96e4586 commit 0fd8c42

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/schedule/zephyr_ll.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -622,7 +622,7 @@ __cold int zephyr_ll_scheduler_init(struct ll_schedule_domain *domain)
622622

623623
#if CONFIG_SOF_USERSPACE_LL
624624
heap = zephyr_ll_user_heap();
625-
flags = SOF_MEM_FLAG_USER;
625+
flags = SOF_MEM_FLAG_USER | SOF_MEM_FLAG_COHERENT;
626626
#endif
627627
tr_dbg(&ll_tr, "init on core %d", core);
628628

0 commit comments

Comments
 (0)