Added vdma oneway transfer to library, fixed passing of frame info - #118
Open
stephan-koster-enclustra wants to merge 1 commit into
Open
Added vdma oneway transfer to library, fixed passing of frame info#118stephan-koster-enclustra wants to merge 1 commit into
stephan-koster-enclustra wants to merge 1 commit into
Conversation
…tion in single write and read transfer
|
Hi, skoster, nice work. BTW, what platform do you use? ZynqMp or Zynq7000? Have you tested vdma loopback? @skoster-enclustra |
Author
|
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. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.