[RFC PATCH v1 4/7] media: videobuf2: introduce VIDEOBUF2_PAGE memops

2011-12-02 Thread Ming Lei
DMA contig memory resource is very limited and precious, also accessing to it from CPU is very slow on some platform. For some cases(such as the comming face detection driver), DMA Streaming buffer is enough, so introduce VIDEOBUF2_PAGE to allocate continuous physical memory but letting video devi

[RFC PATCH v1 4/7] media: videobuf2: introduce VIDEOBUF2_PAGE memops

2011-12-02 Thread Ming Lei
DMA contig memory resource is very limited and precious, also accessing to it from CPU is very slow on some platform. For some cases(such as the comming face detection driver), DMA Streaming buffer is enough, so introduce VIDEOBUF2_PAGE to allocate continuous physical memory but letting video devi

Re: [RFC PATCH v1 4/7] media: videobuf2: introduce VIDEOBUF2_PAGE memops

2011-12-02 Thread Aguirre, Sergio
Hi Ming, On Fri, Dec 2, 2011 at 3:12 AM, Ming Lei wrote: > DMA contig memory resource is very limited and precious, also > accessing to it from CPU is very slow on some platform. > > For some cases(such as the comming face detection driver), DMA Streaming > buffer is enough, so introduce VIDEOBUF

Re: [RFC PATCH v1 4/7] media: videobuf2: introduce VIDEOBUF2_PAGE memops

2011-12-04 Thread Ming Lei
Hi, On Sat, Dec 3, 2011 at 12:35 AM, Aguirre, Sergio wrote: > Hi Ming, >> diff --git a/include/media/videobuf2-page.h b/include/media/videobuf2-page.h >> new file mode 100644 >> index 000..29b3e20 >> --- /dev/null >> +++ b/include/media/videobuf2-page.h >> @@ -0,0 +1,20 @@ >> +/* >> + * video