mbox series

[v4,0/4] Chunk splitting of spi transfers

Message ID 20190411164235.49771-1-noralf@tronnes.org (mailing list archive)
Headers show
Series Chunk splitting of spi transfers | expand

Message

Noralf Trønnes April 11, 2019, 4:42 p.m. UTC
spi-bcm2835 has a ~64kB upper limit on DMA transfers. Drivers in
drivers/gpu/drm/tinydrm work around this limitation by splitting the
buffer into multiple transfers. This patchset lifts this limitation by
splitting affected transfers in the SPI core using
spi_split_transfers_maxsize().

This work[1] was begun by Meghana Madhyastha.

Main changes in this version:
- Remove warning in spi_split_transfers_maxsize()
- Split SPI patch into core patch and driver patch

Noralf.

[1] https://patchwork.freedesktop.org/series/38913/

Meghana Madhyastha (3):
  spi: Split spi message into max_dma_len size chunks
  spi/spi-bcm2835: Remove DMA transfer size cap
  drm/tinydrm: Remove chunk splitting in tinydrm_spi_transfer

Noralf Trønnes (1):
  spi: Remove warning in spi_split_transfers_maxsize()

 .../gpu/drm/tinydrm/core/tinydrm-helpers.c    | 83 ++-----------------
 drivers/gpu/drm/tinydrm/mipi-dbi.c            | 10 +--
 drivers/spi/spi-bcm2835.c                     | 15 +---
 drivers/spi/spi.c                             | 10 +--
 4 files changed, 13 insertions(+), 105 deletions(-)