Nallasellan, Singaravelan wrote:
Hi,

Our driver mmaps the kernel buffer and setup a DMA when the mmapped buffer is 
filled with the data.

How will the driver know whether the user space has filled the buffer with the 
data?

Can the application use msync to notify the driver with the starting address 
and the size of the data as documented in msync?

What is the file operation that the driver should implement for msync if it is allowed?

if you don't have too much data to transport, I would actually recommend a 
write() not mmap() method.

if you have really high volumes of data (gigabyte per second or so) then you 
might need to implement a doorbell ioctl or so.

_______________________________________________
Moblin dev Mailing List
[email protected]

To manage or unsubscribe from this mailing list visit:
https://lists.moblin.org/mailman/listinfo/dev or your user account on 
http://moblin.org once logged in.

For more information on the Moblin Developer Mailing lists visit:
http://moblin.org/community/mailing-lists

Reply via email to