-
Notifications
You must be signed in to change notification settings - Fork 144
ASoC: SOF: Revert dynamic Deep Buffer support for now #5748
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: topic/sof-dev
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -688,15 +688,22 @@ static int sof_ipc4_widget_setup_pcm(struct snd_sof_widget *swidget) | |||||||||||||||||||||||||||
| goto free_available_fmt; | ||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||
| sps = &spcm->stream[dir]; | ||||||||||||||||||||||||||||
| if (dir == SNDRV_PCM_STREAM_PLAYBACK) { | ||||||||||||||||||||||||||||
| sof_update_ipc_object(scomp, &sps->dsp_max_burst_size_in_ms, | ||||||||||||||||||||||||||||
| SOF_COPIER_DEEP_BUFFER_TOKENS, | ||||||||||||||||||||||||||||
| swidget->tuples, | ||||||||||||||||||||||||||||
| swidget->num_tuples, sizeof(u32), 1); | ||||||||||||||||||||||||||||
|
Comment on lines
+691
to
+694
|
||||||||||||||||||||||||||||
| sof_update_ipc_object(scomp, &sps->dsp_max_burst_size_in_ms, | |
| SOF_COPIER_DEEP_BUFFER_TOKENS, | |
| swidget->tuples, | |
| swidget->num_tuples, sizeof(u32), 1); | |
| ret = sof_update_ipc_object(scomp, &sps->dsp_max_burst_size_in_ms, | |
| SOF_COPIER_DEEP_BUFFER_TOKENS, | |
| swidget->tuples, | |
| swidget->num_tuples, sizeof(u32), 1); | |
| if (ret) { | |
| dev_err(scomp->dev, "parse host copier deep buffer token failed %d\n", | |
| ret); | |
| goto free_available_fmt; | |
| } |
Copilot
AI
Apr 24, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This dev_dbg() format string lacks a trailing newline, while most other log messages in this file include one. Add "\n" at the end to keep log formatting consistent and avoid messages being concatenated.
Copilot
AI
Apr 24, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This dev_dbg() format string lacks a trailing newline, while most other log messages in this file include one. Add "\n" at the end to keep log formatting consistent and avoid messages being concatenated.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor wording in this new comment: "Consequent DMA burst sizes" should be "Subsequent DMA burst sizes" (and consider "for a few internal periods" instead of "for few").