Skip to content
Permalink
Browse files
dmaengine: xilinx: Add vdmatest test client code
The code is used for axivdma validation. It is using dma_slave_config
generic API and of_dma framework in dma test client with support to
read number of frame stores from device node.

Driver is capable to test multiple instances if present
in the hardware design.

Make the horizontal and vertical length configurable. This allows
VDMA IP to be validated for all supported resolution.

Avoid enabling circular_park mode for S2MM as it might happen that engine
continuously circles through frame buffers w/o being programmed and lead
to an undesired hang. In loopback it is recommended to use same park mode
configuration for both channels.

Signed-off-by: Appana Durga Kedareswara Rao <appana.durga.rao@xilinx.com>
Signed-off-by: Radhey Shyam Pandey <radheys@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
State: not-upstreamable
  • Loading branch information
kedareswararao authored and Michal Simek committed May 27, 2021
1 parent cab88f8 commit de6c244aace5694a54d182647e46fa5113dff4fb
Show file tree
Hide file tree
Showing 3 changed files with 671 additions and 0 deletions.
@@ -763,4 +763,11 @@ config XILINX_DMATEST
Simple DMA test client. Say N unless you're debugging a
DMA Device driver.

config XILINX_VDMATEST
tristate "DMA Test client for VDMA"
depends on XILINX_DMA
help
Simple xilinx VDMA test client. Say N unless you're debugging a
DMA Device driver.

endif
@@ -1,5 +1,6 @@
# SPDX-License-Identifier: GPL-2.0-only
obj-$(CONFIG_XILINX_DMATEST) += axidmatest.o
obj-$(CONFIG_XILINX_VDMATEST) += vdmatest.o
obj-$(CONFIG_XILINX_DMA) += xilinx_dma.o
obj-$(CONFIG_XILINX_ZYNQMP_DMA) += zynqmp_dma.o
obj-$(CONFIG_XILINX_ZYNQMP_DPDMA) += xilinx_dpdma.o

0 comments on commit de6c244

Please sign in to comment.