From patchwork Tue Mar 24 14:32:08 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Plowman X-Patchwork-Id: 26325 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 03421C32F5 for ; Tue, 24 Mar 2026 15:17:23 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 87270627A0; Tue, 24 Mar 2026 16:17:23 +0100 (CET) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (2048-bit key; unprotected) header.d=raspberrypi.com header.i=@raspberrypi.com header.b="V0LR71ar"; dkim-atps=neutral Received: from mail-wm1-x334.google.com (mail-wm1-x334.google.com [IPv6:2a00:1450:4864:20::334]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 73ACC62780 for ; Tue, 24 Mar 2026 16:17:19 +0100 (CET) Received: by mail-wm1-x334.google.com with SMTP id 5b1f17b1804b1-486fba7ce4cso13677965e9.3 for ; Tue, 24 Mar 2026 08:17:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raspberrypi.com; s=google; t=1774365439; x=1774970239; 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=jwfTXc4D3DydDsUGThxajQYHqBUHYtIuWTR29C53rJU=; b=V0LR71arB+C1l0SyAMCfURTEyYqZ2OP9Tp/3YQrTO3ztb0cmfwygmhi7fVsG8g3Us9 6oGoJuYhrY7oQTymCxH9VSCefPoy8xm3jFPcN9rbmlexLHsnnYi5TpZFOjUxMrMuQHR3 YuZHWRMLdq76j4FXzp7p7F6lNK145scACfMMbhk+PmbQuXxBI3Xp8qgQazFcKj8jfRYg P0/dZ9vPVLy5bvw5+Dg6tdiNix9BRcN+c4rLc/cevjo7IRzK6yoFnxCa8duXTNwYhY39 PHp1VtcBmYN/ailJo/q38ygB5GVZ4dQpktXKuki+wgGEiuAatjw7ExLF7F5SAbl73DY7 3+uQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1774365439; x=1774970239; 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=jwfTXc4D3DydDsUGThxajQYHqBUHYtIuWTR29C53rJU=; b=ZqYtMxtAmeQs50IW47h7fuL9NgTen3vPvmsg48VMpRh2pR7v42L1NuPs0K6PcYMyss yWcIBtjQHx9srEGnjgRQrdTAQt9Kcd8+EWpLKyqdok3wpkxSOdB2AGub88MWA8FDVbed XBg2W/upIRlmtBAstIhJRWuwEsnOiyUCXSxuQAdGNzX8VDqoqzckRSJPi0FjjT4aNX4f 7FvX1yDSxsA61coMSCh1J3WFsncBKTHXvPFseBnPB8l83AtUOfPmGHbyLBhratbzKxmA 3kNGcnFOFEtzm4Co+h3N4njWcAkZdN0Zul8TU+dLutbM/RAKoEkPVP1xKSOXDnyjHzW0 /eUg== X-Gm-Message-State: AOJu0YzRj1kboLUPyqn4lroEq9AxXdJzSGYzj/8Wiqon99THcTdk8cVa oIuhhCBFCfeCXMdcShrvOFQmucHe9x4iIdrhLK9V4eOXNzivp12WKfR1/39KJNbNqwONv8qqGMh qPNQN X-Gm-Gg: ATEYQzzbcfDRFu83DzaenWERmadEbHNq/jws35l/0Zze7FOG9m27bU/G5shx5WQWVt2 YKIGzLc/jI3JnqxNuB1Iyx4/sQwvVhew9Ob7Am8MABRxkX20qGbxrdWMML6uvkfT8lx1HAdC5ia st420DXnVSjEmRg+MrEG9ZlT9qBYBPJLBnLCchjXunDjEFe10DiFIbLl0EHdzvv6fUIMgfsOuP0 pIcmDg5qTPz/QVC8+G4868Xq9oBZCOr69R8GRobwNH62hjVYTj6tAmsYDfdaYPENuEFDnvETwxI Nwm4BvKrR95RCNkoNBa3BCgY4I197xvcTSUUmOD3FMfRusUNo1/H/MoKty/h/YhOKHMoSHxU8Jw GofldFn/EP1XaXQy/5AO9nt9reeatywHFmpev/71oklQ7edE++qmQPM3g4EI+On7wX2ZRpEImri 2+DJxAlXlp8biu4eEpnkNhEdyg549BHS/RGIO5x/RA1qNpw24Cd1LhhUQ0FxDQ7/3RgBFXVE7na waIQZgb0XweAALqx5ekVU45GRtayV95zCmozGTB/A== X-Received: by 2002:a05:600c:a0a:b0:487:288:1198 with SMTP id 5b1f17b1804b1-4871605ce9fmr2193705e9.22.1774365438597; Tue, 24 Mar 2026 08:17:18 -0700 (PDT) Received: from davidp-pi5.pitowers.org ([2a00:1098:3142:1f:88ea:c658:5b20:5e46]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-487116c44bfsm63826065e9.9.2026.03.24.08.17.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Mar 2026 08:17:18 -0700 (PDT) From: David Plowman To: libcamera-devel@lists.libcamera.org Cc: David Plowman 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 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 ControlId 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 | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/libcamera/control_ids_rpi.yaml b/src/libcamera/control_ids_rpi.yaml index a8615112..aca023d7 100644 --- a/src/libcamera/control_ids_rpi.yaml +++ b/src/libcamera/control_ids_rpi.yaml @@ -183,4 +183,14 @@ controls: \sa SyncMode \sa SyncReady \sa SyncTimer + + - ControlId: + 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. + ...