Re: how to mmap in videobuf-dma-sg.c

2010-07-26 Thread Laurent Pinchart
Hi Mauro, On Sunday 25 July 2010 19:46:49 Mauro Carvalho Chehab wrote: [snip] The current videobuf implementation has some problems. Laurent and Pawel are working on a new implementation that will likely solve such issues. Not sure if they already submitted the patches, since I just return

Re: how to mmap in videobuf-dma-sg.c

2010-07-25 Thread Mauro Carvalho Chehab
Em 22-07-2010 23:31, figo zhang escreveu: Em Thu, 21 May 2009 12:46:04 +0800 Figo.zhang figo1...@gmail.com mailto:figo1...@gmail.com escreveu: hi,all, I am puzzle that how to mmap ( V4L2_MEMORY_MMAP) in videobuf-dma-sg.c? In this file, it alloc the momery

Re: how to mmap in videobuf-dma-sg.c

2010-07-24 Thread Figo.zhang
On Thu, 2009-05-21 at 07:35 -0300, Mauro Carvalho Chehab wrote: Em Thu, 21 May 2009 12:46:04 +0800 Figo.zhang figo1...@gmail.com escreveu: hi,all, I am puzzle that how to mmap ( V4L2_MEMORY_MMAP) in videobuf-dma-sg.c? In this file, it alloc the momery using vmalloc_32() , and put

Re: how to mmap in videobuf-dma-sg.c

2009-06-10 Thread Figo.zhang
On Thu, 2009-05-21 at 18:48 +0800, Figo.zhang wrote: On Thu, 2009-05-21 at 07:35 -0300, Mauro Carvalho Chehab wrote: Em Thu, 21 May 2009 12:46:04 +0800 Figo.zhang figo1...@gmail.com escreveu: hi,all, I am puzzle that how to mmap ( V4L2_MEMORY_MMAP) in videobuf-dma-sg.c? In

Re: how to mmap in videobuf-dma-sg.c

2009-05-21 Thread Mauro Carvalho Chehab
Em Thu, 21 May 2009 12:46:04 +0800 Figo.zhang figo1...@gmail.com escreveu: hi,all, I am puzzle that how to mmap ( V4L2_MEMORY_MMAP) in videobuf-dma-sg.c? In this file, it alloc the momery using vmalloc_32() , and put this momery into sglist table,and then use dma_map_sg() to create sg dma

how to mmap in videobuf-dma-sg.c

2009-05-20 Thread Figo.zhang
hi,all, I am puzzle that how to mmap ( V4L2_MEMORY_MMAP) in videobuf-dma-sg.c? In this file, it alloc the momery using vmalloc_32() , and put this momery into sglist table,and then use dma_map_sg() to create sg dma at __videobuf_iolock() function. but in __videobuf_mmap_mapper(), i canot