The open-source, AMD provided drivers and user space applications for the MCAP VSEC, QDMA, and XDMA IPs can be found at https://github.com/Xilinx/dma_ip_drivers to be cloned or downloaded. There is also extensive documentation on each of the drivers contained in the repository and linked to external pages. The following sections are provided to show an example of the required commands; assuming a compatible bitstream has been loaded to the device already, the PCIe link is up, and the stage 2 or partial bitstream(s) are ready to be delivered to the device. For the examples in the following sections, assuming the Bus:Device.Function of the PCIe device is 01:00.0.
Note: Before loading DFX PDI using QDMA/XDMA driver
(or) MCAP, you need to enable the SBI data path by writing 0x29 to the SBI control
register (0xF1220004).