* videobuf cached user mapping
@ 2010-01-15 15:02 Matthieu CASTET
0 siblings, 0 replies; only message in thread
From: Matthieu CASTET @ 2010-01-15 15:02 UTC (permalink / raw)
To: v4l2_linux
Hi,
Is that possible to have user mapping cached in Memory Mapping mode ?
This means buffer allocated by mmap in userspace, will have cache
support, and it will be faster to work on it.
But how the cache coherency can be done ?
For a camera we should :
- invalidate cache before dma operation (to have not old buffer data in
the cache)
- forbid the user to access the buffer during the dma operation (to not
pollute the cache)
Is it possible ?
How can we achieve that ?
I see sync method, that seems only called after frame capture ?
Or user "User Pointers" is the solution ?
But they should have the same problems. Is there some documentation of
how "user pointer" are synchronised with dma ?
Thanks,
Matthieu
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-01-15 15:02 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-15 15:02 videobuf cached user mapping Matthieu CASTET
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox