ANDROID: GKI: add VIDEOBUF2_DMA_SG under GKI_HIDDEN_MEDIA_CONFIGS

The virtio video driver v2 [1] uses videobuf2 structure
vb2_dma_sg_memops, when virtio device supports non-contiguous DMA video
buffers.

DMA SG memory allocator for videobuf2
(drivers/media/common/videobuf2/videobuf2-dma-sg.c) is a common code and
has no hardware dependencies.

[1]: https://lore.kernel.org/all/20200218202753.652093-2-dmitry.sepp@opensynergy.com/

Bug: 219998156
Signed-off-by: Mikhail Golubev <Mikhail.Golubev@opensynergy.com>
Change-Id: I897898090d7a97b13202c05aae28955595e09468
This commit is contained in:
Mikhail Golubev 2022-02-18 14:13:40 +01:00 committed by Alistair Delva
parent cef6807fdf
commit cfb2fbe11e

View file

@ -94,6 +94,7 @@ config GKI_HIDDEN_MEDIA_CONFIGS
select CEC_NOTIFIER
select CEC_PIN
select VIDEOBUF2_DMA_CONTIG
select VIDEOBUF2_DMA_SG
help
Dummy config option used to enable hidden media configs.
These are normally selected implicitly when a module