Cover Letter Detail
Show a cover letter.
GET /api/covers/26390/?format=api
{ "id": 26390, "url": "https://patchwork.libcamera.org/api/covers/26390/?format=api", "web_url": "https://patchwork.libcamera.org/cover/26390/", "project": { "id": 1, "url": "https://patchwork.libcamera.org/api/projects/1/?format=api", "name": "libcamera", "link_name": "libcamera", "list_id": "libcamera_core", "list_email": "libcamera-devel@lists.libcamera.org", "web_url": "", "scm_url": "", "webscm_url": "" }, "msgid": "<20260331-mali-cru-v7-0-4caedc898a0e@ideasonboard.com>", "date": "2026-03-31T16:36:28", "name": "[v7,0/8] libcamera: mali-c55: Add support for memory-to-memory", "submitter": { "id": 143, "url": "https://patchwork.libcamera.org/api/people/143/?format=api", "name": "Jacopo Mondi", "email": "jacopo.mondi@ideasonboard.com" }, "mbox": "https://patchwork.libcamera.org/cover/26390/mbox/", "series": [ { "id": 5860, "url": "https://patchwork.libcamera.org/api/series/5860/?format=api", "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=5860", "date": "2026-03-31T16:36:28", "name": "libcamera: mali-c55: Add support for memory-to-memory", "version": 7, "mbox": "https://patchwork.libcamera.org/series/5860/mbox/" } ], "comments": "https://patchwork.libcamera.org/api/covers/26390/comments/", "headers": { "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\n\t[92.243.16.209])\n\tby patchwork.libcamera.org (Postfix) with ESMTPS id 7CFE7BDCBD\n\tfor <parsemail@patchwork.libcamera.org>;\n\tTue, 31 Mar 2026 16:36:53 +0000 (UTC)", "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 1CAC062D25;\n\tTue, 31 Mar 2026 18:36:52 +0200 (CEST)", "from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id F14AE6274D\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tTue, 31 Mar 2026 18:36:49 +0200 (CEST)", "from [100.93.44.16] (net-93-65-100-155.cust.vodafonedsl.it\n\t[93.65.100.155])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id 4E11020FF;\n\tTue, 31 Mar 2026 18:35:27 +0200 (CEST)" ], "Authentication-Results": "lancelot.ideasonboard.com; dkim=pass (1024-bit key;\n\tunprotected) header.d=ideasonboard.com header.i=@ideasonboard.com\n\theader.b=\"UEaVBPd2\"; dkim-atps=neutral", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1774974927;\n\tbh=b/Hx/7+9QMq148+RXNXby3l0SyP+hEYduuOIZdzdcrg=;\n\th=From:Subject:Date:To:Cc:From;\n\tb=UEaVBPd2JhBIZbZBhI/Sbmvog/npUHEJ8Les+IGZYr/aO03Hlxvxio7xtMSxnzgLn\n\tyqYlFM2JfLAKlOzNBxU7Tn3Uq9E8yv1zXJ+PsgFF7g/25AhnNcPRRMtenzr0st+ZGY\n\tc0nKGqISrKSpGi5aP+D8Usjry0WxbnjvvCqmrWEo=", "From": "Jacopo Mondi <jacopo.mondi@ideasonboard.com>", "Subject": "[PATCH v7 0/8] libcamera: mali-c55: Add support for memory-to-memory", "Date": "Tue, 31 Mar 2026 18:36:28 +0200", "Message-Id": "<20260331-mali-cru-v7-0-4caedc898a0e@ideasonboard.com>", "MIME-Version": "1.0", "Content-Type": "text/plain; charset=\"utf-8\"", "Content-Transfer-Encoding": "7bit", "X-B4-Tracking": "v=1; b=H4sIAAz4y2kC/3XQy2pDIRAG4FcJrmtxxku0q75H6cLL2AjNMWh7a\n\tAnn3WsCBRc5y1/9/hm8sk6tUGcvhytrtJZe6jLC8enA4skvH8RLGpmhQA0oND/7z8Jj++aEgNn\n\t6ICUSG88vjXL5uVe9vY98Kv2rtt978wq30wclK3DBk4UQdM50lP61JPK9LqH6lp5jPbNb14qTB\n\tzF5HJ7QKIRE4zrseDl7N3k5fM4uZyGVsMHtePXvjZAgJ6+GjyK5EG1MNu/tr/e8Hl7Z7CQpCej\n\tUjjeTx/n/zPABTBBROQvu0fxt2/4Agbc1mecBAAA=", "X-Change-ID": "20251205-mali-cru-e212f8ab332e", "To": "Daniel Scally <dan.scally@ideasonboard.com>, \n\tlibcamera-devel@lists.libcamera.org", "Cc": "=?utf-8?q?Barnab=C3=A1s_P=C5=91cze?= <barnabas.pocze@ideasonboard.com>,\n\tJacopo Mondi <jacopo.mondi@ideasonboard.com>", "X-Mailer": "b4 0.14.3", "X-Developer-Signature": "v=1; a=openpgp-sha256; l=3376;\n\ti=jacopo.mondi@ideasonboard.com; h=from:subject:message-id;\n\tbh=b/Hx/7+9QMq148+RXNXby3l0SyP+hEYduuOIZdzdcrg=;\n\tb=owEBbQKS/ZANAwAKAXI0Bo8WoVY8AcsmYgBpy/ggsaidWypM28AInsJv9gjc8SGTbatU9Z/MP\n\t9ne/F3IqjGJAjMEAAEKAB0WIQS1xD1IgJogio9YOMByNAaPFqFWPAUCacv4IAAKCRByNAaPFqFW\n\tPL9sD/wKPRxLzkibZGC00eS1P1d2y/hDRkj1lsWVMFps44f9gLaCYbFE/6mcfwIV48ZZrwHetY6\n\tlR+WjATvpjlWyEMAktZfDtl/EsQH8QZFY0MmJtSG7pUCUfMVje213GR1+emrLZt44yMuP9t8xU0\n\t+wiJbFhPYUJrNOYxMuXRKCG3VQICvBstRQo3sWR4Okpp+gYtstobakttcOhw10kgkHzXWHAzDEf\n\thU/1a2ilk9tuVEnikhURv8aUnqO3ytdwkFtzzW3GZkWkWezF0Jx5IId4wQjL6F954gv1ozTzE8/\n\tF9vU9lS71r7B0R4Fh6mIfUvwpsJddd0xOjrO5cEE+5Vh9yaUiCbHOtZOKtXMn8CW3A/NoMiXst+\n\tqPRhZ89AXvQHs/Od3OmSPKOs8Y9GXr8VvMf+DNYZiz3t8z8GXCQd4hqDOiezHQFex3HhwoNXh6u\n\twuktS5xD404tMJ/Hz5rNFlON7m4za9puW8O7hyaXB81eSuOvRkvIEONx+mvRF7PeYGo0UFRFTnR\n\tEQRGsW/e96t7QXSobxqJN1NCwl0MIX2eGgq7wqN//ucYjtzS54nS/+tSWeFKucoBvMLrnDxfmTz\n\t2bsx+rCCUGxSMhTTqtPRra0vhhb6Ie0cg7FWg+HOUDFZvW1P+OSKm0hp87CLRXUdhRLnz+9pV2i\n\tpc4nUIV6B3uUo4w==", "X-Developer-Key": "i=jacopo.mondi@ideasonboard.com; a=openpgp;\n\tfpr=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>,\n\t<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>,\n\t<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>" }, "content": "Add support for m2m camera operations in the mali-c55 pipeline handler.\n\nThe series targets SoCs like the Renesas RZ/V2H(P) one where the\nMali-C55 ISP is integrated in m2m mode. The CSI-2 receiver (CRU) saves\nimages to memory and the ISP is fed through a dedicated DMA engine that\nprovides memory interfacing capabilities.\n\nThe series starts by adding support for the RZG2LCRU class (named after\nthe media device name) and then plumbs memory-to-memory operations in\nthe pipeline handler.\n\nTested on RZ/V2H(P) EVK with imx708 camera sensor.\n\nDan, could you re-test with Inline mode please ?\nI should have collected your fix that restored proper operations with\nInline.\n\nSigned-off-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>\n---\nChanges in v7:\n- Allocate the same number of buffers on Mali and CRU side:\n - Add a patch that defines the number of in-flight requests and use\n them to allocate buffers on the MaliC55 side\n - Make the number of CRU buffers to be allocated configurable\n - Now that the number of Requests in-flight matches the number of\n buffers available for stats, params and CRU, we can remove the\n pendingRequests_ queue and confidentially ASSERT() that we'll always\n have buffers available for capture\n- handle components set-up in registerMemoryInputCamera\n\nChanges in v6:\n- Address use-after-free errors reported by Barnabas by splitting CRU\n buffer release from device streamoff\n- Address proper handling of Camera::stop() when in m2m using ASan. I\n suspect inline would probably need fixes as well when run with ASan\n- Minor improvements to code style\n\nChanges in v5:\n- Use overloaded std::visit when possible\n- Adjust indentation\n\nChanges in v4:\n- Move the overloaded visitor helper to utils.h\n\nChanges in v3:\n- Drop dynamic polymorphism and use overloaded visitor in\n MaliC55CameraData. The result is neater in my opinion.\n- Address Barnabas' comments I missed in v2\n\nChanges in v2:\n- Almost a complete rework of the CameraData which is now a class\n hierarchy. I'm not sure the result is that much cleaner, but hey, I'm\n using templates and pattern with weird names, so it ought be better\n for sure\n\n---\nDaniel Scally (1):\n libcamera: mali-c55: Add RZG2LCRU class\n\nJacopo Mondi (7):\n libcamera: utils: Add overloaded visitor helpers\n libcamera: mali-c55: Split TPG and Inline camera handling\n libcamera: mali-c55: Register memory input camera\n libcamera: mali-c55: Configure camera in memory-to-memory\n libcamera: mali-c55: Do not rely on bufferCount\n libcamera: mali-c55: Implement capture for memory-to-memory\n libcamera: mali-c55: Fix sensor size computation\n\n include/libcamera/base/utils.h | 7 +\n src/libcamera/base/utils.cpp | 35 ++\n src/libcamera/pipeline/mali-c55/mali-c55.cpp | 669 +++++++++++++++++++-------\n src/libcamera/pipeline/mali-c55/meson.build | 3 +-\n src/libcamera/pipeline/mali-c55/rzg2l-cru.cpp | 253 ++++++++++\n src/libcamera/pipeline/mali-c55/rzg2l-cru.h | 70 +++\n src/libcamera/pipeline/virtual/virtual.cpp | 10 +-\n 7 files changed, 860 insertions(+), 187 deletions(-)\n---\nbase-commit: 2a1c75504c789b686b5b37ed8729f632ec81d2f0\nchange-id: 20251205-mali-cru-e212f8ab332e\n\nBest regards," }