topology: add timer schedule configuration to pipelines
Add a configure item to configure if using timer schedule on a specific
pipeline, 0 means not using timer scheduling, non-0 means the scheduling
timer cadence for the pipeline.
Haven't set the flag in topology/sof/sof-xxx.m4 yet, that means it will
use io/interrupt scheduling for those topologies/pipelines at the
moment, if wanna to change them, please change them specific there.
Signed-off-by: Keyon Jie <email address hidden>
748a6a7...
by
Bartosz Kokoszko <email address hidden>
scheduler: add new generic scheduler api
This commit:
1. Renames specific schedulers:
- schedule (.c/.h) -> edf_schedule (.c/.h)
- work (.c/.h) -> ll_schedule (.c/.h)
2. Implements new generic scheduler api based on generic
struct with scheduler ops. Every specific
scheduler exports struct with pointers to its
specific functions.
3. Makes edf and ll using generic api (exports structure
with pointers to its own specific functions)
4. Updates host and pipeline tests due to scheduler
changes.
dai: dw-dma: adjust flow to more scheduler flexible
Adjusts dai and dw-dma configuration flows to be more
scheduler flexible and not only working for DMA IRQ
based schedulers. Note: due to the nature of timer
scheduling we need to have restriction for dw-dma
to support minimum 3 linked list items. Without
such restriction we may not be able to clear done
bits on time.
Signed-off-by: Tomasz Lauda <email address hidden>
hda-dma: utilize generic scheduling support for Link DMA
Changes implementation of HDA Link DMA to fully utilize
generic scheduling support. HDA Link DMA cannot work
with IRQ scheduling, so timer scheduling was hidden
inside of the hda-dma driver. Now it fully utilizes
timer scheduling support by default.
Signed-off-by: Tomasz Lauda <email address hidden>
59f5fb7...
by
Adrian Bonislawski <email address hidden>
Trace: change trace_event to the correct one for tracev_event_atomic_with_ids
Signed-off-by: Adrian Bonislawski <email address hidden>
078ead9...
by
Adrian Bonislawski <email address hidden>
Trace: send trace errors as normal logs to dma trace buffer if TRACEE disabled
Signed-off-by: Adrian Bonislawski <email address hidden>