[libcamera-devel] [PATCH v3 0/2] Replace Raspberry Pi VCSM CMA with DMA heaps
Laurent Pinchart
laurent.pinchart at ideasonboard.com
Fri Jul 17 02:15:16 CEST 2020
Hi Naush,
I'm posting a v3 of your patches as I've rebased them on top of the
IPAInterface::configure() series that was recently merged. This version
contains the few changes I mentioned in the review of v2. Would you be
able to give it a last round of review ?
Feel free to push the kernel changes whenever is convenient, and notify
me when it will be done. I'll push this series right after.
Naushir Patuck (2):
include: linux: Add dma-buf.h and dma-heap.h UAPI headers
libcamera: pipeline: ipa: raspberrypi: Use dma heap allocs for LS
tables
include/linux/bcm2835-isp.h | 4 +-
include/linux/dma-buf.h | 50 ++++++
include/linux/dma-heap.h | 53 +++++++
include/linux/vc_sm_cma_ioctl.h | 135 ----------------
src/ipa/raspberrypi/raspberrypi.cpp | 28 +++-
.../pipeline/raspberrypi/dma_heaps.cpp | 84 ++++++++++
.../pipeline/raspberrypi/dma_heaps.h | 31 ++++
.../pipeline/raspberrypi/meson.build | 1 +
.../pipeline/raspberrypi/raspberrypi.cpp | 49 ++----
src/libcamera/pipeline/raspberrypi/vcsm.h | 149 ------------------
10 files changed, 257 insertions(+), 327 deletions(-)
create mode 100644 include/linux/dma-buf.h
create mode 100644 include/linux/dma-heap.h
delete mode 100644 include/linux/vc_sm_cma_ioctl.h
create mode 100644 src/libcamera/pipeline/raspberrypi/dma_heaps.cpp
create mode 100644 src/libcamera/pipeline/raspberrypi/dma_heaps.h
delete mode 100644 src/libcamera/pipeline/raspberrypi/vcsm.h
--
Regards,
Laurent Pinchart
More information about the libcamera-devel
mailing list