From patchwork Thu May 7 12:20:35 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Plowman X-Patchwork-Id: 26673 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 068FAC32F7 for ; Thu, 7 May 2026 12:55:09 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 3DC436302A; Thu, 7 May 2026 14:55:07 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (2048-bit key; unprotected) header.d=raspberrypi.com header.i=@raspberrypi.com header.b="uAJJ707M"; 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 7F2BB62010 for ; Thu, 7 May 2026 14:55:03 +0200 (CEST) Received: by mail-wm1-x333.google.com with SMTP id 5b1f17b1804b1-4891e86fabeso10150655e9.1 for ; Thu, 07 May 2026 05:55:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raspberrypi.com; s=google; t=1778158503; x=1778763303; 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=pgXLv83AtQy9mcAhCAUWdtflQBi69OvwGZ4unH4a9kc=; b=uAJJ707MHSZvsmnRWAnvGGmH6oHEgj6v5J2R8JwR8cCR3eHqdv62Jt7OQDQ8YBKng4 wpMMyrtRPf4VsVxLNkM/uH8xXA7ilxQk3Q6G2OorV8Cd1DoAGVlkVfBxLTOa7rtCwJtC fAOLhl2M0ZsvHJko6bsdz/It6xT8Tvn0iWSTlLZYJ+FduuoaoqlJhhLHu0U/u92pDVlW V39jjhNTf2JvCIQH37ndlbjvu2elKZ0jXi6d8TKVEDSLXc3uVgUH3tuQI8Xr0HXhdk7I PdGsN60HzeMkqQVfOpq/8JxRPSaNYKE+3KqAaVj83K4KYKbn9M+lWr+hzu0ko1vqwy/a Uuzg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1778158503; x=1778763303; 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=pgXLv83AtQy9mcAhCAUWdtflQBi69OvwGZ4unH4a9kc=; b=gfmKZiTCP+llwwBxubKUky3RJ1XliGAG4MZeG5BaWbhwufb6tgX0A0ghOVwSkYIhjl X8sr69X73vlT6L1bMwD9GzNHsQqLUS7jWtWZ+2VBpQqIrwkJEsYSMLg/ZEKWHvRalql2 ry4/1ShiIrTrru6oEPep3TKvNAiS80KgKskgVG3nZuoKWsDtjIqH5AzwU6Ss4J2zrO3l UJ0E7g1pixqs8iUkpcE6Qr2EqXLnEZWHKrZhv6t2jCglco2/WuUOHlroP8tlCpSn3i7G ZxOu4B0IWRdzgSu0maEm4cm5FokIjUm4g+J0jlb4RgfWU6Zm0FbNi559gHfQgQWoCkmn cZeg== X-Gm-Message-State: AOJu0YxSkWxO6h8GUp9OZHE8fyHYGznGCO74iUGknpOpdWcSAQtKmeMh V/CPBx+g/tfVfYmGnGfCl2hitY2EX/8x68wOieesLco4HmehI384lGoz5lc8oDXJhSZAKlcT+ZP dfepI X-Gm-Gg: AeBDietQy8kMjHb/xDpH5WxxLRLe9aWnG2p4rq9kMWVy9RqFLvvb4OU5AAQvIVnvXFP 5UQcoRBrb2z6glO2szp2KXj2471z9IPIaszAMwAayb3cl5X5zVKUJXtBN3Awcob0dbw0nJpewu0 YWYK8pfI4AqzEwXH4TSKVk7nZQQ3CLnBjz3KQJ5Ra0l+at6KSR86V1HTX2825Mp9vaiYu5TFRXm ozCSfNk6koYhdA+YNNKTwIa6kSjKA3kkjMiGwD3FjrDyHwV95jAi2vdZwqB5LpE7Tt310Nk25q0 P1vbfRsw7/eqzDTr0N7QdtiN1pg4YVh7eaLr4oLzIG43P+djQ0pBuDcqcBAPn09D31l3JbGBhjY t/OnY/mamrPmgoxn32wFjuJNPhQOqYjFhqVMZjw/C+3tOIwl/bjTvItG7oF0ZsORvETddoMETPe K972JZ2AxcfaznRGoEvBLE7x6dFL8hTZyJYnFLozphD4lAvdxYy+QHcksvWdp1RfR5w/ivHYuC5 qN7oyATwqX+KYxwxene0ihoQ5AnvX01KcDd+2KmsjX6MTlDfnuH X-Received: by 2002:a05:600c:4f51:b0:48d:1a94:56c with SMTP id 5b1f17b1804b1-48e51f3054cmr139309425e9.18.1778158502475; Thu, 07 May 2026 05:55:02 -0700 (PDT) Received: from davidp-pi5.pitowers.org ([2a00:1098:3142:1f:88ea:c658:5b20:5e46]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-450524833e1sm20396324f8f.2.2026.05.07.05.55.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 May 2026 05:55:02 -0700 (PDT) From: David Plowman To: libcamera-devel@lists.libcamera.org Cc: David Plowman , Naushir Patuck , Jacopo Mondi 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 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 Reviewed-by: Naushir Patuck Reviewed-by: Jacopo Mondi --- 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. ...