From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 5E6E0D77880 for ; Fri, 23 Jan 2026 16:57:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=yDbJDDHbaSaHSteTvZxrTNy/SMNN3F5el0kmBenvzMw=; b=X9w3JUzLIDbaI5A7gWpzbHiwxj ILJq+6hmMydEI5u/U5OaRgshj2Gxzau9WHPR3luyvyID3U9HQdKrGwznceqzgySUpsVYGqILQ6fo+ IsOcTvGWBYnGbyyM/GcNYzqylBnuxKvO0Jfk5REN2WDf8CH7VSsTkzRvdg24MzVoD/eXK6C9dEbhJ dJ1EqA6tzm8IwbasME9eR5XKZ8cryRjqs92j7o4XQKv0JMpZ1nR5nIDpoYpduXzJ46LtSA7kpU9WW bC6zmY9ZpHJ+U6yuf2ArIBHXoO0yLx+ePxPY45XHcsLk8rBbe4l36Sm1HUyrzoUjaMjUBAWiNbs/9 N3nOFo/w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1vjKTg-00000009FVr-325m; Fri, 23 Jan 2026 16:57:44 +0000 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1vjKTd-00000009FUa-2fjB for linux-arm-kernel@lists.infradead.org; Fri, 23 Jan 2026 16:57:43 +0000 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1vjKTM-0003OD-9r; Fri, 23 Jan 2026 17:57:24 +0100 Received: from pty.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::c5]) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vjKTM-0027qL-1E; Fri, 23 Jan 2026 17:57:23 +0100 Received: from mtr by pty.whiteo.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1vjKTL-00B4r0-1l; Fri, 23 Jan 2026 17:57:23 +0100 Date: Fri, 23 Jan 2026 17:57:23 +0100 From: Michael Tretter To: Steve Longerbeam , Philipp Zabel , Frank Li , Mauro Carvalho Chehab , Fabio Estevam , Greg Kroah-Hartman , Shawn Guo , Sascha Hauer Cc: linux-media@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, Pengutronix Kernel Team , linux-staging@lists.linux.dev Subject: Re: [PATCH v2 0/3] media: imx-csi: cleanup media pipeline start Message-ID: Mail-Followup-To: Michael Tretter , Steve Longerbeam , Philipp Zabel , Frank Li , Mauro Carvalho Chehab , Fabio Estevam , Greg Kroah-Hartman , Shawn Guo , Sascha Hauer , linux-media@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, Pengutronix Kernel Team , linux-staging@lists.linux.dev References: <20251218-media-imx-cleanup-v2-0-9e3e3c269f7f@pengutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20251218-media-imx-cleanup-v2-0-9e3e3c269f7f@pengutronix.de> X-Sent-From: Pengutronix Hildesheim X-URL: http://www.pengutronix.de/ X-Accept-Language: de,en X-Accept-Content-Type: text/plain X-SA-Exim-Connect-IP: 2a0a:edc0:0:c01:1d::a2 X-SA-Exim-Mail-From: m.tretter@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-arm-kernel@lists.infradead.org X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20260123_085741_679414_97A64554 X-CRM114-Status: GOOD ( 19.21 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Thu, 18 Dec 2025 10:23:48 +0100, Michael Tretter wrote: > The imx media device currently assumes that there is only a single media > pipeline. However, the media graph has multiple imx capture devices. > These may be started separately on media pipelines if they don't cause > conflicts in the media graph. > > Move the media pipeline from the media device to the capture devices to > properly track and handle multiple media pipelines for the imx-csi. > Refactor the code to start the media pipeline from the driver to help > the reader. Gentle ping. Michael > > Signed-off-by: Michael Tretter > --- > Changes in v2: > - Improve code readability in Patch 2 > - Update commit message of Patch 3 as suggested by Frank Li > - Link to v1: https://patch.msgid.link/20251107-media-imx-cleanup-v1-0-f82a693c28f4@pengutronix.de > > --- > Michael Tretter (3): > media: imx-csi: move media_pipeline to video device > media: imx-csi: explicitly start media pipeline on pad 0 > media: imx-csi: use media_pad_is_streaming helper > > drivers/staging/media/imx/imx-media-capture.c | 8 ++++---- > drivers/staging/media/imx/imx-media-utils.c | 12 ++++++++---- > drivers/staging/media/imx/imx-media.h | 7 ++++--- > 3 files changed, 16 insertions(+), 11 deletions(-) > --- > base-commit: 8f0b4cce4481fb22653697cced8d0d04027cb1e8 > change-id: 20251107-media-imx-cleanup-9022d941ae44 > > Best regards, > -- > Michael Tretter > >