From patchwork Wed Dec 8 15:15:25 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Naushir Patuck X-Patchwork-Id: 15081 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 90EABBF415 for ; Wed, 8 Dec 2021 15:15:34 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 8A56060876; Wed, 8 Dec 2021 16:15:33 +0100 (CET) Authentication-Results: lancelot.ideasonboard.com; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=raspberrypi.com header.i=@raspberrypi.com header.b="npYZ4YPl"; dkim-atps=neutral Received: from mail-wm1-x32d.google.com (mail-wm1-x32d.google.com [IPv6:2a00:1450:4864:20::32d]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 45E6B60225 for ; Wed, 8 Dec 2021 16:15:32 +0100 (CET) Received: by mail-wm1-x32d.google.com with SMTP id 133so2054504wme.0 for ; Wed, 08 Dec 2021 07:15:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raspberrypi.com; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=ts+5PGgxjhspJ37z4JlAE88A6vpurbqU5x404pJI1NU=; b=npYZ4YPld6iZB7h2gmCS3Hv2ZuM/0kp5PCNHNfleG8QzB2B4oyl+U3wjDqzavvMXSD GE/f9ZFrMSneonqhyE70tqgbMKEG7OX5SgAjgR/gpMr8t6j/NSxneZD2idcsWsYPrLQO ZT6ae8zxFIIewj3EgydkxdpDbrutm1N/fD48nCPkoA/G5Fs8txa5bqAidAV5B+j3vhRc JHf5RoHj/hLUuosYOHHTCKEvbpSNVFvwv29wV1HgUzPrq1wVn+qKRZiqiAPc4y7IW//M GcGCoK4FVqXA2Bf2c2W+jiRdN17UrpLKHs1qmN+D+6DTbqOQYGsrLTFlqQudlQMLzSMT NMmA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=ts+5PGgxjhspJ37z4JlAE88A6vpurbqU5x404pJI1NU=; b=W1JIkP1EGti2ltwWKFsaook5mrDsXkZlD56uRv5sIDdyBE07sQWqUuouc/z3dlpsNW qfm3OdWcvS84yS2yk+yjF/Lgisy3G7h3AvzuhGn/qzoHytJII+qTy147tFP+ILW0wh7b gwGRiLg4UkV1tk2aR9iCs8pBetXRHXusOB4KInn0GdbpWQWofamvMKQqxLUhH/p8eEt5 lS/1rYq5aCpvZ5bMc4gdfQm5jyxX5qXDitX3/Vaciq8nacKdgFndqfrzF/zWg+JBZoFj kDApbn9r1wxqukK9LyysUWfpaXaqlqtaJvCZdPNrwEiZE+Ik6Snia7/BaCjVnRYwAtBo vRBQ== X-Gm-Message-State: AOAM531UMU3As4QSYMKYq34dVNjmnl+LOJad5bqyUY3T5HILP6l78SE1 uwIjVuxCPaL83da2XpoOJd56tvO4BVu7TZpu X-Google-Smtp-Source: ABdhPJxR/5uZp6zeUzdaf4D+/iIPhGiJ1fWxZzYcgtG2WEwJuNpgNgEGbEwKNkPRRinjjfcCo3wGbQ== X-Received: by 2002:a7b:c742:: with SMTP id w2mr16692281wmk.65.1638976531397; Wed, 08 Dec 2021 07:15:31 -0800 (PST) Received: from naush-laptop.pitowers.org ([2a00:1098:3142:14:27d5:9305:f572:6623]) by smtp.gmail.com with ESMTPSA id 10sm3998857wrb.75.2021.12.08.07.15.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Dec 2021 07:15:30 -0800 (PST) From: Naushir Patuck To: libcamera-devel@lists.libcamera.org Date: Wed, 8 Dec 2021 15:15:25 +0000 Message-Id: <20211208151527.1404715-1-naush@raspberrypi.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v2 0/2] Raspberry Pi: Add video mux and bridge support 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" Hi, Version 2 of this series changes things around a bit for patch 2/2: - Renamed the list of video mux/bridge devices to bridgeDevices as suggested by Kieran. - Instead of storing the MediaPad in bridgeDevices, we store the media link pointers. This allows us to enable all links in the cascad when we call configure(). - I've added a check to ensure the cascade must end at the Unicam entity, and if not, we do no link configure or enable as the topology is not what we expect. Kieran, I've removed your R-B tag from 2/2 as there are quite a few changes from what you looked at. Thanks, Naush Naushir Patuck (2): pipeline: raspberrypi: Move sensor entity detection out of registerCamera() pipeline: raspberrypi: Add support for Video Mux and Bridge devices .../pipeline/raspberrypi/raspberrypi.cpp | 113 +++++++++++++++--- 1 file changed, 98 insertions(+), 15 deletions(-)