Re: [PATCH 4/6] dma: tegra: add accurate reporting of dma state

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 05/11/18 11:32, Jon Hunter wrote:
Hi Ben,

On 05/11/2018 09:03, Ben Dooks wrote:
On 2018-11-03 12:24, Dmitry Osipenko wrote:
On 31.10.2018 19:03, Ben Dooks wrote:
The tx_status callback does not report the state of the transfer
beyond complete segments. This causes problems with users such as
ALSA when applications want to know accurately how much data has
been moved.

This patch addes a function tegra_dma_update_residual() to query
the hardware and modify the residual information accordinly. It
takes into account any hardware issues when trying to read the
state, such as delays between finishing a buffer and signalling
the interrupt.

Signed-off-by: Ben Dooks <ben.dooks@xxxxxxxxxxxxxxx>
Can you CC linux-tegra on these patches? I am always interested in
updates to the DMA drivers.

Is linux-tegra@xxxxxxxxxxxxxxx not the right address for the list then?

--
Ben Dooks				http://www.codethink.co.uk/
Senior Engineer				Codethink - Providing Genius

https://www.codethink.co.uk/privacy.html



[Index of Archives]     [ARM Kernel]     [Linux ARM]     [Linux ARM MSM]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux