[libcamera-devel] [PATCH 0/2] Replace vcsm with dmabuf alloc
Naushir Patuck
naush at raspberrypi.com
Tue Jul 14 14:08:42 CEST 2020
Hi,
This patch replaces the existing vcsm with dmabuf allocations for the lens shading tables.
This change will break existing functionality without the equivalent linux kernel
change (https://github.com/raspberrypi/linux/pull/3715) being present and built..
Laurent, since this is an ABI breakage, once the review is complete, could you
let me know before you are about to merge this change so we can sync push the
kernel change at the same time and inform our users please?
Thanks,
Naush
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 | 27 +++-
.../pipeline/raspberrypi/dma-heaps.h | 102 ++++++++++++
.../pipeline/raspberrypi/raspberrypi.cpp | 44 ++----
src/libcamera/pipeline/raspberrypi/vcsm.h | 149 ------------------
8 files changed, 241 insertions(+), 323 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.h
delete mode 100644 src/libcamera/pipeline/raspberrypi/vcsm.h
--
2.25.1
More information about the libcamera-devel
mailing list