diff options
author | Phil Elwell <phil@raspberrypi.com> | 2024-07-10 14:47:17 +0100 |
---|---|---|
committer | Phil Elwell <8911409+pelwell@users.noreply.github.com> | 2024-07-10 16:39:28 +0100 |
commit | 475cddaba6b02584157e1c128a5a6858770a3d06 (patch) | |
tree | eb0b536244c3a4f1ee996ae655f38a337d330034 /drivers/tty | |
parent | 99ae83f1944f47d4338ef7a6f02536927fc6ce57 (diff) | |
download | linux-rpi-475cddaba6b02584157e1c128a5a6858770a3d06.tar.gz linux-rpi-475cddaba6b02584157e1c128a5a6858770a3d06.tar.bz2 linux-rpi-475cddaba6b02584157e1c128a5a6858770a3d06.zip |
dmaengine: dw-axi-dmac: Honour snps,block-size
The snps,block-size DT property declares the maximum block size for each
channel of the dw-axi-dmac. However, the driver ignores these when
setting max_seg_size and uses MAX_BLOCK_SIZE (4096) instead.
To take advantage of the efficiencies of larger blocks, calculate the
minimum block size across all channels and use that instead.
See: https://github.com/raspberrypi/linux/issues/6256
Signed-off-by: Phil Elwell <phil@raspberrypi.com>
Diffstat (limited to 'drivers/tty')
0 files changed, 0 insertions, 0 deletions