* videobuf-dma-contig.c cached user mapping
@ 2009-12-23 16:01 Matthieu CASTET
0 siblings, 0 replies; only message in thread
From: Matthieu CASTET @ 2009-12-23 16:01 UTC (permalink / raw)
To: v4l2_linux
Hi,
I would like to add support for cached user mapping to
videobuf-dma-contig.c.
For enabling this, "vma->vm_page_prot =
pgprot_noncached(vma->vm_page_prot);" line should be removed.
But now we should ensure user mapping cache coherency.
For that, 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 ?
Thanks,
Matthieu
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-12-23 16:26 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-23 16:01 videobuf-dma-contig.c cached user mapping Matthieu CASTET
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.