From: Meghana Madhyastha <meghana.madhyastha@gmail.com>
To: "Daniel Vetter" <daniel.vetter@intel.com>,
dri-devel@lists.freedesktop.org, linux-spi@vger.kernel.org,
"Noralf Trønnes" <noralf@tronnes.org>,
"Sean Paul" <seanpaul@chromium.org>,
kernel@martin.sperl.org
Subject: [PATCH v2 0/2] Chunk splitting of spi transfers
Date: Sat, 24 Feb 2018 18:15:59 +0000 [thread overview]
Message-ID: <cover.1519492575.git.meghana.madhyastha@gmail.com> (raw)
I've added bcm2835_spi_transfer_one_message in spi-bcm2835. This calls
spi_split_transfers_maxsize to split large chunks for spi dma transfers.
I then removed chunk splitting in the tinydrm spi helper (as now the core is
handling the chunk splitting). However, although the SPI HW should be able to
accomodate upto 65535 bytes for dma transfers, the splitting of chunks to 65535
bytes results in a dma transfer time out error. However, when the chunks are
split to <64 bytes it seems to work fine.
Changes in v2:
-Patch 2 did not exist in v1.
Meghana Madhyastha (2):
drm/tinydrm: Remove chunk splitting in tinydrm_spi_transfer
spi/spi-bcm2835: Add bcm2835_spi_transfer_one_message in spi-bcm2835.c
drivers/gpu/drm/tinydrm/core/tinydrm-helpers.c | 48 ++++----------------------
drivers/gpu/drm/tinydrm/mipi-dbi.c | 10 ++----
drivers/spi/spi-bcm2835.c | 29 ++++++++--------
drivers/spi/spi.c | 5 ++-
include/linux/spi/spi.h | 2 ++
5 files changed, 27 insertions(+), 67 deletions(-)
--
2.11.0
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
next reply other threads:[~2018-02-24 18:16 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-24 18:15 Meghana Madhyastha [this message]
2018-02-24 18:16 ` [PATCH v2 1/2] drm/tinydrm: Remove chunk splitting in tinydrm_spi_transfer Meghana Madhyastha
2018-02-25 17:03 ` Lukas Wunner
2018-02-27 17:39 ` Noralf Trønnes
2018-02-24 18:17 ` [PATCH v2 2/2] spi/spi-bcm2835: Add bcm2835_spi_transfer_one_message in spi-bcm2835.c Meghana Madhyastha
2018-02-25 16:49 ` Lukas Wunner
2018-02-25 13:19 ` [PATCH v2 0/2] Chunk splitting of spi transfers Lukas Wunner
2018-02-27 17:40 ` Noralf Trønnes
2018-03-02 11:11 ` Meghana Madhyastha
2018-03-04 17:38 ` Noralf Trønnes
-- strict thread matches above, loose matches on Subject: below --
2018-03-10 15:50 Meghana Madhyastha
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1519492575.git.meghana.madhyastha@gmail.com \
--to=meghana.madhyastha@gmail.com \
--cc=daniel.vetter@intel.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=kernel@martin.sperl.org \
--cc=linux-spi@vger.kernel.org \
--cc=noralf@tronnes.org \
--cc=seanpaul@chromium.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox