Show a patch.

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

{
    "id": 26673,
    "url": "https://patchwork.libcamera.org/api/patches/26673/?format=api",
    "web_url": "https://patchwork.libcamera.org/patch/26673/",
    "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": "<20260507125458.12140-3-david.plowman@raspberrypi.com>",
    "date": "2026-05-07T12:20:35",
    "name": "[v4,2/3] controls: rpi: Add ControlListSequence control",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "9f9eea25b45e7ee4a7e8b04110c3a1855fc39e61",
    "submitter": {
        "id": 42,
        "url": "https://patchwork.libcamera.org/api/people/42/?format=api",
        "name": "David Plowman",
        "email": "david.plowman@raspberrypi.com"
    },
    "delegate": null,
    "mbox": "https://patchwork.libcamera.org/patch/26673/mbox/",
    "series": [
        {
            "id": 5917,
            "url": "https://patchwork.libcamera.org/api/series/5917/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=5917",
            "date": "2026-05-07T12:20:33",
            "name": "Atomic control lists on Raspberry Pi",
            "version": 4,
            "mbox": "https://patchwork.libcamera.org/series/5917/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/patches/26673/comments/",
    "check": "pending",
    "checks": "https://patchwork.libcamera.org/api/patches/26673/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 068FAC32F7\n\tfor <parsemail@patchwork.libcamera.org>;\n\tThu,  7 May 2026 12:55:09 +0000 (UTC)",
            "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 3DC436302A;\n\tThu,  7 May 2026 14:55:07 +0200 (CEST)",
            "from mail-wm1-x333.google.com (mail-wm1-x333.google.com\n\t[IPv6:2a00:1450:4864:20::333])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 7F2BB62010\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tThu,  7 May 2026 14:55:03 +0200 (CEST)",
            "by mail-wm1-x333.google.com with SMTP id\n\t5b1f17b1804b1-4891e86fabeso10150655e9.1\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tThu, 07 May 2026 05:55:03 -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\tffacd0b85a97d-450524833e1sm20396324f8f.2.2026.05.07.05.55.02\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tThu, 07 May 2026 05:55:02 -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=\"uAJJ707M\"; dkim-atps=neutral",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=raspberrypi.com; s=google; t=1778158503; x=1778763303;\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=pgXLv83AtQy9mcAhCAUWdtflQBi69OvwGZ4unH4a9kc=;\n\tb=uAJJ707MHSZvsmnRWAnvGGmH6oHEgj6v5J2R8JwR8cCR3eHqdv62Jt7OQDQ8YBKng4\n\twpMMyrtRPf4VsVxLNkM/uH8xXA7ilxQk3Q6G2OorV8Cd1DoAGVlkVfBxLTOa7rtCwJtC\n\tfAOLhl2M0ZsvHJko6bsdz/It6xT8Tvn0iWSTlLZYJ+FduuoaoqlJhhLHu0U/u92pDVlW\n\tV39jjhNTf2JvCIQH37ndlbjvu2elKZ0jXi6d8TKVEDSLXc3uVgUH3tuQI8Xr0HXhdk7I\n\tPdGsN60HzeMkqQVfOpq/8JxRPSaNYKE+3KqAaVj83K4KYKbn9M+lWr+hzu0ko1vqwy/a\n\tUuzg==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20251104; t=1778158503; x=1778763303;\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=pgXLv83AtQy9mcAhCAUWdtflQBi69OvwGZ4unH4a9kc=;\n\tb=gfmKZiTCP+llwwBxubKUky3RJ1XliGAG4MZeG5BaWbhwufb6tgX0A0ghOVwSkYIhjl\n\tX8sr69X73vlT6L1bMwD9GzNHsQqLUS7jWtWZ+2VBpQqIrwkJEsYSMLg/ZEKWHvRalql2\n\try4/1ShiIrTrru6oEPep3TKvNAiS80KgKskgVG3nZuoKWsDtjIqH5AzwU6Ss4J2zrO3l\n\tUJ0E7g1pixqs8iUkpcE6Qr2EqXLnEZWHKrZhv6t2jCglco2/WuUOHlroP8tlCpSn3i7G\n\tZxOu4B0IWRdzgSu0maEm4cm5FokIjUm4g+J0jlb4RgfWU6Zm0FbNi559gHfQgQWoCkmn\n\tcZeg==",
        "X-Gm-Message-State": "AOJu0YxSkWxO6h8GUp9OZHE8fyHYGznGCO74iUGknpOpdWcSAQtKmeMh\n\tV/CPBx+g/tfVfYmGnGfCl2hitY2EX/8x68wOieesLco4HmehI384lGoz5lc8oDXJhSZAKlcT+ZP\n\tdfepI",
        "X-Gm-Gg": "AeBDietQy8kMjHb/xDpH5WxxLRLe9aWnG2p4rq9kMWVy9RqFLvvb4OU5AAQvIVnvXFP\n\t5UQcoRBrb2z6glO2szp2KXj2471z9IPIaszAMwAayb3cl5X5zVKUJXtBN3Awcob0dbw0nJpewu0\n\tYWYK8pfI4AqzEwXH4TSKVk7nZQQ3CLnBjz3KQJ5Ra0l+at6KSR86V1HTX2825Mp9vaiYu5TFRXm\n\tozCSfNk6koYhdA+YNNKTwIa6kSjKA3kkjMiGwD3FjrDyHwV95jAi2vdZwqB5LpE7Tt310Nk25q0\n\tP1vbfRsw7/eqzDTr0N7QdtiN1pg4YVh7eaLr4oLzIG43P+djQ0pBuDcqcBAPn09D31l3JbGBhjY\n\tt/OnY/mamrPmgoxn32wFjuJNPhQOqYjFhqVMZjw/C+3tOIwl/bjTvItG7oF0ZsORvETddoMETPe\n\tK972JZ2AxcfaznRGoEvBLE7x6dFL8hTZyJYnFLozphD4lAvdxYy+QHcksvWdp1RfR5w/ivHYuC5\n\tqN7oyATwqX+KYxwxene0ihoQ5AnvX01KcDd+2KmsjX6MTlDfnuH",
        "X-Received": "by 2002:a05:600c:4f51:b0:48d:1a94:56c with SMTP id\n\t5b1f17b1804b1-48e51f3054cmr139309425e9.18.1778158502475; \n\tThu, 07 May 2026 05:55:02 -0700 (PDT)",
        "From": "David Plowman <david.plowman@raspberrypi.com>",
        "To": "libcamera-devel@lists.libcamera.org",
        "Cc": "David Plowman <david.plowman@raspberrypi.com>,\n\tNaushir Patuck <naush@raspberrypi.com>,\n\tJacopo Mondi <jacopo.mondi@ideasonboard.com>",
        "Subject": "[PATCH v4 2/3] controls: rpi: Add ControlListSequence control",
        "Date": "Thu,  7 May 2026 13:20:35 +0100",
        "Message-ID": "<20260507125458.12140-3-david.plowman@raspberrypi.com>",
        "X-Mailer": "git-send-email 2.47.3",
        "In-Reply-To": "<20260507125458.12140-1-david.plowman@raspberrypi.com>",
        "References": "<20260507125458.12140-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 ControlListSequence identifies the sequence number of the request\nwhose controls have been applied to the images in this request for the\nfirst time.\n\nSigned-off-by: David Plowman <david.plowman@raspberrypi.com>\nReviewed-by: Naushir Patuck <naush@raspberrypi.com>\nReviewed-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>\n---\n src/libcamera/control_ids_rpi.yaml | 9 +++++++++\n 1 file changed, 9 insertions(+)",
    "diff": "diff --git a/src/libcamera/control_ids_rpi.yaml b/src/libcamera/control_ids_rpi.yaml\nindex a8615112..0b7da5b2 100644\n--- a/src/libcamera/control_ids_rpi.yaml\n+++ b/src/libcamera/control_ids_rpi.yaml\n@@ -183,4 +183,13 @@ controls:\n         \\sa SyncMode\n         \\sa SyncReady\n         \\sa SyncTimer\n+\n+  - ControlListSequence:\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",
    "prefixes": [
        "v4",
        "2/3"
    ]
}