| Message ID | 20260313-mali-cru-v4-0-c0d9bc8cd8fa@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 9DF0BBE086 for <parsemail@patchwork.libcamera.org>; Fri, 13 Mar 2026 11:34:20 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id ABE7B62657; Fri, 13 Mar 2026 12:34:19 +0100 (CET) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="W7dKNUMP"; 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 464FC622AE for <libcamera-devel@lists.libcamera.org>; Fri, 13 Mar 2026 12:34:18 +0100 (CET) Received: from [192.168.224.131] (unknown [37.159.92.229]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 17D23F52; Fri, 13 Mar 2026 12:33:04 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1773401589; bh=CSkMQLefo61kYIMUJhqf/BoQbl5UnqVcLcAjel0VEbg=; h=From:Subject:Date:To:Cc:From; b=W7dKNUMP9MkrFp1d75SWNJsgs1GvYN21wMIVMnio1AOtt15VR7LmfZDj1LW0h5TVl yby2FjLaTxrTFxqH25WOmMykpwybjB/hSKxBPDRjsrcooQinyAU9e8GONCTb8WISGx nGrxLHZH0+bDvCSuuuQMlrMerOYEdn6/UChH+ClI= From: Jacopo Mondi <jacopo.mondi@ideasonboard.com> Subject: [PATCH v4 0/7] libcamera: mali-c55: Add support for memory-to-memory Date: Fri, 13 Mar 2026 12:33:41 +0100 Message-Id: <20260313-mali-cru-v4-0-c0d9bc8cd8fa@ideasonboard.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIABb2s2kC/3XMQQ7CIBCF4asY1mJgaLV15T2MCygzlsQWA0o0T e8u7YpFXT6Y759YxOAwsvNuYgGTi86PeVT7Het6Pd6RO5s3AwG1BFHzQT8c78KbI0igRhulAFk +fwYk91lT11vevYsvH75rOcnldSOSJBfcNtKYmghPSl+cRR39aLwO9tD5gS2tBIWXovCQPcKxA mkxf5s/XpW+LbzKnqglEqoSjWk3/DzPPyz1heInAQAA X-Change-ID: 20251205-mali-cru-e212f8ab332e To: Daniel Scally <dan.scally@ideasonboard.com>, libcamera-devel@lists.libcamera.org Cc: Jacopo Mondi <jacopo.mondi@ideasonboard.com>, =?utf-8?b?QmFybmFiw6Fz?= =?utf-8?q?_P=C5=91cze?= <barnabas.pocze@ideasonboard.com> X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=openpgp-sha256; l=2360; i=jacopo.mondi@ideasonboard.com; h=from:subject:message-id; bh=CSkMQLefo61kYIMUJhqf/BoQbl5UnqVcLcAjel0VEbg=; b=owEBbQKS/ZANAwAKAXI0Bo8WoVY8AcsmYgBps/Y0G9LAoaMZHduBdQuK9jBM1vbo7uRWTDJFD RMKNmKlpx2JAjMEAAEKAB0WIQS1xD1IgJogio9YOMByNAaPFqFWPAUCabP2NAAKCRByNAaPFqFW PBY+D/9M87EJwuJFwingCJmNsqYYC73hDeyVyXjGjTZ6k1Tw5hbB97yn7XIjNP9T8jaBC3Opvpx wu/LsXE54pmyuIIot5SifZ3pmnD/QvWkD3kWlFFb8RSVgtzcNuDzVxJskMKagUWa5lwwbTJWPZ2 iZ5kKQWRJOGY8ZETxEFiPD36y9Ro6ErzsUoUVm0Elw3d2lOLJ9ps+esUbz1HPtXuctm58c/LNyF AffkPmqY4exAXUE2ldcX9TCyI/SvW4PFw8fc8VhuLcnsMkQop+MDewMeqTMsrD9EVxzBykZFVU+ ZzQlkU5yAMbQnMM3abRhiAt8ZhWzX8ed1MhKunvDvBadAdyY8b04RZzARKMOw8S8ueAeGtvphvn Sf/awjJiPfLQISWvdj1ymQzDN4A9B0cJ1ou83zli0/pV5vw19f49hUOvkhXYQmlVwdZKw8pD6da wzeM8DXmeZ+kEB/YMVvqMBcU1mplqkicL+uBJnlj7OLm5YGAUkYmIdzR/JV55jqWCTGTSfCwCYl ODqynfIVk1ArxBQTML0dFT8Q+UuodbxgEADLlXj0r3scDk7AZUtc6LIizUA28Y7YCOz3FG1zu+r mTqtws1tGWZYse67f14bwi5XeXXg60lQVZ87iW3HgY5oSYm2CCTT3zWC7aTxaEWq/ql7SnYfn5D d5I8aYGkvSQVXQQ== X-Developer-Key: i=jacopo.mondi@ideasonboard.com; a=openpgp; fpr=72392EDC88144A65C701EA9BA5826A2587AD026B 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
|
Add support for m2m camera operations in the mali-c55 pipeline handler. The series targets SoCs like the Renesas RZ/V2H(P) one where the Mali-C55 ISP is integrated in m2m mode. The CSI-2 receiver (CRU) saves images to memory and the ISP is fed through a dedicated DMA engine that provides memory interfacing capabilities. The series starts by adding support for the RZG2LCRU class (named after the media device name) and then plumbs memory-to-memory operations in the pipeline handler. Tested on RZ/V2H(P) EVK with imx708 camera sensor. Dan, could you re-test with Inline mode please ? I should have collected your fix that restored proper operations with Inline. Signed-off-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com> --- Changes in v4: - Move the overloaded visitor helper to utils.h Changes in v3: - Drop dynamic polymorphism and use overloaded visitor in MaliC55CameraData. The result is neater in my opinion. - Address Barnabas' comments I missed in v2 Changes in v2: - Almost a complete rework of the CameraData which is now a class hierarchy. I'm not sure the result is that much cleaner, but hey, I'm using templates and pattern with weird names, so it ought be better for sure --- Daniel Scally (3): libcamera: mali-c55: Add RZG2LCRU class libcamera: mali-c55: Register memory input camera libcamera: mali-c55: Implement capture for memory-to-memory Jacopo Mondi (4): libcamera: utils: Add overloaded visitor helpers libcamera: mali-c55: Split TPG and Inline camera handling libcamera: mali-c55: Configure camera in memory-to-memory libcamera: mali-c55: Fix sensor size computation include/libcamera/base/utils.h | 7 + src/libcamera/base/utils.cpp | 35 ++ src/libcamera/pipeline/mali-c55/mali-c55.cpp | 597 ++++++++++++++++++++------ src/libcamera/pipeline/mali-c55/meson.build | 3 +- src/libcamera/pipeline/mali-c55/rzg2l-cru.cpp | 260 +++++++++++ src/libcamera/pipeline/mali-c55/rzg2l-cru.h | 73 ++++ src/libcamera/pipeline/virtual/virtual.cpp | 10 +- 7 files changed, 851 insertions(+), 134 deletions(-) --- base-commit: 02277d4c1a5ae7fee582f635936877435a12db64 change-id: 20251205-mali-cru-e212f8ab332e Best regards,