Open stephan-koster-enclustra opened 4 years ago
Hi, skoster, nice work. BTW, what platform do you use? ZynqMp or Zynq7000? Have you tested vdma loopback? @skoster-enclustra
The project in which i used this library has long since finished, so I'm a bit fuzzy on the details, but i think it was on zynqmp. We used and abused the axidma driver to inject images generated in software running on the PS. I'm pretty sure we created a loopback in firmware to test the driver.
For applications where single frames need to be pulled in with VDMA, it may be required to have a single transfer function besides the continuously running video transfer. I added a new function to the library rather than change the signature of the existing axidma_oneway_transfer function in order to preserve backwards compatibility. In this work i also discovered a small bug in the dma layer where frame size information was not passed through for single transactions.