[v6,00/14] Miscellaneous Mali-C55 Pipeline Fixes
mbox series

Message ID 20241115101334.453104-1-dan.scally@ideasonboard.com
Headers show
Series
  • Miscellaneous Mali-C55 Pipeline Fixes
Related show

Message

Dan Scally Nov. 15, 2024, 10:13 a.m. UTC
Hi all

This set contains a number of fixes to the Mali-C55 pipeline handler that have
been in our development tree whilst we worked on the IPA module - they weren't
posted before because things have been in quite a lot of flux, but now that the
IPA patchset is itself public it's time for these to go upstream too.

Thanks
Dan

Prior changelogs (which are now on the patches themselves)

v3-v4: based on the v6 of the kernel driver [1]
- Collecting tags
- Added patches correcting the representation of input/output formats (#10)
- Added a patch enabling links between resizer and capture device, which in the
  latest version of the kernel driver are mutable (#11)
- Added the ScalerCrop patches back in (#12 and #13)

v2->v3:
- Collect additional tags
- Add 3 patches to add Mali C55 media bus formats to libcamera and to fix
  20-bit format propagation to CSI-2 to ISP

v1->v2
- Drop ScalerCrop and scaler handling
- Limit ISP input size to 640x480
- Adjust the RAW configuration stride and image size to 4 bytes

[1] https://lore.kernel.org/linux-media/20240709132906.3198927-1-dan.scally@ideasonboard.com/

Daniel Scally (7):
  libcamera: mali-c55: Init camera properties
  libcamera: mali-c55: Simplify bufferReady()
  libcamera: mali-c55: Remove MaliC55CameraData::mbusCodes()
  libcamera: mali-c55: Add stride and size to rawConfig
  libcamera: bayer_format: Add 20-bit bayer formats
  libcamera: mali-c55: Correct input/output format representation
  libcamera: mali-c55: Enable links between resizer and video node

Jacopo Mondi (7):
  libcamera: mali-c55: Limit max size to sensor resolution
  libcamera: mali-c55: Limit ISP input size
  include: media-bus-formats: Add Mali-C55 mbus codes
  libcamera: v4l2-subdevice: Add Mali C55 media bus formats
  libcamera: mali-c55: Propagate CSI-2 format to ISP
  libcamera: mali-c55: Enable usage of scaler
  libcamera: mali-c55: implement support for ScalerCrop

 include/linux/media-bus-format.h             |   9 +-
 src/libcamera/bayer_format.cpp               |   4 +
 src/libcamera/pipeline/mali-c55/mali-c55.cpp | 381 ++++++++++++++-----
 src/libcamera/v4l2_subdevice.cpp             |  42 ++
 4 files changed, 348 insertions(+), 88 deletions(-)