| Message ID | 20260210-pi4-upstream-v1-0-279841c15fba@ideasonboard.com |
|---|---|
| Headers | show
Return-Path: <libcamera-devel-bounces@lists.libcamera.org> X-Original-To: parsemail@patchwork.libcamera.org Delivered-To: parsemail@patchwork.libcamera.org Received: from lancelot.ideasonboard.com (lancelot.ideasonboard.com [92.243.16.209]) by patchwork.libcamera.org (Postfix) with ESMTPS id A5F7CBD78E for <parsemail@patchwork.libcamera.org>; Tue, 10 Feb 2026 08:26:17 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id D81BE6218D; Tue, 10 Feb 2026 09:26:16 +0100 (CET) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="G5AbAyiX"; dkim-atps=neutral Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 7547B61FBF for <libcamera-devel@lists.libcamera.org>; Tue, 10 Feb 2026 09:26:14 +0100 (CET) Received: from mail.ideasonboard.com (unknown [IPv6:2401:4900:1c30:2edd:807a:f3c0:8d1b:28a]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 7774FE47; Tue, 10 Feb 2026 09:25:27 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1770711927; bh=9MRkbOfD5/XywN/CECw/J5aQJ+TDb6+TFadfoISFwLY=; h=From:Subject:Date:To:Cc:From; b=G5AbAyiXkgYL9SSTh6+3Hf01lN/MvOkiPiLO+VZnlBZrHHPD8j+cZN3hf7YGZdYnx +tnb/IeNPhS/3QcLGip3+GbXcd/g4+WUwD2I1L49l2lhb+JB7RyCfha2RlFgAC5rat Lg8b5FIkYb/w/JESRcUG4AqB/9uCsf7+UCNjYJQc= From: Jai Luthra <jai.luthra@ideasonboard.com> Subject: [PATCH 0/3] Raspberry Pi: Update VC4 pipeline for upstream Date: Tue, 10 Feb 2026 13:55:45 +0530 Message-Id: <20260210-pi4-upstream-v1-0-279841c15fba@ideasonboard.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIAInrimkC/6tWKk4tykwtVrJSqFYqSi3LLM7MzwNyDHUUlJIzE vPSU3UzU4B8JSMDIzMDI0MD3YJME93SguKSotTEXF0LM8tkA1PzRBMDM3MloJaCotS0zAqwcdG xtbUAHc5Zdl4AAAA= X-Change-ID: 20260210-pi4-upstream-869c057a4067 To: libcamera-devel@lists.libcamera.org Cc: Naushir Patuck <naush@raspberrypi.com>, David Plowman <david.plowman@raspberrypi.com>, Laurent Pinchart <laurent.pinchart@ideasonboard.com>, Kieran Bingham <kieran.bingham@ideasonboard.com>, Jacopo Mondi <jacopo.mondi@ideasonboard.com>, Daniel Scally <dan.scally@ideasonboard.com>, Jai Luthra <jai.luthra@ideasonboard.com> X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=2316; i=jai.luthra@ideasonboard.com; h=from:subject:message-id; bh=9MRkbOfD5/XywN/CECw/J5aQJ+TDb6+TFadfoISFwLY=; b=owEBbQKS/ZANAwAKAUPekfkkmnFFAcsmYgBpiuucrlG5vvp1k7XZBUNgjY8NMzhF0tOqTUZCt sqnMUxIb5eJAjMEAAEKAB0WIQRN4NgY5dV16NRar8VD3pH5JJpxRQUCaYrrnAAKCRBD3pH5JJpx RU0eEADDlnXRVkzd5IGdKu9p73zw65KjlMdGgh3QNVj6YioL48zwCZZ8A5WQTtjeKnX1n/XRwGJ WYR/+m2B+OfhFO7COCejOY2TcvNGPxiiRfEtBvyzyLpDkrfJZLQ6SaPFFvVPTNc4LfuN669oqTf Cckxt1lAKyjKTgbO0vYMja413CJDllfhOMbg52BmJdy7M0jWJGJ8HWPGSRjkbd1g0Hb3Y/TOH2Z A2dsHZ5xz8b2HKx2fkuBpT3k9q+L5Ru6Gl3t8M778HlRWxiZZB4OGdBzlLpojKdtiw519wqMbGD oW2uWviuB0T5lT5tKpvHbTDENaTzLZFiG5xrW55yn40k3ejXfJSzFznwycf9PbumVAjArlcnDs5 VfNBUDRniJYdJzOlj8Q+fcsPI1lJJIhLneOHDfA5UTTFDE5euTWqi10gaq0tIZxgvwT131F4LCC 4hu1JglRoXNHo9wvlr2Mn1aYKmGqV1DWhTVL6Xt4h6dhiyZqGLk6BEdIgPkfWJoeyYZyWW/W9c2 sz7lMBmmN6Jbc2nTFd8CT8zVswWlN2J/jbZwWwIsxLltOBc3if961xEqNU6OpObN9tjeXxx6A7M I55RAr9ltFCl+MjiHr2uEN0iRPpiINQWKv1Ijis/ddlGrTnYPcSIojCQ2hgMOPxqph7sbQSZPSY fZhtvyi9o4AKy7A== X-Developer-Key: i=jai.luthra@ideasonboard.com; a=openpgp; fpr=4DE0D818E5D575E8D45AAFC543DE91F9249A7145 X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: <libcamera-devel.lists.libcamera.org> List-Unsubscribe: <https://lists.libcamera.org/options/libcamera-devel>, <mailto:libcamera-devel-request@lists.libcamera.org?subject=unsubscribe> List-Archive: <https://lists.libcamera.org/pipermail/libcamera-devel/> List-Post: <mailto:libcamera-devel@lists.libcamera.org> List-Help: <mailto:libcamera-devel-request@lists.libcamera.org?subject=help> List-Subscribe: <https://lists.libcamera.org/listinfo/libcamera-devel>, <mailto:libcamera-devel-request@lists.libcamera.org?subject=subscribe> Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" <libcamera-devel-bounces@lists.libcamera.org> |
| Series |
|
| Related |
show
|
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,