dmaengine: axi-dmac: Use only EOT interrupts when doing scatter-gather
authorPaul Cercueil <paul@crapouillou.net>
Fri, 15 Dec 2023 13:13:12 +0000 (14:13 +0100)
committerVinod Koul <vkoul@kernel.org>
Thu, 21 Dec 2023 16:09:56 +0000 (21:39 +0530)
commit238f68a08e19a612b8912c8697901e9982f97811
tree800f7c9b261fb5ba5e4f3ce7845e759020f0ef84
parente97dc7435972d28ac7d96d199d4aedb868d04fd8
dmaengine: axi-dmac: Use only EOT interrupts when doing scatter-gather

Instead of notifying userspace in the end-of-transfer (EOT) interrupt
and program the hardware in the start-of-transfer (SOT) interrupt, we
can do both things in the EOT, allowing us to mask the SOT, and halve
the number of interrupts sent by the HDL core.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Link: https://lore.kernel.org/r/20231215131313.23840-5-paul@crapouillou.net
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/dma-axi-dmac.c