ikwzm / udmabuf

User space mappable dma buffer device driver for Linux.
BSD 2-Clause "Simplified" License
542 stars 165 forks source link

How can SDSOC accelerator on PL read data from udmabuf #26

Open dong-hoang opened 4 years ago

dong-hoang commented 4 years ago

Hi, I am using sdsoc to create an accelerator. How can my accelerator on PL can read data from udmabuf ? Thanks !!!

ikwzm commented 4 years ago

Thank you for the issue.

SDSoC uses the device driver Xilinx APF Accelerator driver (/dev /xlnk) provided by Xilinx as dma-buf. If possible, you should use the Xilinx APF Accelerator driver.

If you want to use udmabuf, you need to know the register configuration of the IP generated by SDSoC. I'm sorry, but I don't know much about it, so I can't help you.