In the 3.2 kernel I use
edma_alloc_channel(dma_channel, dma_callback, fpga, EVENTQ_0);
to apply for the dma ch.
but How do I use in 4.4.12 kernel?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
In the 3.2 kernel I use
edma_alloc_channel(dma_channel, dma_callback, fpga, EVENTQ_0);
to apply for the dma ch.
but How do I use in 4.4.12 kernel?
I'm using Linux - rt 4.4.12 to read FPGA GPMC bus data information, I want to use to trigger the DMA interrupt XDMA_EVENT_INTR0 pin
I have realized such functions in 3.2.0 kernel, but 4.4.12 in how to implement?
dmas = <&edma 20 21>; /*dmas = <&edma_xbar 28 0 1>;*/ dma-names = "fpga_dma";
Because the new kernel is not very understanding, i am very confused, thank you for your help!