Show a patch.

GET /api/patches/24967/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 24967,
    "url": "https://patchwork.libcamera.org/api/patches/24967/?format=api",
    "web_url": "https://patchwork.libcamera.org/patch/24967/",
    "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": "<20251104134927.318841-3-antoine.bouyer@nxp.com>",
    "date": "2025-11-04T13:49:27",
    "name": "[v6,2/2] pipeline: imx8-isi: Delay ISI routes config to acquire() time",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "add543fa053b1f12e97b69c83c65baf724566af1",
    "submitter": {
        "id": 218,
        "url": "https://patchwork.libcamera.org/api/people/218/?format=api",
        "name": "Antoine Bouyer",
        "email": "antoine.bouyer@nxp.com"
    },
    "delegate": null,
    "mbox": "https://patchwork.libcamera.org/patch/24967/mbox/",
    "series": [
        {
            "id": 5562,
            "url": "https://patchwork.libcamera.org/api/series/5562/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=5562",
            "date": "2025-11-04T13:49:25",
            "name": "imx8-isi: Move isi routing into acquireDevice",
            "version": 6,
            "mbox": "https://patchwork.libcamera.org/series/5562/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/patches/24967/comments/",
    "check": "pending",
    "checks": "https://patchwork.libcamera.org/api/patches/24967/checks/",
    "tags": {},
    "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 A3A25C3241\n\tfor <parsemail@patchwork.libcamera.org>;\n\tTue,  4 Nov 2025 13:47:51 +0000 (UTC)",
            "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id B287560A9D;\n\tTue,  4 Nov 2025 14:47:48 +0100 (CET)",
            "from AM0PR83CU005.outbound.protection.outlook.com\n\t(mail-westeuropeazlp170100001.outbound.protection.outlook.com\n\t[IPv6:2a01:111:f403:c201::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id F185F60856\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tTue,  4 Nov 2025 14:47:45 +0100 (CET)",
            "from GVXPR04MB9831.eurprd04.prod.outlook.com (2603:10a6:150:11c::8)\n\tby AM8PR04MB8020.eurprd04.prod.outlook.com (2603:10a6:20b:244::5)\n\twith Microsoft SMTP Server (version=TLS1_2,\n\tcipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9275.16;\n\tTue, 4 Nov 2025 13:47:44 +0000",
            "from GVXPR04MB9831.eurprd04.prod.outlook.com\n\t([fe80::4634:3d9c:c4a:641a]) by\n\tGVXPR04MB9831.eurprd04.prod.outlook.com\n\t([fe80::4634:3d9c:c4a:641a%6]) with mapi id 15.20.9298.006;\n\tTue, 4 Nov 2025 13:47:44 +0000"
        ],
        "Authentication-Results": [
            "lancelot.ideasonboard.com; dkim=pass (2048-bit key;\n\tunprotected) header.d=nxp.com header.i=@nxp.com header.b=\"lmLbKbxT\";\n\tdkim-atps=neutral",
            "dkim=none (message not signed)\n\theader.d=none;dmarc=none action=none header.from=nxp.com;"
        ],
        "ARC-Seal": "i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none;\n\tb=BaTq+U87rhdY7owvFf14twKWoW3Z19+bfTy1DXl1EnFOap1B9WUPOUrrDv5expLwTNBiiP4bbT0PEgmDWEUdlzcFpEjFWvKCM8I5OKOtwCu9GpHGntRLxjIgnbLbjTi5bVQ7MjuwFPoqkXHvemrTgk+wrS4/696y4g2oecOG1GUseLfOsrjLy9tf+rwKRTp7jzYZLq7+7Upg3P10O9rmry5vtHKgfcgPFU9lmwICTRgJHJjBoe9JQ2l7qAq9ONsdeEGWdlAsiWPUGIJSC3MGRFxpe8cqdIkszBYcw8SOPh6F/CAmAPuVYdxicpZ4bhMHeujfz/S4lL67cRqv+QP4lA==",
        "ARC-Message-Signature": "i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com;\n\ts=arcselector10001;\n\th=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1;\n\tbh=vyxzQ342y1YH/nGSsGBDzH3kZabWUf6pa0jaceziF7M=;\n\tb=h4bjR/V2CJWDJhUQA6FirTZNJCilUMlkLMISij0LiVQXFzQ+E4pzJ3g3h3pJ2fD09Z4/virtno2WNAYSiCI/6g1Up7sObFDR+KUa6AHz7Y7qA4Qce/dzM4CK02ud62CZD1m0E/bgHYqDzYOt0KQBEKctUHYU2BCM0HgfeYcHbrD8HUGtM4BDy2ohOE+ZKjmk4u9dnO+Dpg2zT3HBOb6RTKMpeVzdBlDJ40qNci6PiW619Pl0CvPBFLI+OzkwkVzVYDeSDhkFJcPyhc9Vrt5GO/4jB+ScZJhW6GOsPe4QQ3a9IVUEVkssx2IXGAL9jd342NIEPhwVQP20UCOV17nXRg==",
        "ARC-Authentication-Results": "i=1; mx.microsoft.com 1; spf=pass\n\tsmtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com;\n\tdkim=pass header.d=nxp.com; arc=none",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1;\n\th=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;\n\tbh=vyxzQ342y1YH/nGSsGBDzH3kZabWUf6pa0jaceziF7M=;\n\tb=lmLbKbxTnAU2UO3MXbk+7+4wO83NGNwP/fz/IL1oYiuemZQumOi/XXY1w2ASOiayd6KpRyRXAHDdgdgRo+kE5SKVh/KULUPYYJslIVOIBFAD2wbLe2j6sEDUVEuWlE+3qfzcR3AiLGoxzHF1u9rs9dHTvCctv88GldpXxhxfmw+HOKLHrpxcE7XE/usWdMWuqQQROXCqPeIoXrPvYdUm2Y8T9+wTMqGzpd6Q+T6OA0QAlM+LjTaPUvBkyCfyJpqYmp9L8FlNjWgsbqmgshzJrzkQOkhMBHKsgNJlk1Usw5HAUeoUHxnNQ3uQTFdr/AtIxetxGsujQqOYYo3MmVBtvQ==",
        "From": "Antoine Bouyer <antoine.bouyer@nxp.com>",
        "To": "libcamera-devel@lists.libcamera.org",
        "Cc": "julien.vuillaumier@nxp.com, Andrei Gansari <andrei.gansari@nxp.com>,\n\tAntoine Bouyer <antoine.bouyer@nxp.com>, Kieran Bingham\n\t<kieran.bingham@ideasonboard.com>, =?utf-8?q?Barnab=C3=A1s_P=C5=91cze?=\n\t<barnabas.pocze@ideasonboard.com>",
        "Subject": "[PATCH v6 2/2] pipeline: imx8-isi: Delay ISI routes config to\n\tacquire() time",
        "Date": "Tue,  4 Nov 2025 14:49:27 +0100",
        "Message-Id": "<20251104134927.318841-3-antoine.bouyer@nxp.com>",
        "X-Mailer": "git-send-email 2.34.1",
        "In-Reply-To": "<20251104134927.318841-1-antoine.bouyer@nxp.com>",
        "References": "<20251104134927.318841-1-antoine.bouyer@nxp.com>",
        "Content-Type": "text/plain; charset=UTF-8",
        "Content-Transfer-Encoding": "8bit",
        "X-ClientProxiedBy": "AS4P251CA0019.EURP251.PROD.OUTLOOK.COM\n\t(2603:10a6:20b:5d3::7) To GVXPR04MB9831.eurprd04.prod.outlook.com\n\t(2603:10a6:150:11c::8)",
        "MIME-Version": "1.0",
        "X-MS-PublicTrafficType": "Email",
        "X-MS-TrafficTypeDiagnostic": "GVXPR04MB9831:EE_|AM8PR04MB8020:EE_",
        "X-MS-Office365-Filtering-Correlation-Id": "298aca99-b8d9-4fdc-8b06-08de1ba8bb2f",
        "X-MS-Exchange-SenderADCheck": "1",
        "X-MS-Exchange-AntiSpam-Relay": "0",
        "X-Microsoft-Antispam": "BCL:0;\n\tARA:13230040|366016|52116014|376014|19092799006|1800799024|38350700014;",
        "X-Microsoft-Antispam-Message-Info": "=?utf-8?q?8dyDjAwaUaUtdX5pweWLBUte7a7+?=\n\t=?utf-8?q?ax8hwx388vcvOsQPenUG0QfZUnHHkrQVAfXaDHkaTzBpgjFSxlDM4ygg?=\n\t=?utf-8?q?npZ4I540bMJPb1KhGAALL5tkmUHeT+wZxCj50OsRPLkFvq/iZL3qyAfS?=\n\t=?utf-8?q?i/7+/Zph7LGTMlQuE6P3/oFfmGXlcBjHvWW7pTGx8fjVzhuZksGaKPbz?=\n\t=?utf-8?q?gPLctBkh8Z7LZ8eLoh6qziqWK20oDKbT8fvKRpuf9ErzoIiYsXW8veds?=\n\t=?utf-8?q?FgOqaxqF/2fPsUAq3HMdT4MWHDPAXybaomXO4Fn87Zwgg4jp49eCnlGe?=\n\t=?utf-8?q?HFZSDKmI1RSpdbWwHgOUKiW6g4SxKrT4rbx6qBbzSVfAL102kJDXnlQr?=\n\t=?utf-8?q?T34Y4cwbt1W51qP5p3MJDRA9hBYkAnnvN5se9jpzMpmZtcV8pDY0jlEy?=\n\t=?utf-8?q?0Y4A5ZnSix7zWVg8tQNYaXtBQfN/gUozveH4r6/3u/dBEuIIYrI3slq5?=\n\t=?utf-8?q?JSonktOzuVY+pESizmqf38gm8M7rL4L/HLsHAHqKW3u6z0RfxxM42lw6?=\n\t=?utf-8?q?Ol6pdZyzIVS/AYbbAGYficmLUycfWzLHNxlU2Xy3tuHGl0xUhFno5MsK?=\n\t=?utf-8?q?BD/7yy1/uSc86BX/zXNlmBeWnIGgwB+HJRdx1d8FqIzkLRB5ABHoJiFh?=\n\t=?utf-8?q?etVe4CeX1w0WeD3tDVyaEA102+5RPm+Talj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5+N48EUiH46pnD7D?=",
        "X-Forefront-Antispam-Report": "CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:;\n\tIPV:NLI; SFV:NSPM; H:GVXPR04MB9831.eurprd04.prod.outlook.com; PTR:;\n\tCAT:NONE; \n\tSFS:(13230040)(366016)(52116014)(376014)(19092799006)(1800799024)(38350700014);\n\tDIR:OUT; SFP:1101; ",
        "X-MS-Exchange-AntiSpam-MessageData-ChunkCount": "1",
        "X-MS-Exchange-AntiSpam-MessageData-0": "=?utf-8?q?tQ4xfL2G0NxOo4cF8UyzqSreC?=\n\t=?utf-8?q?h2FZYrbLZlh5DzCbuoQRLKqrFel9W/1j7fUu6X4Z//O9mCZ3Cmx6yaqg?=\n\t=?utf-8?q?ODG5WGwHYnSBD1QlumHBfsfZjpzkoRSk71ZAyJFSQ7+8Kz0pth6suzBq?=\n\t=?utf-8?q?2wRD+lq5l3BRAAFALi3c9dnWsBh+uartBBySP6ZasSHa7lJbJiX8FmUo?=\n\t=?utf-8?q?oDqOFm3OqqI9XFj/2sFV+IBJ9RsMO2giT+MoTit0R4ko2J8jmaYEuSCr?=\n\t=?utf-8?q?lY6HCryjCF6zL5KfBvA8z/7XkygrtfZeMBFk25b5HTP6wIX36maTa8KR?=\n\t=?utf-8?q?pkWd6+IzYLHGC+/4aAwiXvFzak7PnMXQv1+vDELThUZAQysTWQvRmR0+?=\n\t=?utf-8?q?7A63/IiqHs0boSQT2K4n14pxPqTkhT3jda2FL1pXFU1UdqPn0QGsNsxE?=\n\t=?utf-8?q?CFMUf8b+k43Umoz3MyBbtRAzF/GYfHqZepRn5XbFnHyB38yC1pDkpjpn?=\n\t=?utf-8?q?x4faET3R0cI0M61fb7k8vt1+NBwHluDTNwdl979hcSjzgAVCgrypNOl7?=\n\t=?utf-8?q?rzw15v9OMSVcMjW1B1f3MRXCTAdlgoiRGfZG4g5dC8dM0sXB9ugMZYBE?=\n\t=?utf-8?q?rVH3f+8PXA7cH4uT4muZi4JwlT98LZs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54HlrAyANNOKZ?=\n\t=?utf-8?q?eDyinZ4sigBY2SRKuC49D6tAkgpezjFhK51Ft2pLFPW0bNtfPZtjInm8?=\n\t=?utf-8?q?uIMNmDcMmOnwLdQVnBp3xfuhtnIN2E5wMUSUTvYNwbkPaJSRiZpqk0Cm?=\n\t=?utf-8?q?RjNCTZ61GW4/EhuHyPQAx8WBjLKmg=3D=3D?=",
        "X-OriginatorOrg": "nxp.com",
        "X-MS-Exchange-CrossTenant-Network-Message-Id": "298aca99-b8d9-4fdc-8b06-08de1ba8bb2f",
        "X-MS-Exchange-CrossTenant-AuthSource": "GVXPR04MB9831.eurprd04.prod.outlook.com",
        "X-MS-Exchange-CrossTenant-AuthAs": "Internal",
        "X-MS-Exchange-CrossTenant-OriginalArrivalTime": "04 Nov 2025 13:47:44.5637\n\t(UTC)",
        "X-MS-Exchange-CrossTenant-FromEntityHeader": "Hosted",
        "X-MS-Exchange-CrossTenant-Id": "686ea1d3-bc2b-4c6f-a92c-d99c5c301635",
        "X-MS-Exchange-CrossTenant-MailboxType": "HOSTED",
        "X-MS-Exchange-CrossTenant-UserPrincipalName": "iPy4iSAAOlq4O83uPtLWSSvtGuoRf0AtxH1VctJesD7hjR8UEysYzeGQo6mEbO5o1E6UnvgYyOsTZwjsgS/0xQ==",
        "X-MS-Exchange-Transport-CrossTenantHeadersStamped": "AM8PR04MB8020",
        "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": "From: Andrei Gansari <andrei.gansari@nxp.com>\n\nFixes behavior when calling 'cam -l' during a live stream from a camera\nin another process.\n\nIssue is that multiple process should be able to list (match procedure)\nthe camera supported. But only the unique process that lock the media\ndevices in order to be able to configure then start the pipeline should\nsetup the routes, graphs, etc.\n\nThus, the setRouting() is to be moved to a PipelineHandlerISI::acquireDevice()\nimplementation to override the default Pipeline::acquireDevice() function.\n\nFixes: 92df79112fb2 (\"pipeline: imx8-isi: Add multicamera support\")\nSigned-off-by: Andrei Gansari <andrei.gansari@nxp.com>\nSigned-off-by: Antoine Bouyer <antoine.bouyer@nxp.com>\nReviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>\nReviewed-by: Barnabás Pőcze <barnabas.pocze@ideasonboard.com>\n---\n src/libcamera/pipeline/imx8-isi/imx8-isi.cpp | 24 +++++++++++++++-----\n 1 file changed, 18 insertions(+), 6 deletions(-)",
    "diff": "diff --git a/src/libcamera/pipeline/imx8-isi/imx8-isi.cpp b/src/libcamera/pipeline/imx8-isi/imx8-isi.cpp\nindex de09431cb9b9..9550f54600c4 100644\n--- a/src/libcamera/pipeline/imx8-isi/imx8-isi.cpp\n+++ b/src/libcamera/pipeline/imx8-isi/imx8-isi.cpp\n@@ -117,6 +117,8 @@ protected:\n \n \tint queueRequestDevice(Camera *camera, Request *request) override;\n \n+\tbool acquireDevice(Camera *camera) override;\n+\n private:\n \tstatic constexpr Size kPreviewSize = { 1920, 1080 };\n \tstatic constexpr Size kMinISISize = { 1, 1 };\n@@ -143,6 +145,8 @@ private:\n \n \tstd::unique_ptr<V4L2Subdevice> crossbar_;\n \tstd::vector<Pipe> pipes_;\n+\n+\tV4L2Subdevice::Routing routing_ = {};\n };\n \n /* -----------------------------------------------------------------------------\n@@ -950,6 +954,19 @@ int PipelineHandlerISI::queueRequestDevice(Camera *camera, Request *request)\n \treturn 0;\n }\n \n+bool PipelineHandlerISI::acquireDevice([[maybe_unused]] Camera *camera)\n+{\n+\tif (useCount() > 0)\n+\t\treturn true;\n+\n+\t/* Enable routing for all available sensors once */\n+\tint ret = crossbar_->setRouting(&routing_, V4L2Subdevice::ActiveFormat);\n+\tif (ret)\n+\t\treturn false;\n+\n+\treturn true;\n+}\n+\n bool PipelineHandlerISI::match(DeviceEnumerator *enumerator)\n {\n \tDeviceMatch dm(\"mxc-isi\");\n@@ -1034,7 +1051,6 @@ bool PipelineHandlerISI::match(DeviceEnumerator *enumerator)\n \tunsigned int numSinks = 0;\n \tconst unsigned int xbarFirstSource = crossbar_->entity()->pads().size() - pipes_.size();\n \tconst unsigned int maxStreams = pipes_.size() / cameraCount;\n-\tV4L2Subdevice::Routing routing = {};\n \n \tfor (MediaPad *pad : crossbar_->entity()->pads()) {\n \t\tunsigned int sink = numSinks;\n@@ -1104,7 +1120,7 @@ bool PipelineHandlerISI::match(DeviceEnumerator *enumerator)\n \t\t/*  Add routes to the crossbar switch routing table. */\n \t\tfor (unsigned i = 0; i < data->streams_.size(); i++) {\n \t\t\tunsigned int sourcePad = xbarFirstSource + data->xbarSourceOffset_ + i;\n-\t\t\trouting.emplace_back(V4L2Subdevice::Stream{ data->xbarSink_, 0 },\n+\t\t\trouting_.emplace_back(V4L2Subdevice::Stream{ data->xbarSink_, 0 },\n \t\t\t\t\t     V4L2Subdevice::Stream{ sourcePad, 0 },\n \t\t\t\t\t     V4L2_SUBDEV_ROUTE_FL_ACTIVE);\n \t\t}\n@@ -1116,10 +1132,6 @@ bool PipelineHandlerISI::match(DeviceEnumerator *enumerator)\n \t\tnumCameras++;\n \t}\n \n-\tret = crossbar_->setRouting(&routing, V4L2Subdevice::ActiveFormat);\n-\tif (ret)\n-\t\treturn false;\n-\n \treturn numCameras > 0;\n }\n \n",
    "prefixes": [
        "v6",
        "2/2"
    ]
}