Hi Marek, On Friday 19 November 2010 16:55:40 Marek Szyprowski wrote: > From: Pawel Osciak <p.osciak@xxxxxxxxxxx> > > Add an implementation of contiguous virtual memory allocator and handling > routines for videobuf2, implemented on top of vmalloc()/vfree() calls. > > Signed-off-by: Pawel Osciak <p.osciak@xxxxxxxxxxx> > Signed-off-by: Kyungmin Park <kyungmin.park@xxxxxxxxxxx> > Signed-off-by: Marek Szyprowski <m.szyprowski@xxxxxxxxxxx> > CC: Pawel Osciak <pawel@xxxxxxxxxx> > --- > drivers/media/video/Kconfig | 5 + > drivers/media/video/Makefile | 1 + > drivers/media/video/videobuf2-vmalloc.c | 177 > +++++++++++++++++++++++++++++++ include/media/videobuf2-vmalloc.h | > 21 ++++ > 4 files changed, 204 insertions(+), 0 deletions(-) > create mode 100644 drivers/media/video/videobuf2-vmalloc.c > create mode 100644 include/media/videobuf2-vmalloc.h > [snip] > +static const struct vb2_mem_ops vb2_vmalloc_ops = { > + .alloc = vb2_vmalloc_alloc, > + .put = vb2_vmalloc_put, > + .vaddr = vb2_vmalloc_vaddr, > + .mmap = vb2_vmalloc_mmap, > + .num_users = vb2_vmalloc_num_users, > +}; No USERPTR support ? :-) -- Regards, Laurent Pinchart -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html