[media] vb2: Provide helpers for mapping virtual addresses
authorJan Kara <jack@suse.cz>
Mon, 13 Jul 2015 14:55:46 +0000 (11:55 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Sun, 16 Aug 2015 16:10:42 +0000 (13:10 -0300)
commit21fb0cb7ec65a40b9f5f7cda59eba0eb2ae76473
treee0cccb86717f351e3bc6c38811cb093c65837f07
parent8a677b6eddfc3127ea36a710838ecd20502b1cb9
[media] vb2: Provide helpers for mapping virtual addresses

Provide simple helper functions to map virtual address range into an
array of pfns / pages.

Tested-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/v4l2-core/Kconfig
drivers/media/v4l2-core/videobuf2-memops.c
include/media/videobuf2-memops.h