From patchwork Wed Jun 25 08:41:15 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Naushir Patuck X-Patchwork-Id: 23648 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 4D9D0BDCBF for ; Wed, 25 Jun 2025 08:42:18 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id D9B7D68DEB; Wed, 25 Jun 2025 10:42:16 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (2048-bit key; unprotected) header.d=raspberrypi.com header.i=@raspberrypi.com header.b="hI57n45S"; dkim-atps=neutral Received: from mail-wm1-x331.google.com (mail-wm1-x331.google.com [IPv6:2a00:1450:4864:20::331]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id B6FF068DCE for ; Wed, 25 Jun 2025 10:42:15 +0200 (CEST) Received: by mail-wm1-x331.google.com with SMTP id 5b1f17b1804b1-4535fc0485dso7956045e9.0 for ; Wed, 25 Jun 2025 01:42:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raspberrypi.com; s=google; t=1750840935; x=1751445735; darn=lists.libcamera.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=HrrdMTc87RHKdGaUVaNSWjFz2vR9Y4wY7YqZYThQwJE=; b=hI57n45S5qVU949qz8U1lkg9uV61fnKyxmBTTiL7rK66HiJM1Z8WEd7ZnPHeTCc5k/ ZQsuIU4vg0vsJZXF3H9nibHJWdhobAqxESYVGojXLbbH/ln4N77ZxXCDieTEhh1iOTrd RsiR6lI4Ru9a/BjohEkNaznq2e5DeMw9EICoAtqZ0+nz3GrlaxustX2NHLoomencBeGu 1Nys/5Hk7HjC65fpvbBrRj0E0KwAOyr2s9kcKzVn4Gt7bSmmVft1BD27ak/GyPPIw+H6 ZB0eIa2fToDAwUa+4czyZ00E2c6jP+CgecDvHHdGUal3rVNPVv6YRe0C84BZ6l5t2CHF kAjw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1750840935; x=1751445735; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=HrrdMTc87RHKdGaUVaNSWjFz2vR9Y4wY7YqZYThQwJE=; b=Gcet8lET5zxx94SeK+zZcp68fbruiTjWSpfTJdW9ihBHdXH9FGyJR5wk4gni34+SwL RBCFvnz36Dl14UYs3pFnKo5qTJqCS8/VXn14myjbdJ1MXRc0Immv1omLiUJG8iYJcVUD eeAYGc2NWMi5pnHA+DSmF/ewL57+VyJSAu6K4FGQMVWaVaPfeo37/WnvzTPCBwQFTjq2 n8N0ZpYafNP3t3sXsSNa8tBDUkjuciG0miiZusNnNaKTvPIv0+nKH0Kuhfj+4OjzYN7U lGlY3fIVlgWbLKA1I6qDSfHr1vj+Is3QOpF4bE6/iEOrCcRal7vQKwHCuIe9/1Wf+pqH BZLA== X-Gm-Message-State: AOJu0YzF//imyWF2rAv2i+mZRXte/MPwvYC8NjYp4HIM6usAfTsJdtKQ FE9NBveZNF6FD2VQ1CnReDSYli3ea4EIweCJBaoGKCbiB95djNKeYjfAzEcmZt3E9K3HwYie3ej mQfaA X-Gm-Gg: ASbGnctipSqEXdmGS6JQCMjUEFVeJ7l9xlHLgAuWEoepo5kvkWdopqmDzQXudt+Y0+v hFh53QbVZUp+Z+b1m2IGuG5AykqUlC45Wdohs5GmWkhgbUn2Uyq9VTpZjMc9HekRYMy09SpdfyT 28RVdp2XBi8UAg6p1Ke5UnOQnoxPKTHHZVLTSi5afqUeb8tBMwpyO+sigXhJw9IRZttvE1apoY+ RI7zfu+7PguJ5KLf+2Iq9LkD98t1MTr+/PGsoORIbsfjGwBwl1l0EoqakGwC/VVMDarly1fF9Jg AHC7v0EPhig1zY1EcYDj2r670fCfcn7aoPslwMDJvf7v/8KSmniuVs/lPlF+OkXtqWkw6vtLm+q JWy8sSA== X-Google-Smtp-Source: AGHT+IHdNguyAw7YJNdaPuA+QRff6avu83zbHUjpnpAwAjJUY3xVHsDtA859i5Uv1Ag5nZBRNfHGsw== X-Received: by 2002:a05:600c:1993:b0:439:88bb:d00b with SMTP id 5b1f17b1804b1-45381ae9d43mr5856005e9.5.1750840934820; Wed, 25 Jun 2025 01:42:14 -0700 (PDT) Received: from NAUSH-P-DELL.pitowers.org ([93.93.133.154]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3a6e80f296bsm3974297f8f.60.2025.06.25.01.42.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Jun 2025 01:42:14 -0700 (PDT) From: Naushir Patuck To: libcamera-devel@lists.libcamera.org Cc: dave.stevenson@raspberrypi.com, Naushir Patuck Subject: [PATCH v1 0/3] Raspberry Pi: Media graph enumeration updates Date: Wed, 25 Jun 2025 09:41:15 +0100 Message-ID: <20250625084212.858487-1-naush@raspberrypi.com> X-Mailer: git-send-email 2.43.0 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" Hi, As mentioned in [1], the following patch series fixes some issue with the media graph enumeration when it consists of multiple mux/demux devices linked together. Additionally, we also setup a default route if needed. Regards, Naush [1]: https://lists.libcamera.org/pipermail/libcamera-devel/2025-June/051053.html Naushir Patuck (3): pipeline: rpi: Fix for enumerating the media graphs pipeline: rpi: Move media device configuration into its own function pipeline: rpi: Set a default route for entities where applicable .../pipeline/rpi/common/pipeline_base.cpp | 137 ++++++++++++------ .../pipeline/rpi/common/pipeline_base.h | 2 +- 2 files changed, 91 insertions(+), 48 deletions(-)