summaryrefslogtreecommitdiff
path: root/include/linux/rolling_buffer.h
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2026-08-04 17:31:03 +0100
committerMark Brown <broonie@kernel.org>2026-08-04 17:31:03 +0100
commit4afd4ac3642a8ff73af331079b0fc0b0ccd0a3df (patch)
treea25bd021cf5212e413c4a4883d6e0baa7ef2d64f /include/linux/rolling_buffer.h
parentcf07f148068cdfdc29580da445f3cc3ce429f764 (diff)
parent94648dc65e66dbdb318a96a132f652a53d62cea1 (diff)
ASoC: SOF: ipc4-topology: Pipeline params improvements
Peter Ujfalusi <peter.ujfalusi@linux.intel.com> says: Improve handling of some corner cases that are not used by current topology designs, but can be crafted within the rules of a topology file. For example branching topologies, where a single input routed to multiple output endpoints. The already configured part of the graph places constraint on how the new branch can be configured. Handling of process modules also updated to be able to 'guess' what parameters can be changed by the module and allow flexible operation. Link: https://patch.msgid.link/20260730121729.18673-1-peter.ujfalusi@linux.intel.com
Diffstat (limited to 'include/linux/rolling_buffer.h')
-rw-r--r--include/linux/rolling_buffer.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/rolling_buffer.h b/include/linux/rolling_buffer.h
index ac15b1ffdd83..9e5dad29669c 100644
--- a/include/linux/rolling_buffer.h
+++ b/include/linux/rolling_buffer.h
@@ -43,13 +43,13 @@ struct rolling_buffer_snapshot {
#define ROLLBUF_MARK_2 BIT(1)
int rolling_buffer_init(struct rolling_buffer *roll, unsigned int rreq_id,
- unsigned int direction);
-int rolling_buffer_make_space(struct rolling_buffer *roll);
+ unsigned int direction, gfp_t gfp);
+int rolling_buffer_make_space(struct rolling_buffer *roll, gfp_t gfp);
ssize_t rolling_buffer_load_from_ra(struct rolling_buffer *roll,
struct readahead_control *ractl,
struct folio_batch *put_batch);
ssize_t rolling_buffer_append(struct rolling_buffer *roll, struct folio *folio,
- unsigned int flags);
+ unsigned int flags, gfp_t gfp);
struct folio_queue *rolling_buffer_delete_spent(struct rolling_buffer *roll);
void rolling_buffer_clear(struct rolling_buffer *roll);