I have created an application which allocates memory in kernel space and exports it as DMA buffer, I am able to get the file descriptor (dma_fd) exported by the driver.
H