Using the DMA controller on unleashed from Linux


I have a setup which includes unleashed plugged to vcu118 FPGA. Copying memory with cpu to the FPGA takes too long but I am not familiar with dma apis on Linux enough to do this using the (built-in ?) dma controller on u54. Anyone has any examples? @terpstra

Thanks ahead.