[0/3] Raspberry Pi: Update VC4 pipeline for upstream
mbox series

Message ID 20260210-pi4-upstream-v1-0-279841c15fba@ideasonboard.com
Headers show
Series
  • Raspberry Pi: Update VC4 pipeline for upstream
Related show

Message

Jai Luthra Feb. 10, 2026, 8:25 a.m. UTC
Hi,

This series has updates to the Raspberry Pi VC4-based image pipeline to
work with the upstream variants of the capture and ISP drivers. While
unicam is already present upstream, the ISP driver upstreaming is still
WIP, patches present here:

https://lore.kernel.org/all/20260210-b4-vchiq-isp-v2-0-4403944152fe@ideasonboard.com/

The major changes between upstream v/s downstream kernel drivers are:
1. Create a dedicated subdev for Unicam device, which routes incoming
   image and embedded streams from the sensor to separate video devices
2. Simplify ISP entities' registration and use updated entity names for
   the video devices
3. For ISP configuration, drop the custom V4L2 controls in favour of
   (extensible) param buffers, adding a new metadata output video device

PS: This series (obviously) breaks backward-compatibility with
downstream RPi kernel.

For testing this series you can use this kernel branch (with overlays,
VCHIQ dependencies and temporary firmware clock fix):

https://github.com/jailuthra/linux/commits/b4/rpi-isp

Signed-off-by: Jai Luthra <jai.luthra@ideasonboard.com>
---
Jai Luthra (2):
      include: uapi: Drop controls for VC4 ISP params
      pipeline/ipa: rpi: vc4: Use extensible parameter buffers for ISP configuration

Laurent Pinchart (1):
      pipeline: raspberrypi: vc4: Configure format on Unicam subdev

 include/libcamera/ipa/raspberrypi.mojom        |  15 +-
 include/linux/bcm2835-isp.h                    | 276 ++++++++++++++++++++-----
 include/linux/v4l2-controls.h                  |   3 -
 include/linux/videodev2.h                      |   3 +-
 src/ipa/rpi/common/ipa_base.cpp                |  11 +-
 src/ipa/rpi/common/ipa_base.h                  |   3 +
 src/ipa/rpi/vc4/params.h                       |  77 +++++++
 src/ipa/rpi/vc4/vc4.cpp                        | 232 +++++++++------------
 src/libcamera/pipeline/rpi/common/rpi_stream.h |   1 +
 src/libcamera/pipeline/rpi/pisp/pisp.cpp       |   6 +-
 src/libcamera/pipeline/rpi/vc4/vc4.cpp         | 204 +++++++++++++-----
 11 files changed, 581 insertions(+), 250 deletions(-)
---
base-commit: bb2e6d0833adad9a1678c169fef74e9f7c211c73
change-id: 20260210-pi4-upstream-869c057a4067

Best regards,