[libcamera-devel] [PATCH 0/3] libcamera: raspberrypi: Fail early when opening dma heaps

Jacopo Mondi jacopo at jmondi.org
Thu Aug 27 10:20:35 CEST 2020


Hello,
  three small patches to fail as earlier as possible on errors when opening
the dma heaps allocator device.

Before the series, the pipeline handler would fail at configuration time, when
it actually tries to use the allocator.

With this series the pipeline handler fails at match() time (and gets a little
more verbose in reporting errors to the user).

Thanks
  j

Jacopo Mondi (3):
  libcamera: raspberrypi: dma_heaps: Add open/close
  libcamera: raspberrypi: Fail on dmaHeaps_ open error
  libcamera: raspberrypi: dma_heaps: Be verbose on errors

 .../pipeline/raspberrypi/dma_heaps.cpp        | 29 ++++++++++++++++---
 .../pipeline/raspberrypi/dma_heaps.h          |  2 ++
 .../pipeline/raspberrypi/raspberrypi.cpp      | 13 +++++++++
 3 files changed, 40 insertions(+), 4 deletions(-)

--
2.28.0



More information about the libcamera-devel mailing list