Skip to content

Commit

Permalink
ipc4: Fix for cross-core buffer creation
Browse files Browse the repository at this point in the history
Bind for components located on different cores is processed on core 0,
so buffer is created on core 0, not on its source component core.

Signed-off-by: Serhiy Katsyuba <[email protected]>
  • Loading branch information
serhiy-katsyuba-intel committed Sep 14, 2023
1 parent 8fcc506 commit c8f294c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ipc/ipc4/helper.c
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ static struct comp_buffer *ipc4_create_buffer(struct comp_dev *src, struct comp_
ipc_buf.size = buf_size;
ipc_buf.comp.id = IPC4_COMP_ID(src_queue, dst_queue);
ipc_buf.comp.pipeline_id = src->ipc_config.pipeline_id;
ipc_buf.comp.core = src->ipc_config.core;
ipc_buf.comp.core = cpu_get_id();
return buffer_new(&ipc_buf);
}

Expand Down

0 comments on commit c8f294c

Please sign in to comment.