Skip to content

topology2: tplg-targets-sdca-generic: remove 10ms deep buffer dma buffer#10559

Open
udaymb wants to merge 1 commit intothesofproject:mainfrom
udaymb:tplg-dyn-deepbuf-dma-rm-entries
Open

topology2: tplg-targets-sdca-generic: remove 10ms deep buffer dma buffer#10559
udaymb wants to merge 1 commit intothesofproject:mainfrom
udaymb:tplg-dyn-deepbuf-dma-rm-entries

Conversation

@udaymb
Copy link
Contributor

@udaymb udaymb commented Feb 20, 2026

With Dynamic DeepBuffer the host DMA buffer size is calculated based on the requested ALSA period size (with a headroom between the two) using the DEEP_BUFFER token as a maximum limit for the host DMA buffer.

This way applications can use the same DeepBuffer enabled PCM for different use cases and still benefit of the power saving of a bigger host DMA

Kernel has been updated
thesofproject/linux#5673

With Dynamic DeepBuffer the host DMA buffer size is calculated based on
the requested ALSA period size (with a headroom between the two) using the
DEEP_BUFFER token as a maximum limit for the host DMA buffer.

This way applications can use the same DeepBuffer enabled PCM for different
use cases and still benefit of the power saving of a bigger host DMA

Kernel has been updated
thesofproject/linux#5673

Signed-off-by: Uday M Bhat <uday.m.bhat@intel.com>
@udaymb udaymb requested a review from ranj063 as a code owner February 20, 2026 06:28
Copilot AI review requested due to automatic review settings February 20, 2026 06:28
@udaymb udaymb requested a review from jsarha as a code owner February 20, 2026 06:28
@udaymb udaymb requested a review from ujfalusi February 20, 2026 06:28
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR removes the hardcoded 10ms deep buffer DMA buffer size from SDCA-generic topology configurations to enable Dynamic DeepBuffer functionality. With this change, the host DMA buffer size will be dynamically calculated based on the requested ALSA period size, using the default DEEP_BUFFER token (100ms) as a maximum limit rather than the restrictive 10ms fixed value. This allows applications to use the same DeepBuffer-enabled PCM for different use cases while benefiting from power savings.

Changes:

  • Removed DEEPBUFFER_FW_DMA_MS=10 parameter from 8 SDCA-generic topology configurations
  • Retained DEEP_BUF_SPK=true to keep deep buffer functionality enabled
  • Configurations now use the default 100ms maximum limit for dynamic buffer calculation

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Contributor

@ujfalusi ujfalusi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good with combination of the dynamic DeepBuffer in kernel.

@udaymb udaymb requested review from bardliao and kv2019i February 20, 2026 08:17
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

Comments