How to support multi FIFO address in ALSA & DMA Engine?

Shengjiu Wang shengjiu.wang at gmail.com
Wed Apr 22 08:51:30 CEST 2020


Hi Experts

     Some cpu-dai devices support multi FIFO,  so we need to tell DMA
which fifos and how many fifos it should fill the data to.

     For example, when channels = 2, only one fifo is used.   when
channels = 4, then two fifos are used.

    or  when channels = 2,   two fifos are used,  when channels= 4,
four fifos are used.

    But in snd_dmaengine_dai_dma_data, and dma_slave_config, there is
only one dma address.   Do you have any idea to support multi FIFO?
is there any implemented reference?

Best regards
Wang shengjiu


More information about the Alsa-devel mailing list