You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
audio: buffers: add support for DP-to-DP component binding
Binding two DP (Data Processing) scheduled components was previously
rejected with IPC4_INVALID_REQUEST because both sides required a
secondary ring buffer. This patch adds support for DP-to-DP component
binding under a new CONFIG_DP_TO_DP_BIND Kconfig option.
In a DP-to-DP connection, a single shared ring buffer is created and
attached as a secondary buffer on both the source and sink sides of the
intermediate comp_buffer. The upstream DP module writes directly to the
ring buffer sink API, and the downstream DP module reads directly from
its source API. No copying or intermediate synchronization is required
during low-latency (LL) scheduling cycles.
The DP module virtual memory region backing the ring buffer is
refcounted so that it remains valid across component lifetimes, and
audio buffer reset and free operations ensure the shared secondary
buffer is not reset or freed twice.
Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
0 commit comments