All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4 0/4] Chunk splitting of spi transfers
@ 2019-04-11 16:42 Noralf Trønnes
  2019-04-11 16:42 ` [PATCH v4 1/4] spi: Remove warning in spi_split_transfers_maxsize() Noralf Trønnes
                   ` (3 more replies)
  0 siblings, 4 replies; 19+ messages in thread
From: Noralf Trønnes @ 2019-04-11 16:42 UTC (permalink / raw)
  To: linux-spi, dri-devel
  Cc: stefan.wahren, broonie, linux-rpi-kernel, meghana.madhyastha, kernel

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(-)

-- 
2.20.1

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2019-04-12 11:46 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-11 16:42 [PATCH v4 0/4] Chunk splitting of spi transfers Noralf Trønnes
2019-04-11 16:42 ` [PATCH v4 1/4] spi: Remove warning in spi_split_transfers_maxsize() Noralf Trønnes
     [not found] ` <20190411164235.49771-1-noralf-L59+Z2yzLopAfugRpC6u6w@public.gmane.org>
2019-04-11 16:42   ` [PATCH v4 2/4] spi: Split spi message into max_dma_len size chunks Noralf Trønnes
2019-04-11 18:18     ` Lukas Wunner
2019-04-11 21:02       ` Noralf Trønnes
2019-04-12  9:47         ` Mark Brown
     [not found]           ` <20190412094721.GE6909-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
2019-04-12 10:03             ` kernel-TqfNSX0MhmxHKSADF0wUEw
2019-04-12 10:22               ` Mark Brown
2019-04-12 10:54           ` Lukas Wunner
2019-04-12 11:09             ` Mark Brown
2019-04-12 11:16               ` Lukas Wunner
2019-04-12 11:28                 ` Mark Brown
     [not found]                 ` <20190412111615.25iogtr6qwc5zbx7-JFq808J9C/izQB+pC5nmwQ@public.gmane.org>
2019-04-12 11:34                   ` kernel-TqfNSX0MhmxHKSADF0wUEw
2019-04-12 10:46         ` Lukas Wunner
2019-04-12 11:46           ` Mark Brown
2019-04-11 20:39     ` Noralf Trønnes
     [not found]     ` <20190411164235.49771-3-noralf-L59+Z2yzLopAfugRpC6u6w@public.gmane.org>
2019-04-12  9:08       ` Mark Brown
2019-04-11 16:42 ` [PATCH v4 3/4] spi/spi-bcm2835: Remove DMA transfer size cap Noralf Trønnes
2019-04-11 16:42 ` [PATCH v4 4/4] drm/tinydrm: Remove chunk splitting in tinydrm_spi_transfer Noralf Trønnes

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.