Skip to contentSkip to conversation

dmaengine: Add support for reporting DMA cached data amount

RFC New Vinod Koul 1 participant 1 message Oct 9, 2018 dmaengine

lore
Share & tools
lore

Vinod Koul

author maintainer
#0 lore raw

RFC 1/5 dmaengine: Add support for reporting DMA cached data amount

Quoted 16 lines · Peter Ujfalusi
Quoted 9 lines · Vinod
Quoted 5 lines · Peter Ujfalusi

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

this looks okay to me, but not really up for 'cached', better alternates?

It is after all the amount of bytes cached within the DMA fabric, but I agree it is a bit awkward.

Quoted 6 lines

Recently I tried to come up with something better, but did not went too far...
dma_cached_bytes?
dma_held_bytes?
in_flight_bytes? not_in_source_but_not_yet_in_destination_bytes :D ?

yeah_that_sounds_good :D, i think in_flight would be apt here..