]> git.karo-electronics.de Git - linux-beck.git/commit
dmaengine: edma: Dynamic paRAM slot handling if HW supports it
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Wed, 14 Oct 2015 11:43:06 +0000 (14:43 +0300)
committerVinod Koul <vinod.koul@intel.com>
Wed, 14 Oct 2015 14:27:13 +0000 (19:57 +0530)
commite4e886c6b1e2a1ef9654d26dad1c3baca8139b3c
tree68bbe35ee995955b1fb41ac85c5cf956f6d448c3
parent7a73b135cdb33f78acab118dd72782416d5281b2
dmaengine: edma: Dynamic paRAM slot handling if HW supports it

If the eDMA3 has support for channel paRAM slot mapping we can utilize it
to allocate slots on demand and save precious slots for real transfers.
On am335x the eDMA has 64 channels which means we can unlock 64 paRAM
slots out from the available 256.

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