summaryrefslogtreecommitdiff
path: root/drivers/dma/at_xdmac.c
diff options
context:
space:
mode:
authorSamuel Holland <samuel@sholland.org>2023-01-01 13:36:04 -0600
committerVinod Koul <vkoul@kernel.org>2023-01-18 17:37:39 +0530
commit3dfaa68fa89afd7a926cc3c5f0388b52f489609b (patch)
tree384ffb7d8e4b0001588f23b73f0058b56a422d7b /drivers/dma/at_xdmac.c
parentad4ce0789033529673aa69ef1568ac37f38f9f27 (diff)
dmaengine: sun6i: Set the maximum segment size
The sun6i DMA engine supports segment sizes up to 2^25-1 bytes. This is explicitly stated in newer SoC documentation (H6, D1), and it is implied in older documentation by the 25-bit width of the "bytes left in the current segment" register field. Exposing the real segment size limit (instead of the 64k default) reduces the number of SG list segments needed for a transaction. Reviewed-by: Jernej Skrabec <jernej.skrabec@gmail.com> Signed-off-by: Samuel Holland <samuel@sholland.org> Link: https://lore.kernel.org/r/20230101193605.50285-1-samuel@sholland.org Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/dma/at_xdmac.c')
0 files changed, 0 insertions, 0 deletions