mirror of https://github.com/thesofproject/sof.git
platform: imx: use DMA_DOMAIN in full synchronous mode
Use the full_sync attribute from dma_domain to schedule tasks based on period ratio between the registrable task and the current one. Do not make it time dependent anymore. Fixes: #3802 Signed-off-by: Iuliana Prodan <iuliana.prodan@nxp.com>
This commit is contained in:
parent
b732c4fb13
commit
789a286ace
|
@ -176,6 +176,9 @@ int platform_init(struct sof *sof)
|
|||
sof->platform_dma_domain = dma_multi_chan_domain_init
|
||||
(&sof->dma_info->dma_array[0], 1,
|
||||
PLATFORM_DEFAULT_CLOCK, false);
|
||||
|
||||
/* i.MX platform DMA domain will be full synchronous, no time dependent */
|
||||
sof->platform_dma_domain->full_sync = true;
|
||||
scheduler_init_ll(sof->platform_dma_domain);
|
||||
|
||||
/* initialize the host IPC mechanims */
|
||||
|
|
|
@ -175,6 +175,9 @@ int platform_init(struct sof *sof)
|
|||
sof->platform_dma_domain =
|
||||
dma_multi_chan_domain_init(&sof->dma_info->dma_array[1],
|
||||
1, PLATFORM_DEFAULT_CLOCK, true);
|
||||
|
||||
/* i.MX platform DMA domain will be full synchronous, no time dependent */
|
||||
sof->platform_dma_domain->full_sync = true;
|
||||
scheduler_init_ll(sof->platform_dma_domain);
|
||||
|
||||
/* initialize the host IPC mechanims */
|
||||
|
|
Loading…
Reference in New Issue