Commit 01118c9f authored by Prabhakar Lad's avatar Prabhakar Lad Committed by Mauro Carvalho Chehab

[media] media: davinci: vpbe: add support for VB2_DMABUF

Signed-off-by: default avatarLad, Prabhakar <prabhakar.csengg@gmail.com>
Signed-off-by: default avatarHans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@osg.samsung.com>
parent 41cf47b3
...@@ -1450,7 +1450,7 @@ static int vpbe_display_probe(struct platform_device *pdev) ...@@ -1450,7 +1450,7 @@ static int vpbe_display_probe(struct platform_device *pdev)
q = &disp_dev->dev[i]->buffer_queue; q = &disp_dev->dev[i]->buffer_queue;
memset(q, 0, sizeof(*q)); memset(q, 0, sizeof(*q));
q->type = V4L2_BUF_TYPE_VIDEO_OUTPUT; q->type = V4L2_BUF_TYPE_VIDEO_OUTPUT;
q->io_modes = VB2_MMAP | VB2_USERPTR; q->io_modes = VB2_MMAP | VB2_USERPTR | VB2_DMABUF;
q->drv_priv = disp_dev->dev[i]; q->drv_priv = disp_dev->dev[i];
q->ops = &video_qops; q->ops = &video_qops;
q->mem_ops = &vb2_dma_contig_memops; q->mem_ops = &vb2_dma_contig_memops;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment