From patchwork Tue Apr 28 13:26:38 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Plowman X-Patchwork-Id: 26586 Return-Path: X-Original-To: parsemail@patchwork.libcamera.org Delivered-To: parsemail@patchwork.libcamera.org Received: from lancelot.ideasonboard.com (lancelot.ideasonboard.com [92.243.16.209]) by patchwork.libcamera.org (Postfix) with ESMTPS id 3CC60BE173 for ; Tue, 28 Apr 2026 13:40:05 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 2E3CB62FDF; Tue, 28 Apr 2026 15:40:02 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (2048-bit key; unprotected) header.d=raspberrypi.com header.i=@raspberrypi.com header.b="LwpKAOC9"; dkim-atps=neutral Received: from mail-wm1-x333.google.com (mail-wm1-x333.google.com [IPv6:2a00:1450:4864:20::333]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id B128F62FA9 for ; Tue, 28 Apr 2026 15:39:58 +0200 (CEST) Received: by mail-wm1-x333.google.com with SMTP id 5b1f17b1804b1-488d2079582so135150905e9.2 for ; Tue, 28 Apr 2026 06:39:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raspberrypi.com; s=google; t=1777383598; x=1777988398; darn=lists.libcamera.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=ULQqqLF7O9qdYvQtiTM8U6/kpEm2D3bxw7VXrv1kcKQ=; b=LwpKAOC9P6HEoAVPK4VpZP9IFoGcbVxqMXvU2DsFglJS+re04T8JUoq9S5x3d6TlP4 AGMGMiyx5kyrmnhU24UT9A3+q4+XJjt/8qWKhALGiRsTUh+Pt23ZDqIi7V6q40bRA/yB t5CDXYQ93F518yvqlSF+PXepyjKnMG9qvYXPlDo2F4O/N40N8RRgMXIwTykhjwNpqLgo Q40LRNYjcRdBFOfJo+bAWWOpzfVdlmVkjxXeweXXJJCuSxV9kuqjM9H30MD/zV/NaVrq utH3YynhGfiDco6rY6w6SJGuCv0JS+o3kUJAKIXRGJRNnKp+t1B9duGYOYMHB1RqiKTT q5Bg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1777383598; x=1777988398; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=ULQqqLF7O9qdYvQtiTM8U6/kpEm2D3bxw7VXrv1kcKQ=; b=Jtjs7+xGPBAh2YWluf4m8ZXE0zHAUd1jyOXjU9oUq4Jmpia5SM6HrFG7J2YDJ4WaZf 79QDp+CyyLoYIP6pHyquJGJbtL36XNqBdm8zTM1Ak3L1AJmctO9m100TXmdCleLzMp8n F2AHzooJHR8xn5snMGqGdoat+YPWwuVRIW1uo0N/VhM3JXvrLRsAMnb1bIropxoKaC+o xXj+kYpmXXG2fikSM3Ddmxlw8DPVNyB9Z2KubZCyhJzV98H5t4iFvOKin+3KLS6BecCD T5Gbbcn/qe4flK38Xh/CXsggwkZq5P5vHD4EUrotBAriF7WVOU5WKGonJUVDn1oGPZhg 65jw== X-Gm-Message-State: AOJu0YyFN4DKIkXGOuLliC32ieTK7F1aoMyouR/7OzNM87ozjAfZeOOu xC8fXeMO5xIwXy0sGH+S6qidnWsmOHXywYwLI6s0y/n/psujsC3VcIF3H4OTtxsbB1BQR97t5W0 HfqdZ X-Gm-Gg: AeBDiesYVOEnZIA9izQOznov4teuiKVMI3wUoPEfes1frWk5yEUJKQ6WjPwvr1D4VHN 1mNnIjMUZH3pnj/nZYnIE2DduUO1qT1TZ7cTcdo/TBKEqNgU7mE/s+T1T543E4lJ8TVgJ1CC/8N Aa+ryE1LmTWhNr3iTkrdsdYq5Y+QWX+7pM1pn5xmR6hLoLrRq+3FkZvrh7hhr3LxvC0gu5wfJMJ /GksUiuGF6JK0mZHQJwvtTiB1ocvaj5xDrjzS/KPs3oKQv3eIZyWP7E1LMp99GE2ru91cdwweNi s38NVHw61vlSVDFOQz+apuFelUQKG0HTyKxgdcxx9tPTgs1+oX6McUeYr2qbT0CV6PSj/igUiES OR+RNyb62Ra/e1VMNTwPjb3puZx788LnXasSrks5DryBTeKg14ALVHVje3hmExavILVrptYhxDX EajSZIPBxvWj1aaysevJgyZJOilwkFB+dr136UMaBh7vR4UuF539xeGChkwQpRKg8g6hq26E4rR FlYgsbW2VckyDaKAm7HNPc+cx6VuC8lCJpXN9KbrQJ3m3ngv1qA X-Received: by 2002:a05:600c:4fc1:b0:486:fba7:b150 with SMTP id 5b1f17b1804b1-48a77b1b2d9mr52273905e9.15.1777383597902; Tue, 28 Apr 2026 06:39:57 -0700 (PDT) Received: from davidp-pi5.pitowers.org ([2a00:1098:3142:1f:88ea:c658:5b20:5e46]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-48a77c24ca0sm51374525e9.14.2026.04.28.06.39.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Apr 2026 06:39:57 -0700 (PDT) From: David Plowman To: libcamera-devel@lists.libcamera.org Cc: David Plowman Subject: [PATCH v3 2/3] controls: rpi: Add ControlListSequence control Date: Tue, 28 Apr 2026 14:26:38 +0100 Message-ID: <20260428133952.6582-3-david.plowman@raspberrypi.com> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20260428133952.6582-1-david.plowman@raspberrypi.com> References: <20260428133952.6582-1-david.plowman@raspberrypi.com> MIME-Version: 1.0 X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" The ControlListSequence identifies the sequence number of the request whose controls have been applied to the images in this request for the first time. Signed-off-by: David Plowman --- src/libcamera/control_ids_rpi.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/libcamera/control_ids_rpi.yaml b/src/libcamera/control_ids_rpi.yaml index a8615112..0b7da5b2 100644 --- a/src/libcamera/control_ids_rpi.yaml +++ b/src/libcamera/control_ids_rpi.yaml @@ -183,4 +183,13 @@ controls: \sa SyncMode \sa SyncReady \sa SyncTimer + + - ControlListSequence: + type: int64_t + direction: out + description: | + This is the sequence number of the request whose control list has + just been applied. Controls normally take several frames to apply, + so the number here will refer to a request submitted a number of + frames earlier. ...