dmaengine: Add support for reporting DMA cached data amount
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Wed, 28 Nov 2018 10:48:09 +0000 (12:48 +0200)
committerTero Kristo <t-kristo@ti.com>
Wed, 28 Nov 2018 10:52:31 +0000 (12:52 +0200)
commit99717799e0f88703eaa8df5e14a351641c61f49e
treefc786cba3872fbb1cd306823c4ad59046ac6b884
parent720338a1cb8bdf97f728b872af0797b75469de6f
dmaengine: Add support for reporting DMA cached data amount

A DMA hardware can have big cache or FIFO and the amount of data sitting in
the DMA fabric can be an interest for the clients.

For example in audio we want to know the delay in the data flow and in case
the DMA have significantly large FIFO/cache, it can affect the latenc/delay

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
drivers/dma/dmaengine.h
include/linux/dmaengine.h