linux-stable/drivers/media/test-drivers
Laurent Pinchart 4a2e0a806c media: vimc: Add support for contiguous DMA buffers
The vimc driver is used for testing purpose, and some test use cases
involve sharing buffers with a consumer device. Consumers often require
DMA contiguous memory, which vimc doesn't currently support. This leads
in the best case to usage of bounce buffers, which is very slow, and in
the worst case in a complete failure.

Add support for the dma-contig allocator in vimc to support those use
cases properly. The allocator is selected through a new "allocator"
module parameter, which defaults to vmalloc.

[hverkuil: add missing 'select VIDEOBUF2_DMA_CONFIG' to Kconfig]

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
2022-02-16 12:47:02 +01:00
..
vicodec media: replace setting of bytesused with vb2_set_plane_payload 2021-12-07 11:29:56 +01:00
vidtv media: vidtv: remove unneeded variable make code cleaner 2021-12-14 16:19:04 +01:00
vimc media: vimc: Add support for contiguous DMA buffers 2022-02-16 12:47:02 +01:00
vivid media: vivid: fix timestamp and sequence wrapping 2022-01-23 21:18:42 +01:00
Kconfig media: media/test-drivers/Kconfig: fix broken Kconfig 2020-09-12 10:21:01 +02:00
Makefile media: vidtv: implement a tuner driver 2020-09-12 09:42:16 +02:00
vim2m.c media: vim2m: Remove repeated verbose license text 2021-09-30 10:07:55 +02:00