Skip to content

Commit 18623a4

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 7b00d77 commit 18623a4

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
@@ -720,7 +720,7 @@ int zephyr_ll_scheduler_init(struct ll_schedule_domain *domain)
720720

721721
#if CONFIG_SOF_USERSPACE_LL
722722
heap = zephyr_ll_user_heap();
723-
flags = SOF_MEM_FLAG_USER;
723+
flags = SOF_MEM_FLAG_USER | SOF_MEM_FLAG_COHERENT;
724724
#endif
725725
tr_dbg(&ll_tr, "init on core %d", core);
726726

0 commit comments

Comments
 (0)