diff options
author | Andrzej Pietrasiewicz <andrzej.p@samsung.com> | 2010-11-29 09:53:34 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-03-21 19:31:34 -0400 |
commit | 5ba3f757f0592ca001266b4a6214d0332349909c (patch) | |
tree | 6d633613aa60123712488647b56341ba41e5e7b2 /drivers/media/video/Kconfig | |
parent | 1a758d4e847f7743ac1b5aa79fde3ba2d8b5132b (diff) |
[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 <andrzej.p@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
CC: Pawel Osciak <pawel@osciak.com>
Reviewed-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/Kconfig')
-rw-r--r-- | drivers/media/video/Kconfig | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/media/video/Kconfig b/drivers/media/video/Kconfig index b64183e06348..8710d90f9e16 100644 --- a/drivers/media/video/Kconfig +++ b/drivers/media/video/Kconfig | |||
@@ -60,6 +60,12 @@ config VIDEOBUF2_VMALLOC | |||
60 | select VIDEOBUF2_MEMOPS | 60 | select VIDEOBUF2_MEMOPS |
61 | tristate | 61 | tristate |
62 | 62 | ||
63 | |||
64 | config VIDEOBUF2_DMA_SG | ||
65 | #depends on HAS_DMA | ||
66 | select VIDEOBUF2_CORE | ||
67 | select VIDEOBUF2_MEMOPS | ||
68 | tristate | ||
63 | # | 69 | # |
64 | # Multimedia Video device configuration | 70 | # Multimedia Video device configuration |
65 | # | 71 | # |