dma_ip_drivers
dma_ip_drivers copied to clipboard
Xilinx QDMA IP Drivers
After read/write, cdev_gen_read_write should advance file position.
When used with the `eop_flush` flag, the driver may be interrupted before all descriptors has been processed by the XDMA core, and it may so happen that during the interrupt...
I got a Artix 7 with a _DMA/Bridge Subsystem for PCI Express_ core connected via PCIe to my host system running Ubuntu 20.04. Compiling the linux driver and installing it...
I successfully wrote data to XDMA Stream, but it took very long and return a -1 error. Can anyone help? This is the info from the dmesg: ``` [ 169.951020]...
function bridge_mmap (cdev_ctrl.c, line 195) has 4 variables that need to hold 64 bit values. Unfortunately "unsigned long" seems to provide a 32 bit register in the ARM C compiler....
Symptoms as described here: [https://support.xilinx.com/s/feed/0D52E00006hpMcsSAE](https://support.xilinx.com/s/feed/0D52E00006hpMcsSAE) See also: https://github.com/Xilinx/dma_ip_drivers/issues/62 Patches to fix this issue attached: [0001-Refactor-selection-of-swaitq-vs-traditional-waitq-ma.patch.txt](https://github.com/Xilinx/dma_ip_drivers/files/8061893/0001-Refactor-selection-of-swaitq-vs-traditional-waitq-ma.patch.txt) [0002-Don-t-wait-interruptibly-it-causes-apparent-DMA-fail.patch.txt](https://github.com/Xilinx/dma_ip_drivers/files/8061897/0002-Don-t-wait-interruptibly-it-causes-apparent-DMA-fail.patch.txt)
API changed ` /home/debian/Downloads/dma_ip_drivers-master/XDMA/linux-kernel/xdma/libxdma.c:29 11:25: error: implicit declaration of function ‘pci_unmap_sg’; did you mean ‘pci _unmap_rom’? [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-W implicit-function-declaration-Werror=implicit-function-declaration8;;] 2911 | pci_unmap_sg(xdev->pdev, sgt->sgl, sgt->nents, | ^~~~~~~~~~~~ | pci_unmap_rom ` ` /home/debian/Downloads/dma_ip_drivers-master/XDMA/linux-kernel/xdma/libxdma.c:41...
https://github.com/Xilinx/dma_ip_drivers/blob/9f02769a2eddde008158c96efa39d7edb6512578/QDMA/linux-kernel/driver/libqdma/qdma_context.c#L86 ``` sw_ctxt->is_mm = ~descq->conf.st; ``` --> ``` sw_ctxt->is_mm = !descq->conf.st; ``` negate conf.st rather than bitwise inversion
Per AMD policy no reference to prohibited sources can be include as code comments or in documentation. Please check with @stsoe for copy of internal guidelines. This pull request is...
I would like to ask whether XDMA can be used for communication between GPU and FPGA by modifying part of the code.