{"id":26692,"url":"https://patchwork.libcamera.org/api/patches/26692/?format=json","web_url":"https://patchwork.libcamera.org/patch/26692/","project":{"id":1,"url":"https://patchwork.libcamera.org/api/projects/1/?format=json","name":"libcamera","link_name":"libcamera","list_id":"libcamera_core","list_email":"libcamera-devel@lists.libcamera.org","web_url":"","scm_url":"","webscm_url":""},"msgid":"<20260508130804.8238-3-david.plowman@raspberrypi.com>","date":"2026-05-08T12:57:42","name":"[v5,2/3] controls: rpi: Add ControlListSequence control","commit_ref":null,"pull_url":null,"state":"accepted","archived":false,"hash":"9f9eea25b45e7ee4a7e8b04110c3a1855fc39e61","submitter":{"id":42,"url":"https://patchwork.libcamera.org/api/people/42/?format=json","name":"David Plowman","email":"david.plowman@raspberrypi.com"},"delegate":null,"mbox":"https://patchwork.libcamera.org/patch/26692/mbox/","series":[{"id":5924,"url":"https://patchwork.libcamera.org/api/series/5924/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=5924","date":"2026-05-08T12:57:40","name":"Atomic control lists on Raspberry Pi","version":5,"mbox":"https://patchwork.libcamera.org/series/5924/mbox/"}],"comments":"https://patchwork.libcamera.org/api/patches/26692/comments/","check":"pending","checks":"https://patchwork.libcamera.org/api/patches/26692/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 1B514BDCBD\n\tfor <parsemail@patchwork.libcamera.org>;\n\tFri,  8 May 2026 13:08:13 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 947CB63025;\n\tFri,  8 May 2026 15:08:10 +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 2C91362FD3\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tFri,  8 May 2026 15:08:08 +0200 (CEST)","by mail-wm1-x333.google.com with SMTP id\n\t5b1f17b1804b1-48a563e4ef7so18483765e9.0\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tFri, 08 May 2026 06:08:08 -0700 (PDT)","from localhost.localdomain ([2a06:61c0:f337:0:9c1f:b517:931a:3b19])\n\tby smtp.gmail.com with ESMTPSA id\n\t5b1f17b1804b1-48e68f5d9b5sm34044905e9.15.2026.05.08.06.08.07\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tFri, 08 May 2026 06:08:07 -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=\"k6PGXuw7\"; dkim-atps=neutral","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=raspberrypi.com; s=google; t=1778245687; x=1778850487;\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=k6PGXuw7Q6oJ7L3LQB83+4yxyT1/Ek7oyl0N0F7pB87WnWmBvhxtbB9A4t2uwlVp0O\n\tQHDFqbNzJS7ZQ/6Jpeyugvq9VLCojb8GVLJYOmajloVnpxda2S2uz1IAIRrmmjvEqgp+\n\tb0Iiwy1MV9WJ32SSug2nCe5ibHXHcmBexmuXq9ZlfG40AnbYhFU0GBJcFovJcxZ7Wwcp\n\tJoSmoEn/h25VnvitVaZyheIvYvp3OmAtJW4d+0+rGg6JoEoaXIHlZEB/nxaWKjOkGF1r\n\tCdEehBvivdZkpUoMupuk5/57a99APAtB2YJRq/8pX67gGHwBCe39ehuPq5oGiKMbQ9KO\n\tE1Aw==","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20251104; t=1778245687; x=1778850487;\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=ZaEobsc0hRkKuXusK91T1TaBs5g3iV5pxO2UDYB3t/4NmSpvP1pyHtJGsJhhGN4RUi\n\tw9xqY30Z9OlkpbNKkV0EEH5GlEeUrR4QG0a/FaTEN9syr/zr3t26kYmtvmpxApLIjVmS\n\t/q1Y5PdukmkpUdt+WH4FFBDjJocjh7UlwsM6IOMPwWfsIlcL8GBYKFn0J6BjfhX0VNNr\n\tqnWWu7odV2DEBqb4m8QuPPTUVc7I2KvVhFkYJRumN4rmF1DYYdKcqkQzboRQ1UPPURlU\n\tDhRnEjzpiANIjczr1L+kJdH6Zdmk8g1wVoLWf0/07TLWan5JNLC4JvPhgHrEB5s2ckqI\n\tu9aA==","X-Gm-Message-State":"AOJu0Yxu0lwlUhuMvb6S1NQcvvRHouGbu+TadMojSFPIKAIdma/BRtNX\n\tgMOP3v4FFf+20GeE0S18ZnLxRD2Rb6drdwdfFHjC409UYGIjDOE9tU93vpMeoUxFKUU3PAfO47u\n\tIRa0c","X-Gm-Gg":"AeBDietElbDQlu5NQQJsu0Qnc8RuGZBlVAxMeDC3W4geYOYS6NAN/Mqs1caQav0k4GC\n\tj7/DBwNxtp34rHqM9tScArN0G5HFpXpkItBqNJrjJYAd1W4aWMQKscX2jQIaY6jCVR2CIe4JPDV\n\tVzJWmihdBfJ1XMKtYGSmUD+1vyl1nHVwJZNRu+96lUPTdwOKbppzYiEP7YpCZkoDZGeglqho2F+\n\txNBW57EsjaWSpkkjJ1hTfJqDLjN3bE/XJTerH568we7ZXQ5o7PfY0pC3bx8CgxLuJx1W5S3khVM\n\t6hWmMeCVP4VcXZRq8Q83QBhYrdIgsxHwXDzP6MCWsTjda/dbbNpRQCgQQ8lAU2z7Bgvmw3Vj9tn\n\tovwe+ckXcZzjDPvxWYQJLZeI2ZH93WiW2DO52NU61olnRWdhFFw4vb4T8scMSGNrROB/ZKWOU8H\n\tUTJUGRvIUdjQxR1YsTeYgg/hU7RhCyfox64qTfiMbU/oH8bNq8rGhZIDkVP593BVmrCv30FWV3/\n\tbjK47zr+KHw3upFBSBPdlZII7MSZRPK5mWnZQ==","X-Received":"by 2002:a05:600c:4a13:b0:48d:35e:849d with SMTP id\n\t5b1f17b1804b1-48e51e097d4mr122547485e9.6.1778245687403; \n\tFri, 08 May 2026 06:08:07 -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 v5 2/3] controls: rpi: Add ControlListSequence control","Date":"Fri,  8 May 2026 13:57:42 +0100","Message-ID":"<20260508130804.8238-3-david.plowman@raspberrypi.com>","X-Mailer":"git-send-email 2.47.3","In-Reply-To":"<20260508130804.8238-1-david.plowman@raspberrypi.com>","References":"<20260508130804.8238-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":["v5","2/3"]}