cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
bkamen
Explorer
Explorer
403 Views
Registered: ‎07-17-2014

Question on MMAP from Userland to DMA Accessible RAM

Hey all,

I realize this may be a little out of scope for a Xilinx board topic - hopefully not since I'd guess this is a common question for anyone piping DMA to a User application..

 

In my previous thread of getting DMA data into RAM:

 

https://forums.xilinx.com/t5/Embedded-Processor-System-Design/SOLVED-PL-Initiated-DMA-pull-push-from-to-Zynq-PS-RAM/m-p/765646#M19719

I want to follow up now by allowing the user application to directly access my various frame buffers.

I'm looking for a good example as I'm not sure if the conversation of allocating the buffers still starts in the kernel and then the user application asks for access to that or if the userland application allocates the needed buffers and then tells the kernel (which then tells DMA).

I have the Linux Device Drivers 3rd edition, but boy -- between it and Google, I'm not sure how accurate anything is anymore. (sigh)

Little help?

 Thanks,

 -Ben

0 Kudos
0 Replies