staging/bcm2835-camera: Add support for DMABUFs
authorDave Stevenson <dave.stevenson@raspberrypi.com>
Wed, 17 Mar 2021 12:34:57 +0000 (12:34 +0000)
committerDom Cobley <popcornmix@gmail.com>
Mon, 19 Feb 2024 11:33:10 +0000 (11:33 +0000)
commita096c2cad6103aa9cbdeb4f9ac708c0c29616bb3
treed0c768a11be0fc669076b36afc8dd97cee317246
parent0d53315e8779856d6cc725294bf2e3d4a48942d6
staging/bcm2835-camera: Add support for DMABUFs

DMABUFs are all handled by videobuf2, so there is no reason not
to enable support for them.

Note that this driver is still using the vmalloc allocator, so
the buffers it allocates will not be compatible with the codec
or ISP driver that require contiguous buffers. However this
driver should be able to import the buffers allocated by them.

Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c