[libcamera-devel] [PATCH 0/2] Replace vcsm with dmabuf alloc
Laurent Pinchart
laurent.pinchart at ideasonboard.com
Tue Jul 14 20:14:35 CEST 2020
Hi Naush,
On Tue, Jul 14, 2020 at 01:08:42PM +0100, Naushir Patuck wrote:
> 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?
Sure, I'll do so.
> 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
--
Regards,
Laurent Pinchart
More information about the libcamera-devel
mailing list