Skip to content

audio: add multi-slot WOV arbiter, multi-client KPB, and notifier events - #11507

Draft
lgirdwood wants to merge 4 commits into
thesofproject:mainfrom
lgirdwood:wov-pr4-wov-arbiter
Draft

lgirdwood wants to merge 4 commits into
thesofproject:mainfrom
lgirdwood:wov-pr4-wov-arbiter

Conversation

@lgirdwood

Copy link
Copy Markdown
Member

Split from #11471 (wov-d0i3).

Summary

  • Add WoV and D0iX power state notifier events (notifier, ipc4).
  • Extend KPB (src/audio/kpb.c) for multi-client WoV detector triggering and dynamic sample rates.
  • Add multi-slot WoV arbiter DP/LL component (src/audio/wov_arbiter/, CONFIG_COMP_WOV_ARBITER) and wire Kconfig/rimage/UUID entries.
  • Add multi-slot WoV support to detect_test.

Testing

  • Compiled PTL firmware (intel_adsp/ace30/ptl) with CONFIG_COMP_WOV_ARBITER=y cleanly.

lrgirdwo and others added 4 commits November 21, 2026 12:42
Add NOTIFIER_ID_WOV_DETECT, NOTIFIER_ID_WOV_CTRL, and
NOTIFIER_ID_D0IX_STATE notifier IDs along with the D0iX state payload
and WOV arbiter notifier/control ABI header. Dispatch
NOTIFIER_ID_D0IX_STATE from ipc4_module_process_d0ix() so components
such as microWakeWord can switch to low-power D0i3 operation.

Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
…le rates

Support multiple downstream WOV detector pipelines sharing a single KPB
history buffer:
- Support multi-sink topology binding, dynamic sample rates, and
  synchronous IPC4 reset.
- Fix drain boundary copy, cross-core drain request coherency, and buffer
  parameter configuration races.
- Continue history buffering when a selector sink is full, and disable
  synchronous draining mode blocking.
- Increase KPB_MAX_NO_OF_CLIENTS default to 4 and KPB_MAX_BUFF_TIME to
  6000 ms on ACE 3.0+.

Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Co-authored-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
Add the WOV arbiter component (CONFIG_COMP_WOV_ARBITER) to arbitrate
between multiple concurrent keyword detector slots sharing a single host
WoV capture PCM:
- First-wins slot arbitration on NOTIFIER_ID_WOV_DETECT, broadcasting
  NOTIFIER_ID_WOV_CTRL pause/resume to sibling detectors.
- Rate-limited PHRASE_DETECTED host notifications (sent once per
  detection) and active slot reset without requiring pipeline teardown.
- Support mixed 16/32-bit sample widths, single active WoV PCM gating, and
  call-state gate control.

Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Co-authored-by: Naveen Manohar <naveen.m@intel.com>
Signed-off-by: Naveen Manohar <naveen.m@intel.com>
Co-authored-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
Co-authored-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Extend the detect_test sample component to support multi-slot WOV
operation alongside wov_arbiter (slot ID configuration, DP thread
batching, and WOV_CTRL pause/resume handling).

Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Co-authored-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants