Re: kernel driver access application memory

2014-01-17 Thread Prabhakar Lad
Hi, On Wed, Jan 15, 2014 at 11:45 PM, m silverstri wrote: > Hi, > > If my application allocate memory for input and output buffers, and > pass the pointer to a kernel driver (via v4l2 queue buffer operation), > can the kernel driver access it? Do I need to setup DMA before teh > kernel driver ca

Re: kernel driver access application memory

2014-01-16 Thread Mandeep Sandhu
On Wed, Jan 15, 2014 at 11:45 PM, m silverstri < michael.j.silvers...@gmail.com> wrote: > Hi, > > If my application allocate memory for input and output buffers, and > pass the pointer to a kernel driver (via v4l2 queue buffer operation), > can the kernel driver access it? Do I need to setup DMA

kernel driver access application memory

2014-01-15 Thread m silverstri
Hi, If my application allocate memory for input and output buffers, and pass the pointer to a kernel driver (via v4l2 queue buffer operation), can the kernel driver access it? Do I need to setup DMA before teh kernel driver can read/write to it? Thank you. __