]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
[media] vivid: enable vb2_expbuf support
authorHans Verkuil <hans.verkuil@cisco.com>
Tue, 18 Nov 2014 12:51:06 +0000 (09:51 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Tue, 25 Nov 2014 11:07:35 +0000 (09:07 -0200)
Now that vb2 supports DMABUF export for dma-sg and vmalloc memory
modes, we can enable the vb2_expbuf support in vivid.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Reviewed-by: Pawel Osciak <pawel@osciak.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/platform/vivid/vivid-core.c

index 987a46cdea5e66f79f5ebd7f93d840ee2c500951..a7e033a5d291fdfc874931e6138884083622a929 100644 (file)
@@ -572,7 +572,7 @@ static const struct v4l2_ioctl_ops vivid_ioctl_ops = {
        .vidioc_querybuf                = vb2_ioctl_querybuf,
        .vidioc_qbuf                    = vb2_ioctl_qbuf,
        .vidioc_dqbuf                   = vb2_ioctl_dqbuf,
-/* Not yet     .vidioc_expbuf          = vb2_ioctl_expbuf,*/
+       .vidioc_expbuf                  = vb2_ioctl_expbuf,
        .vidioc_streamon                = vb2_ioctl_streamon,
        .vidioc_streamoff               = vb2_ioctl_streamoff,