]> git.karo-electronics.de Git - karo-tx-linux.git/commit
dmaengine: edma: Use early completion for intermediate paRAM set in slave_sg
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Tue, 7 Jun 2016 08:19:44 +0000 (11:19 +0300)
committerVinod Koul <vinod.koul@intel.com>
Wed, 8 Jun 2016 03:27:29 +0000 (08:57 +0530)
commit2e4ed0879eb15230cb58c3915ac51620480375c3
tree126f4b2c2cbd3c90f4eb17872a56a07b4b791424
parent1a695a905c18548062509178b98bc91e67510864
dmaengine: edma: Use early completion for intermediate paRAM set in slave_sg

The driver limits the physical number of paRAM slots to be used by channels.
If the transfer needs more slots (more SGs) then the transfer is broken up
to smaller chunks. When the chunk is finished the driver will rewrite the
physical slots and continues the transfer. This set up time can take some
time and we might miss DMA events. If the intermediate set completion is
using early completion (the interrupt will happen when the last slot is
issued to the TPTC and not when the transfer is finished by the TPTC) we
will have a bit more time to update the paRAM slots and less likely to have
missed events.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/edma.c