[media] media: vb2: support userptr for PFN mappings
authorJavier Martin <javier.martin@vista-silicon.com>
Thu, 16 Feb 2012 15:19:08 +0000 (12:19 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 8 Mar 2012 10:42:17 +0000 (07:42 -0300)
commit570d2a48b700948e2ee0cadb184942ce426ae577
treeef47d18ab22f6cea89f8bfdfe073b4e7b1eba8c9
parenta1212162f493852e4becb7abf55f78d17872d8a8
[media] media: vb2: support userptr for PFN mappings

Some video devices need to use contiguous memory which is
not backed by pages as it happens with vmalloc. This patch
provides USERPTR handling for those devices.

Signed-off-by: Javier Martin <javier.martin@vista-silicon.com>
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/videobuf2-vmalloc.c