From patchwork Sat Mar 18 23:40:14 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dan Scally X-Patchwork-Id: 18420 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 94BF2C32A3 for ; Sat, 18 Mar 2023 23:40:43 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 2960B6273E; Sun, 19 Mar 2023 00:40:43 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org; s=mail; t=1679182843; bh=QXB8/VXAUtlndnSFT7OmZnvdgTA71caXTMEse3FGvQs=; h=To:Date:In-Reply-To:References:Subject:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=ol8QNCR2rzbpaZ+21lRnWejsoGNyc9FyVZYSINasFiAp5gfLr13xc5vIWN9oBv5o7 IEl7iCtzBVsigjAJVzZEPO2dttDhO4MD3QrO5WqdmvO/TIugixW3C6cMVZWS+dEDa9 h8/72nmBugLTY0+0VcZuqm8xQZpwo3t7Q8Vo23DiIP7DkbyYWRLfH3oe4Mi0C0ZwlJ 0fn+CMoue9u5cTr5sbqqgLcT773v25bn36V+L6Q76m+GnPRaYaEz/QQdxjKBTBkg/e 8wqYjUttnjk32bZmuBVYQFxeznf57QNIDOU8azOq6u9udhsOx2gups5g/Cn07U2FGH OaWFVytLjKJFA== 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 58CE7626EB for ; Sun, 19 Mar 2023 00:40:35 +0100 (CET) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="EwzV0+d+"; dkim-atps=neutral Received: from mail.ideasonboard.com (cpc141996-chfd3-2-0-cust928.12-3.cable.virginm.net [86.13.91.161]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id E682FB6C; Sun, 19 Mar 2023 00:40:34 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1679182835; bh=QXB8/VXAUtlndnSFT7OmZnvdgTA71caXTMEse3FGvQs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=EwzV0+d+7RmxIMSL4h531OSZOZQfA3W/8DYtXeXxgNdCBLZh3GSXn79X0m3irI7qH JyjH72R/veE47E2874u+Y+Qod9EGymmPi6pxJp6Sb3B3VWdjqpIgK2eGDayNkvr8pn 8JgQV5r4vLNvKYwuaZulH8eJYPOLBCoXSc4De3R0= To: libcamera-devel@lists.libcamera.org Date: Sat, 18 Mar 2023 23:40:14 +0000 Message-Id: <20230318234014.29506-12-dan.scally@ideasonboard.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230318234014.29506-1-dan.scally@ideasonboard.com> References: <20230318234014.29506-1-dan.scally@ideasonboard.com> MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH 11/11] pipeline: ipu3: Increase maximum connected cameras 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: , X-Patchwork-Original-From: Daniel Scally via libcamera-devel From: Dan Scally Reply-To: Daniel Scally Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" The IPU3 pipeline currently will only connect two cameras at most. Configure the pipeline to accept 3 cameras instead. Signed-off-by: Daniel Scally --- src/libcamera/pipeline/ipu3/ipu3.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libcamera/pipeline/ipu3/ipu3.cpp b/src/libcamera/pipeline/ipu3/ipu3.cpp index b9228a59..538e8095 100644 --- a/src/libcamera/pipeline/ipu3/ipu3.cpp +++ b/src/libcamera/pipeline/ipu3/ipu3.cpp @@ -1069,7 +1069,7 @@ int PipelineHandlerIPU3::registerCameras() * in a compatible format. */ unsigned int numCameras = 0; - for (unsigned int id = 0; id < 4 && numCameras < 2; ++id) { + for (unsigned int id = 0; id < 4 && numCameras < 3; ++id) { std::unique_ptr data = std::make_unique(this); std::set streams = {