Show a patch.

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

{
    "id": 26325,
    "url": "https://patchwork.libcamera.org/api/1.1/patches/26325/?format=api",
    "web_url": "https://patchwork.libcamera.org/patch/26325/",
    "project": {
        "id": 1,
        "url": "https://patchwork.libcamera.org/api/1.1/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": "<20260324151714.3345-3-david.plowman@raspberrypi.com>",
    "date": "2026-03-24T14:32:08",
    "name": "[v1,2/3] controls: rpi: Add ControlId control",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "f04b257fb3b1b0e981523677ea796a70bae879c3",
    "submitter": {
        "id": 42,
        "url": "https://patchwork.libcamera.org/api/1.1/people/42/?format=api",
        "name": "David Plowman",
        "email": "david.plowman@raspberrypi.com"
    },
    "delegate": null,
    "mbox": "https://patchwork.libcamera.org/patch/26325/mbox/",
    "series": [
        {
            "id": 5842,
            "url": "https://patchwork.libcamera.org/api/1.1/series/5842/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=5842",
            "date": "2026-03-24T14:32:06",
            "name": "Atomic control lists on Raspberry Pi",
            "version": 1,
            "mbox": "https://patchwork.libcamera.org/series/5842/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/patches/26325/comments/",
    "check": "pending",
    "checks": "https://patchwork.libcamera.org/api/patches/26325/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 03421C32F5\n\tfor <parsemail@patchwork.libcamera.org>;\n\tTue, 24 Mar 2026 15:17:23 +0000 (UTC)",
            "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 87270627A0;\n\tTue, 24 Mar 2026 16:17:23 +0100 (CET)",
            "from mail-wm1-x334.google.com (mail-wm1-x334.google.com\n\t[IPv6:2a00:1450:4864:20::334])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 73ACC62780\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tTue, 24 Mar 2026 16:17:19 +0100 (CET)",
            "by mail-wm1-x334.google.com with SMTP id\n\t5b1f17b1804b1-486fba7ce4cso13677965e9.3\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tTue, 24 Mar 2026 08:17:19 -0700 (PDT)",
            "from davidp-pi5.pitowers.org\n\t([2a00:1098:3142:1f:88ea:c658:5b20:5e46])\n\tby smtp.gmail.com with ESMTPSA id\n\t5b1f17b1804b1-487116c44bfsm63826065e9.9.2026.03.24.08.17.18\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tTue, 24 Mar 2026 08:17:18 -0700 (PDT)"
        ],
        "Authentication-Results": "lancelot.ideasonboard.com; dkim=pass (2048-bit key;\n\tunprotected) header.d=raspberrypi.com header.i=@raspberrypi.com\n\theader.b=\"V0LR71ar\"; dkim-atps=neutral",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=raspberrypi.com; s=google; t=1774365439; x=1774970239;\n\tdarn=lists.libcamera.org; \n\th=content-transfer-encoding:mime-version:references:in-reply-to\n\t:message-id:date:subject:cc:to:from:from:to:cc:subject:date\n\t:message-id:reply-to;\n\tbh=jwfTXc4D3DydDsUGThxajQYHqBUHYtIuWTR29C53rJU=;\n\tb=V0LR71arB+C1l0SyAMCfURTEyYqZ2OP9Tp/3YQrTO3ztb0cmfwygmhi7fVsG8g3Us9\n\t6oGoJuYhrY7oQTymCxH9VSCefPoy8xm3jFPcN9rbmlexLHsnnYi5TpZFOjUxMrMuQHR3\n\tYuZHWRMLdq76j4FXzp7p7F6lNK145scACfMMbhk+PmbQuXxBI3Xp8qgQazFcKj8jfRYg\n\tP0/dZ9vPVLy5bvw5+Dg6tdiNix9BRcN+c4rLc/cevjo7IRzK6yoFnxCa8duXTNwYhY39\n\tPHp1VtcBmYN/ailJo/q38ygB5GVZ4dQpktXKuki+wgGEiuAatjw7ExLF7F5SAbl73DY7\n\t3+uQ==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20251104; t=1774365439; x=1774970239;\n\th=content-transfer-encoding:mime-version:references:in-reply-to\n\t:message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from\n\t:to:cc:subject:date:message-id:reply-to;\n\tbh=jwfTXc4D3DydDsUGThxajQYHqBUHYtIuWTR29C53rJU=;\n\tb=ZqYtMxtAmeQs50IW47h7fuL9NgTen3vPvmsg48VMpRh2pR7v42L1NuPs0K6PcYMyss\n\tyWcIBtjQHx9srEGnjgRQrdTAQt9Kcd8+EWpLKyqdok3wpkxSOdB2AGub88MWA8FDVbed\n\tXBg2W/upIRlmtBAstIhJRWuwEsnOiyUCXSxuQAdGNzX8VDqoqzckRSJPi0FjjT4aNX4f\n\t7FvX1yDSxsA61coMSCh1J3WFsncBKTHXvPFseBnPB8l83AtUOfPmGHbyLBhratbzKxmA\n\t3kNGcnFOFEtzm4Co+h3N4njWcAkZdN0Zul8TU+dLutbM/RAKoEkPVP1xKSOXDnyjHzW0\n\t/eUg==",
        "X-Gm-Message-State": "AOJu0YzRj1kboLUPyqn4lroEq9AxXdJzSGYzj/8Wiqon99THcTdk8cVa\n\toIuhhCBFCfeCXMdcShrvOFQmucHe9x4iIdrhLK9V4eOXNzivp12WKfR1/39KJNbNqwONv8qqGMh\n\tqPNQN",
        "X-Gm-Gg": "ATEYQzzbcfDRFu83DzaenWERmadEbHNq/jws35l/0Zze7FOG9m27bU/G5shx5WQWVt2\n\tYKIGzLc/jI3JnqxNuB1Iyx4/sQwvVhew9Ob7Am8MABRxkX20qGbxrdWMML6uvkfT8lx1HAdC5ia\n\tst420DXnVSjEmRg+MrEG9ZlT9qBYBPJLBnLCchjXunDjEFe10DiFIbLl0EHdzvv6fUIMgfsOuP0\n\tpIcmDg5qTPz/QVC8+G4868Xq9oBZCOr69R8GRobwNH62hjVYTj6tAmsYDfdaYPENuEFDnvETwxI\n\tNwm4BvKrR95RCNkoNBa3BCgY4I197xvcTSUUmOD3FMfRusUNo1/H/MoKty/h/YhOKHMoSHxU8Jw\n\tGofldFn/EP1XaXQy/5AO9nt9reeatywHFmpev/71oklQ7edE++qmQPM3g4EI+On7wX2ZRpEImri\n\t2+DJxAlXlp8biu4eEpnkNhEdyg549BHS/RGIO5x/RA1qNpw24Cd1LhhUQ0FxDQ7/3RgBFXVE7na\n\twaIQZgb0XweAALqx5ekVU45GRtayV95zCmozGTB/A==",
        "X-Received": "by 2002:a05:600c:a0a:b0:487:288:1198 with SMTP id\n\t5b1f17b1804b1-4871605ce9fmr2193705e9.22.1774365438597; \n\tTue, 24 Mar 2026 08:17:18 -0700 (PDT)",
        "From": "David Plowman <david.plowman@raspberrypi.com>",
        "To": "libcamera-devel@lists.libcamera.org",
        "Cc": "David Plowman <david.plowman@raspberrypi.com>",
        "Subject": "[PATCH v1 2/3] controls: rpi: Add ControlId control",
        "Date": "Tue, 24 Mar 2026 14:32:08 +0000",
        "Message-ID": "<20260324151714.3345-3-david.plowman@raspberrypi.com>",
        "X-Mailer": "git-send-email 2.47.3",
        "In-Reply-To": "<20260324151714.3345-1-david.plowman@raspberrypi.com>",
        "References": "<20260324151714.3345-1-david.plowman@raspberrypi.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "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": "The ControlId identifies the sequence number of the request whose\ncontrols have been applied to the images in this request for the first\ntime.\n\nSigned-off-by: David Plowman <david.plowman@raspberrypi.com>\n---\n src/libcamera/control_ids_rpi.yaml | 10 ++++++++++\n 1 file changed, 10 insertions(+)",
    "diff": "diff --git a/src/libcamera/control_ids_rpi.yaml b/src/libcamera/control_ids_rpi.yaml\nindex a8615112..aca023d7 100644\n--- a/src/libcamera/control_ids_rpi.yaml\n+++ b/src/libcamera/control_ids_rpi.yaml\n@@ -183,4 +183,14 @@ controls:\n         \\sa SyncMode\n         \\sa SyncReady\n         \\sa SyncTimer\n+\n+  - ControlId:\n+      type: int64_t\n+      direction: out\n+      description: |\n+        This is the sequence number of the request whose control list has\n+        just been applied. Controls normally take several frames to apply,\n+        so the number here will refer to a request submitted a number of\n+        frames earlier.\n+\n ...\n",
    "prefixes": [
        "v1",
        "2/3"
    ]
}