Skip to contentSkip to conversation

dmaengine: dw: Add missed multi-block support for iDMA 32-bit

PATCH New Vinod Koul 1 participant 1 message Dec 5, 2018

Subsystems (2)
lore
Share & tools
lore

Vinod Koul

author maintainer
#0 lore raw

PATCH v2 1/7 dmaengine: dw: Add missed multi-block support for iDMA 32-bit

Quoted 6 lines · Andy Shevchenko

Intel integrated DMA 32-bit support multi-block transfers. Add missed setting to the platform data.

Fixes f7c799e950f9 ("dmaengine: dw: we do support Merrifield SoC in PCI mode")

How is this a stable material? It would improve performance by using multi blocks but given the fact that this is used for slow peripherals, do you really see a user impact?

Quoted 18 lines
---
 drivers/dma/dw/pci.c | 1 +
 1 file changed, 1 insertion(+)
drivers/dma/dw/pci.c +1 -0
index 7778ed705a1a..313ba10c6224 100644
@@ -25,6 +25,7 @@ static struct dw_dma_platform_data mrfld_pdata = {
 	.block_size = 131071,
 	.nr_masters = 1,
 	.data_width = {4},
+	.multi_block = {1, 1, 1, 1, 1, 1, 1, 1},
 };
 
 static int dw_pci_probe(struct pci_dev *pdev, const struct pci_device_id *pid)
Signature · 1 line
2.19.2