How to enable VIDEOBUF2_VMALLOC
Prabhakar Lad
prabhakar.csengg at gmail.com
Fri Jan 17 04:59:54 EST 2014
Hi,
On Thu, Jan 16, 2014 at 5:45 AM, m silverstri
<michael.j.silverstri at gmail.com> wrote:
> Hi,
>
> How can I enable VIDEOBUF2_VMALLOC?
> I try 'make menuconfig', but I don't know how can I configure to
> enable VIDEOBUF2_VMALLOC:
>
The videobuf2 supports 3 types of buffer:
1: VIDEOBUF2_DMA_CONTIG
2: VIDEOBUF2_DMA_SG
3: VIDEOBUF2_VMALLOC
It all depends on your hardware (bridge driver) which supports this
So if your bridge driver supports say VIDEOBUF2_VMALLOC then
in your Kconfig for the bridge driver you need to add the following line
select VIDEOBUF2_VMALLOC so this will be built along your driver.
Hope this helps!
Thanks,
--Prabhakar Lad
https://www.linkedin.com/in/prabhakarlad
> Symbol: VIDEOBUF2_VMALLOC [=n]
> │ Type : tristate
> │ Defined at drivers/media/v4l2-core/Kconfig:75
> │ Depends on: MEDIA_SUPPORT [=y]
> │ Selects: VIDEOBUF2_CORE [=y] && VIDEOBUF2_MEMOPS [=n] &&
> DMA_SHARED_BUFFER [=y]
> │ Selected by: USB_VIDEO_CLASS [=n] && USB [=y] && MEDIA_SUPPORT
> [=y] && MEDIA_USB_SUPPORT [=n] && MEDIA_CAMERA_SUPPORT [=y] || USB_PWC
> [=n] && USB [=y] && MEDIA_SUPPORT [=y] && MEDIA_USB_SUPPORT [=n] &&
> MEDIA_CAMERA_SUPPORT [=y] && VIDEO_V4L2 [=y] || VIDEO_STK1160 [=n] &&
> USB [=y] && MEDIA_SUPPORT [=y] && MEDIA_USB_SUPPORT [=n] &&
> MEDIA_ANALOG_TV_SUPPORT [=n] && VIDEO_DEV [=y] && I2C [=y] ||
> VIDEO_EM28XX [=n] && USB [=y] && MEDIA_SUPPORT [=y] &&
> MEDIA_USB_SUPPORT [=n] && (MEDIA_CAMERA_SUPPORT [=y]
>
> Thank you.
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
More information about the Kernelnewbies
mailing list