diff options
author | Jyothi Kumar Seerapu <quic_jseerapu@quicinc.com> | 2024-12-09 10:50:33 +0300 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2024-12-24 13:35:42 +0300 |
commit | a131169dfa48d6d40da45bca67d1e4f54fa130a6 (patch) | |
tree | 9057ba1d37b4064ae40715adabb54f55e75f32a2 /tools/perf/scripts/python/mem-phys-addr.py | |
parent | 06d5363296dbcffb9e52ca4c9cec097105eb81e9 (diff) | |
download | linux-a131169dfa48d6d40da45bca67d1e4f54fa130a6.tar.xz |
dmaengine: qcom: gpi: Add GPI immediate DMA support for SPI protocol
The DMA TRE(Transfer ring element) buffer contains the DMA
buffer address. Accessing data from this address can cause
significant delays in SPI transfers, which can be mitigated to
some extent by utilizing immediate DMA support.
QCOM GPI DMA hardware supports an immediate DMA feature for data
up to 8 bytes, storing the data directly in the DMA TRE buffer
instead of the DMA buffer address. This enhancement enables faster
SPI data transfers.
This optimization reduces the average transfer time from 25 us to
16 us for a single SPI transfer of 8 bytes length, with a clock
frequency of 50 MHz.
Signed-off-by: Jyothi Kumar Seerapu <quic_jseerapu@quicinc.com>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Tested-by: Neil Armstrong <neil.armstrong@linaro.org> # on SM8550-QRD
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20241209075033.16860-1-quic_jseerapu@quicinc.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions