linux-spi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/2] Chunk splitting of spi transfers
@ 2018-03-12  9:53 Meghana Madhyastha
  2018-03-12  9:54 ` [PATCH v3 1/2] spi: Split spi message into chunks of <65535 in the spi subsystem Meghana Madhyastha
  2018-03-12  9:54 ` [PATCH v3 2/2] drm/tinydrm: Remove chunk splitting in tinydrm_spi_transfer Meghana Madhyastha
  0 siblings, 2 replies; 4+ messages in thread
From: Meghana Madhyastha @ 2018-03-12  9:53 UTC (permalink / raw)
  To: Mark Brown, Daniel Vetter, linux-spi, Noralf Trønnes,
	Sean Paul, dri-devel

-Call spi_split_transfers_maxsize in __spi_pump_messages
to split large chunks for spi dma transfers.
-Remove chunk splitting in the tinydrm spi helper (as now the core is
handling the chunk splitting).

Changes in v3:
-Remove max_chunk 
-Remove tinydrm_spi_max_transfer_size()                        
-Change master->max_dma_len in patch 0/2 and explain why it is changed

Meghana Madhyastha (2):
  spi: Split spi message into chunks of <65535 in the spi subsystem
  drm/tinydrm: Remove chunk splitting in tinydrm_spi_transfer

 drivers/gpu/drm/tinydrm/core/tinydrm-helpers.c | 80 ++------------------------
 drivers/gpu/drm/tinydrm/mipi-dbi.c             | 10 +---
 drivers/spi/spi-bcm2835.c                      | 22 +++----
 3 files changed, 16 insertions(+), 96 deletions(-)

-- 
2.11.0

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

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

end of thread, other threads:[~2018-03-16 23:55 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-03-12  9:53 [PATCH v3 0/2] Chunk splitting of spi transfers Meghana Madhyastha
2018-03-12  9:54 ` [PATCH v3 1/2] spi: Split spi message into chunks of <65535 in the spi subsystem Meghana Madhyastha
2018-03-16 23:55   ` Eric Anholt
2018-03-12  9:54 ` [PATCH v3 2/2] drm/tinydrm: Remove chunk splitting in tinydrm_spi_transfer Meghana Madhyastha

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).