Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

staging/bcm2835-camera: Add support for DMABUFs #4220

Merged
merged 1 commit into from
Mar 26, 2021

Conversation

6by9
Copy link
Contributor

@6by9 6by9 commented Mar 17, 2021

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

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>
@6by9
Copy link
Contributor Author

6by9 commented Mar 26, 2021

@pelwell Any chance of a review on this please?

@pelwell pelwell merged commit 3e55254 into raspberrypi:rpi-5.10.y Mar 26, 2021
popcornmix added a commit to raspberrypi/firmware that referenced this pull request Apr 7, 2021
kernel: vc4/drm: Fix source offsets with DRM_FORMAT_P030
See: raspberrypi/linux#4252

kernel: CM4 PCIe/XHCI updates
See: raspberrypi/linux#4249

kernel: Minipiftf13 driver and overlay
See: raspberrypi/linux#4156

kernel: staging/bcm2835-camera: Add support for DMABUFs
See: raspberrypi/linux#4220

kernel: Support hevc frequency boost from rpivid
See: raspberrypi/linux#4170

kernel: vc4/drm: vc4_plane: Remove subpixel positioning check
See: raspberrypi/linux#4215

kernel: staging: fbtft: Add minipitft13 variant
See: #1524

kernel: Support hevc frequency boost from rpivid
See: raspberrypi/linux#4170
popcornmix added a commit to Hexxeh/rpi-firmware that referenced this pull request Apr 7, 2021
kernel: vc4/drm: Fix source offsets with DRM_FORMAT_P030
See: raspberrypi/linux#4252

kernel: CM4 PCIe/XHCI updates
See: raspberrypi/linux#4249

kernel: Minipiftf13 driver and overlay
See: raspberrypi/linux#4156

kernel: staging/bcm2835-camera: Add support for DMABUFs
See: raspberrypi/linux#4220

kernel: Support hevc frequency boost from rpivid
See: raspberrypi/linux#4170

kernel: vc4/drm: vc4_plane: Remove subpixel positioning check
See: raspberrypi/linux#4215

kernel: staging: fbtft: Add minipitft13 variant
See: raspberrypi/firmware#1524

kernel: Support hevc frequency boost from rpivid
See: raspberrypi/linux#4170
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants