From patchwork Mon Mar 30 11:40:24 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kieran Bingham X-Patchwork-Id: 26388 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 4FA11BE086 for ; Mon, 30 Mar 2026 11:40:42 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id A96FA62D09; Mon, 30 Mar 2026 13:40:39 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="H1uzfRJF"; dkim-atps=neutral Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 71A1E62CF7 for ; Mon, 30 Mar 2026 13:40:37 +0200 (CEST) Received: from ping.linuxembedded.co.uk (cpc89244-aztw30-2-0-cust6594.18-1.cable.virginm.net [86.31.185.195]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id C0D6F25A0; Mon, 30 Mar 2026 13:39:15 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1774870755; bh=mYJVB15lmtz1uYiHm0PqkU/Ii7GC/5P1+DzJ1jH+5Zc=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=H1uzfRJF06Y1PhLRmYZNK8t31FDLHjQ4nroQGudYauVwMQEQi+AxsAq1HUxxIG4CG ZGilvh9nOIF/X0LU591b/jfajdaoVsIs5oIXwjJPnw11OQXnH8w1tzsW11ZMQPGwaq Yqm3QdMUOXBvh+DN1pHqOCzZLTt49bn8CpE6Fx5s= From: Kieran Bingham Date: Mon, 30 Mar 2026 12:40:24 +0100 Subject: [PATCH 1/2] libcamera: properties: Add a pipeline handler name property MIME-Version: 1.0 Message-Id: <20260330-kbingham-pipeline-handler-property-v1-1-fdab13d5d263@ideasonboard.com> References: <20260330-kbingham-pipeline-handler-property-v1-0-fdab13d5d263@ideasonboard.com> In-Reply-To: <20260330-kbingham-pipeline-handler-property-v1-0-fdab13d5d263@ideasonboard.com> To: libcamera-devel@lists.libcamera.org Cc: Kieran Bingham X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1774870836; l=731; i=kieran.bingham@ideasonboard.com; s=20260207; h=from:subject:message-id; bh=mYJVB15lmtz1uYiHm0PqkU/Ii7GC/5P1+DzJ1jH+5Zc=; b=ZKkqGTy62dLh4RRQTKoqNBC6yfaME3ShnrfL7nakqT7118Cx9dWGYDc+KMMF3i1BLGqTB0SV+ ZMsCm3Q7jWsAhglcJkyXfTYEpcpZ/pwNNOCJA5A8OB52wPzR+Wa6Ul6 X-Developer-Key: i=kieran.bingham@ideasonboard.com; a=ed25519; pk=FVXKN7YuwHc6UtbRUeTMAmranfsQomA+vnilfglWdaY= 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" Allow the camera properties to report what pipeline handler is managing the camera device. Signed-off-by: Kieran Bingham --- src/libcamera/property_ids_core.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/libcamera/property_ids_core.yaml b/src/libcamera/property_ids_core.yaml index 834454a4e087..524cc48a08c7 100644 --- a/src/libcamera/property_ids_core.yaml +++ b/src/libcamera/property_ids_core.yaml @@ -701,4 +701,9 @@ controls: Different cameras may report identical devices. + - PipelineHandler: + type: string + description: | + The name of the pipeline handler that manages this camera device. + ... From patchwork Mon Mar 30 11:40:25 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kieran Bingham X-Patchwork-Id: 26389 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 58742C32DE for ; Mon, 30 Mar 2026 11:40:43 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id DA05462CFF; Mon, 30 Mar 2026 13:40:40 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="hc466N+V"; dkim-atps=neutral Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 90B9A62CFB for ; Mon, 30 Mar 2026 13:40:37 +0200 (CEST) Received: from ping.linuxembedded.co.uk (cpc89244-aztw30-2-0-cust6594.18-1.cable.virginm.net [86.31.185.195]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id F0AD831A5; Mon, 30 Mar 2026 13:39:15 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1774870756; bh=0XwVJopOmfsW6jBVbgNO4C87BBh25npWJuc/IzjwBY4=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=hc466N+ViJcPMBE7Sz6gaYeGEvmD7a1tEaAB6VFVg1zpsW8H6uJHPSPHym9tuJLU+ QmS+UHezT7DUDhpFZoCSSpqgghhK5BANejNHEfKmbx4xbEhNHI5vJhwwLr7zU7+8xB Ld2JyVDW4Istpvg9HsA9XoBp/o7yxtabZ1uxJ0eI= From: Kieran Bingham Date: Mon, 30 Mar 2026 12:40:25 +0100 Subject: [PATCH 2/2] libcamera: camera: Report the pipeline handler name MIME-Version: 1.0 Message-Id: <20260330-kbingham-pipeline-handler-property-v1-2-fdab13d5d263@ideasonboard.com> References: <20260330-kbingham-pipeline-handler-property-v1-0-fdab13d5d263@ideasonboard.com> In-Reply-To: <20260330-kbingham-pipeline-handler-property-v1-0-fdab13d5d263@ideasonboard.com> To: libcamera-devel@lists.libcamera.org Cc: Kieran Bingham X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1774870836; l=967; i=kieran.bingham@ideasonboard.com; s=20260207; h=from:subject:message-id; bh=0XwVJopOmfsW6jBVbgNO4C87BBh25npWJuc/IzjwBY4=; b=z9eo07FPuvswJX7RVkQihr7cN3G4KgemrHIRRFJBWdNK6hScThpd8pLFl+oRiM+fkJ54V/12Z xbD0vDNNecSDyHAp90c+/PHMHWkDfCjXof3tCY39hZ2f0ElEm1K1vXp X-Developer-Key: i=kieran.bingham@ideasonboard.com; a=ed25519; pk=FVXKN7YuwHc6UtbRUeTMAmranfsQomA+vnilfglWdaY= 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" Add the Pipeline handler name to the Camera Properties when a camera is constructed. This helps support and identify how the camera is being managed internally and what configuration has taken effect, especially as the pipeline handler chosen can be impacted by both environment variables and configuration files. Signed-off-by: Kieran Bingham --- src/libcamera/camera.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/libcamera/camera.cpp b/src/libcamera/camera.cpp index f724a1be5e3d..93b9e603dd57 100644 --- a/src/libcamera/camera.cpp +++ b/src/libcamera/camera.cpp @@ -931,6 +931,7 @@ Camera::Camera(std::unique_ptr d, const std::string &id, : Extensible(std::move(d)) { _d()->id_ = id; + _d()->properties_.set(properties::PipelineHandler, _d()->pipe_->name()); _d()->streams_ = streams; _d()->validator_ = std::make_unique(this); }