From: Andrzej Pietrasiewicz Date: Mon, 29 Nov 2010 14:53:34 +0000 (-0300) Subject: [media] v4l: videobuf2: add DMA scatter/gather allocator X-Git-Tag: v2.6.39-rc1~86^2~430 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5ba3f757f0592ca001266b4a6214d0332349909c;p=pandora-kernel.git [media] v4l: videobuf2: add DMA scatter/gather allocator Add an implementation of DMA scatter/gather allocator and handling routines for videobuf2. For mmap operation mode it is implemented on top of alloc_page + sg_set_page/_free_page. For userptr operation mode it is implemented on top of get_user_pages + sg_set_page/put_page. Signed-off-by: Andrzej Pietrasiewicz Signed-off-by: Kyungmin Park Signed-off-by: Marek Szyprowski CC: Pawel Osciak Reviewed-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed