[Sound-open-firmware] [PATCH 1/3] ipc: add support for timer topology scheduling source.

Liam Girdwood liam.r.girdwood at linux.intel.com
Fri Sep 22 01:32:33 CEST 2017


Add an option to schedule based on timer or on DAI/DMA IRQ

Signed-off-by: Liam Girdwood <liam.r.girdwood at linux.intel.com>
---
 src/include/uapi/ipc.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/include/uapi/ipc.h b/src/include/uapi/ipc.h
index acfa05e..472fb41 100644
--- a/src/include/uapi/ipc.h
+++ b/src/include/uapi/ipc.h
@@ -678,6 +678,7 @@ struct sof_ipc_pipe_new {
 	uint32_t mips;		/* worst case instruction count per period */
 	uint32_t frames_per_sched; /* output frames of pipeline, 0 is variable */
 	uint32_t xrun_limit_usecs; /* report xruns greater than limit */
+	uint32_t timer;		/* non zero if timer scheduled otherwise DAI scheduled */
 }  __attribute__((packed));
 
 /* pipeline construction complete - SOF_IPC_TPLG_PIPE_COMPLETE */
-- 
2.11.0



More information about the Sound-open-firmware mailing list