linux-hardened/drivers/dma/dw
Christian Lamparter ab703f818a dmaengine: dw: lazy allocation of dma descriptors
This patch changes the driver to allocate DMA descriptors when
needed. This stops memory resources to be wasted and letting
them sit idle in the free_list structure when the device doesn't
need it... This also solves the problem, that a driver has to
guess the number of how many descriptors it needs to allocate
in advance. Currently, the dma engine will just fail when put
under load by sata_dwc_460ex.

Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
2016-04-19 21:14:45 +05:30
..
core.c dmaengine: dw: lazy allocation of dma descriptors 2016-04-19 21:14:45 +05:30
internal.h dmaengine: dw: export probe()/remove() and Co to users 2014-10-15 20:31:05 +05:30
Kconfig dmaengine: sort the dw Kconfig 2015-08-24 13:58:18 +05:30
Makefile dma: dw: add PCI part of the driver 2013-07-05 11:40:45 +05:30
pci.c dmaengine: dw: pci: add ID for WildcatPoint PCH 2016-02-08 08:35:17 +05:30
platform.c dmaengine: dw: rename masters to reflect actual topology 2016-04-13 21:36:09 +05:30
regs.h dmaengine: dw: lazy allocation of dma descriptors 2016-04-19 21:14:45 +05:30