From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from new2-smtp.messagingengine.com (new2-smtp.messagingengine.com [66.111.4.224]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D13202582 for ; Wed, 29 Mar 2023 15:03:40 +0000 (UTC) Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailnew.nyi.internal (Postfix) with ESMTP id C9C55582063; Wed, 29 Mar 2023 11:03:39 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Wed, 29 Mar 2023 11:03:39 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cerno.tech; h=cc :cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=fm3; t=1680102219; x=1680109419; bh=K2 0fsOhg+vLZkzgTF7tMB4jS0IqXYodIByC6uEoduaQ=; b=dcqVt1CftKkmEFlhA+ aOiURFLLuXg9F3fCMb80o/A0C6pXoSTQ9EAi80tVrRlGItHiYi4fcOHXtqRcr4dA rsvr5aLS5spMJ/RBwjzF10usaznM3gM0ptdHwagUwajYxvW7NEe9BIFNnnLSrZWa nlpP78ehuzFNrjQv28Gnbk6E0Fg7omUkUbE19MM6URUF/2VKMdx5juf4lZCorG0D E60/lfaIIZ3C1NW/DxrZq15vZyhirjv9Qh5VnKxp4MKynITU/f8LvVLxS83Fg2TP 5IHB+VzFHX+FvE6bdSjVdaYfa3CakBRhl+9CI0HkX7AIa37gmum+22WeutnlbBmf PUlQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; t=1680102219; x=1680109419; bh=K20fsOhg+vLZk zgTF7tMB4jS0IqXYodIByC6uEoduaQ=; b=g1Uxe8rdB4qbec0xJ+fatyynl5wUs hI05spyEIsmVIZuVf7mTWJifwi7jxOo5M99CwQFSWSTRjoBkhQGXxVLWDdt8uoUI 7qD+ByCOABSeNw/5KWFGwEAGWKXxTTyLHdKjQu6xKE+Bdcvc3oaklodCcRbmIsMh FqWk4vJRVX36d1b+MerwS9B0+D39D8Ande9HpMYcuDpoDmyG6VItWfawmxvdi8E5 sPgka40+Q0T95d2hukuTp5in1pPM389WSzgub7TCyUNC4O+14yI+dGpDoqXYLRS8 gHMCvmch8AViRblK/sZyBSiK6MTTP/OJKncn5LUcFubpcSlQvGQkqSweA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrvdehiedgkeegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvfevuffkfhggtggujgesghdtreertddtvdenucfhrhhomhepofgrgihi mhgvucftihhprghrugcuoehmrgigihhmvgestggvrhhnohdrthgvtghhqeenucggtffrrg htthgvrhhnpeetfefffefgkedtfefgledugfdtjeefjedvtddtkeetieffjedvgfehheff hfevudenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpe hmrgigihhmvgestggvrhhnohdrthgvtghh X-ME-Proxy: Feedback-ID: i8771445c:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 29 Mar 2023 11:03:38 -0400 (EDT) Date: Wed, 29 Mar 2023 17:03:37 +0200 From: Maxime Ripard To: Jagan Teki Cc: Dave Stevenson , Maarten Lankhorst , Thomas Zimmermann , David Airlie , Daniel Vetter , Andrzej Hajda , Neil Armstrong , Robert Foss , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Sam Ravnborg , Rob Herring , Krzysztof Kozlowski , linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org, Marek Vasut , linux-amarula Subject: Re: [PATCH v7 02/12] drm: bridge: panel: Implement drmm_of_dsi_get_bridge helper Message-ID: <20230329150337.ua6qz7rvupk6vizl@penduick> References: <20230329131615.1328366-1-jagan@amarulasolutions.com> <20230329131615.1328366-3-jagan@amarulasolutions.com> Precedence: bulk X-Mailing-List: linux-sunxi@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="ljsqm2m3jhzjakbp" Content-Disposition: inline In-Reply-To: <20230329131615.1328366-3-jagan@amarulasolutions.com> --ljsqm2m3jhzjakbp Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Mar 29, 2023 at 06:46:08PM +0530, Jagan Teki wrote: > Implement a DRM-managed action helper that returns the next DSI bridge > in the chain. >=20 > Unlike general bridge return helper drmm_of_get_bridge, this helper > uses the dsi specific panel_or_bridge helper to find the next DSI > device in the pipeline. >=20 > Helper lookup a given downstream DSI device that has been added via > child or OF-graph port or ports node. >=20 > Upstream DSI looks for downstream devices using drm pointer, port and > endpoint number. Downstream devices added via child node don't affect > the port and endpoint number arguments. >=20 > Signed-off-by: Jagan Teki If you intend to use it with the sun4i driver, then don't. The sun4i driver is barely using drm-managed resources, so chances are all its resources will be freed by the time this action will run. Maxime --ljsqm2m3jhzjakbp Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYKAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCZCRTSQAKCRDj7w1vZxhR xWkLAQDKdxnGogs9xO7ZMu/Rv+wkevLJj7FxIC5ShbdCE04h8gEAx1vP1JqLCeBi rKCBc8nwgsdozelmB6QXQSsY/3wbNwQ= =SDoE -----END PGP SIGNATURE----- --ljsqm2m3jhzjakbp-- 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 gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (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 15E55C74A5B for ; Wed, 29 Mar 2023 15:03:44 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 8245010E162; Wed, 29 Mar 2023 15:03:43 +0000 (UTC) Received: from new2-smtp.messagingengine.com (new2-smtp.messagingengine.com [66.111.4.224]) by gabe.freedesktop.org (Postfix) with ESMTPS id 7C9EC10E162 for ; Wed, 29 Mar 2023 15:03:40 +0000 (UTC) Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailnew.nyi.internal (Postfix) with ESMTP id C9C55582063; Wed, 29 Mar 2023 11:03:39 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Wed, 29 Mar 2023 11:03:39 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cerno.tech; h=cc :cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=fm3; t=1680102219; x=1680109419; bh=K2 0fsOhg+vLZkzgTF7tMB4jS0IqXYodIByC6uEoduaQ=; b=dcqVt1CftKkmEFlhA+ aOiURFLLuXg9F3fCMb80o/A0C6pXoSTQ9EAi80tVrRlGItHiYi4fcOHXtqRcr4dA rsvr5aLS5spMJ/RBwjzF10usaznM3gM0ptdHwagUwajYxvW7NEe9BIFNnnLSrZWa nlpP78ehuzFNrjQv28Gnbk6E0Fg7omUkUbE19MM6URUF/2VKMdx5juf4lZCorG0D E60/lfaIIZ3C1NW/DxrZq15vZyhirjv9Qh5VnKxp4MKynITU/f8LvVLxS83Fg2TP 5IHB+VzFHX+FvE6bdSjVdaYfa3CakBRhl+9CI0HkX7AIa37gmum+22WeutnlbBmf PUlQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; t=1680102219; x=1680109419; bh=K20fsOhg+vLZk zgTF7tMB4jS0IqXYodIByC6uEoduaQ=; b=g1Uxe8rdB4qbec0xJ+fatyynl5wUs hI05spyEIsmVIZuVf7mTWJifwi7jxOo5M99CwQFSWSTRjoBkhQGXxVLWDdt8uoUI 7qD+ByCOABSeNw/5KWFGwEAGWKXxTTyLHdKjQu6xKE+Bdcvc3oaklodCcRbmIsMh FqWk4vJRVX36d1b+MerwS9B0+D39D8Ande9HpMYcuDpoDmyG6VItWfawmxvdi8E5 sPgka40+Q0T95d2hukuTp5in1pPM389WSzgub7TCyUNC4O+14yI+dGpDoqXYLRS8 gHMCvmch8AViRblK/sZyBSiK6MTTP/OJKncn5LUcFubpcSlQvGQkqSweA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrvdehiedgkeegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvfevuffkfhggtggujgesghdtreertddtvdenucfhrhhomhepofgrgihi mhgvucftihhprghrugcuoehmrgigihhmvgestggvrhhnohdrthgvtghhqeenucggtffrrg htthgvrhhnpeetfefffefgkedtfefgledugfdtjeefjedvtddtkeetieffjedvgfehheff hfevudenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpe hmrgigihhmvgestggvrhhnohdrthgvtghh X-ME-Proxy: Feedback-ID: i8771445c:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 29 Mar 2023 11:03:38 -0400 (EDT) Date: Wed, 29 Mar 2023 17:03:37 +0200 From: Maxime Ripard To: Jagan Teki Subject: Re: [PATCH v7 02/12] drm: bridge: panel: Implement drmm_of_dsi_get_bridge helper Message-ID: <20230329150337.ua6qz7rvupk6vizl@penduick> References: <20230329131615.1328366-1-jagan@amarulasolutions.com> <20230329131615.1328366-3-jagan@amarulasolutions.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="ljsqm2m3jhzjakbp" Content-Disposition: inline In-Reply-To: <20230329131615.1328366-3-jagan@amarulasolutions.com> X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Marek Vasut , Neil Armstrong , Krzysztof Kozlowski , Robert Foss , Sam Ravnborg , Dave Stevenson , devicetree@vger.kernel.org, Thomas Zimmermann , Samuel Holland , Jernej Skrabec , Chen-Yu Tsai , Rob Herring , dri-devel@lists.freedesktop.org, Andrzej Hajda , linux-sunxi@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-amarula Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" --ljsqm2m3jhzjakbp Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Mar 29, 2023 at 06:46:08PM +0530, Jagan Teki wrote: > Implement a DRM-managed action helper that returns the next DSI bridge > in the chain. >=20 > Unlike general bridge return helper drmm_of_get_bridge, this helper > uses the dsi specific panel_or_bridge helper to find the next DSI > device in the pipeline. >=20 > Helper lookup a given downstream DSI device that has been added via > child or OF-graph port or ports node. >=20 > Upstream DSI looks for downstream devices using drm pointer, port and > endpoint number. Downstream devices added via child node don't affect > the port and endpoint number arguments. >=20 > Signed-off-by: Jagan Teki If you intend to use it with the sun4i driver, then don't. The sun4i driver is barely using drm-managed resources, so chances are all its resources will be freed by the time this action will run. Maxime --ljsqm2m3jhzjakbp Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYKAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCZCRTSQAKCRDj7w1vZxhR xWkLAQDKdxnGogs9xO7ZMu/Rv+wkevLJj7FxIC5ShbdCE04h8gEAx1vP1JqLCeBi rKCBc8nwgsdozelmB6QXQSsY/3wbNwQ= =SDoE -----END PGP SIGNATURE----- --ljsqm2m3jhzjakbp-- 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 CF893C74A5B for ; Wed, 29 Mar 2023 15:04:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: In-Reply-To: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=w+kSNdkNeRw5PgD+xf5FKwWwAiw0Z+JN1dJJ1LUl9h8=; b=XqqwDERYOrDcIkFVAAmqQQaJtO bpLUF/PGFActOvfdFwzf7k4BJ9wykr/hHjggFsdkqKWS3JHEHB3zOnE+eKvn3vGIyxm/BNEX3WxKp yCQPR+hdqI0LnSfMmaFGwiVUvKQtiN7nkzFH4vq7R52zxRa5viBTwcr113b9wCO6bQUxoGy2Yrbf/ Kq0skGJShyPYqXEIcETto3TSsc5b4xNN0gjpCPgq3xic+xMmBol94eCTj3PvhTG8bVS/9Wk9MuteC 0LoTzoZ4dzymmiSSLlvUE45A2P66aXopx4EEnpzwfZLLrlTWwbFoJZzdWEmZb/q5DrADVQUoGU4wu mR+IxjuA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1phXL1-000i25-0w; Wed, 29 Mar 2023 15:03:47 +0000 Received: from new2-smtp.messagingengine.com ([66.111.4.224]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1phXKu-000hzs-1b for linux-arm-kernel@lists.infradead.org; Wed, 29 Mar 2023 15:03:44 +0000 Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailnew.nyi.internal (Postfix) with ESMTP id C9C55582063; Wed, 29 Mar 2023 11:03:39 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Wed, 29 Mar 2023 11:03:39 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cerno.tech; h=cc :cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=fm3; t=1680102219; x=1680109419; bh=K2 0fsOhg+vLZkzgTF7tMB4jS0IqXYodIByC6uEoduaQ=; b=dcqVt1CftKkmEFlhA+ aOiURFLLuXg9F3fCMb80o/A0C6pXoSTQ9EAi80tVrRlGItHiYi4fcOHXtqRcr4dA rsvr5aLS5spMJ/RBwjzF10usaznM3gM0ptdHwagUwajYxvW7NEe9BIFNnnLSrZWa nlpP78ehuzFNrjQv28Gnbk6E0Fg7omUkUbE19MM6URUF/2VKMdx5juf4lZCorG0D E60/lfaIIZ3C1NW/DxrZq15vZyhirjv9Qh5VnKxp4MKynITU/f8LvVLxS83Fg2TP 5IHB+VzFHX+FvE6bdSjVdaYfa3CakBRhl+9CI0HkX7AIa37gmum+22WeutnlbBmf PUlQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; t=1680102219; x=1680109419; bh=K20fsOhg+vLZk zgTF7tMB4jS0IqXYodIByC6uEoduaQ=; b=g1Uxe8rdB4qbec0xJ+fatyynl5wUs hI05spyEIsmVIZuVf7mTWJifwi7jxOo5M99CwQFSWSTRjoBkhQGXxVLWDdt8uoUI 7qD+ByCOABSeNw/5KWFGwEAGWKXxTTyLHdKjQu6xKE+Bdcvc3oaklodCcRbmIsMh FqWk4vJRVX36d1b+MerwS9B0+D39D8Ande9HpMYcuDpoDmyG6VItWfawmxvdi8E5 sPgka40+Q0T95d2hukuTp5in1pPM389WSzgub7TCyUNC4O+14yI+dGpDoqXYLRS8 gHMCvmch8AViRblK/sZyBSiK6MTTP/OJKncn5LUcFubpcSlQvGQkqSweA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrvdehiedgkeegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvfevuffkfhggtggujgesghdtreertddtvdenucfhrhhomhepofgrgihi mhgvucftihhprghrugcuoehmrgigihhmvgestggvrhhnohdrthgvtghhqeenucggtffrrg htthgvrhhnpeetfefffefgkedtfefgledugfdtjeefjedvtddtkeetieffjedvgfehheff hfevudenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpe hmrgigihhmvgestggvrhhnohdrthgvtghh X-ME-Proxy: Feedback-ID: i8771445c:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 29 Mar 2023 11:03:38 -0400 (EDT) Date: Wed, 29 Mar 2023 17:03:37 +0200 From: Maxime Ripard To: Jagan Teki Cc: Dave Stevenson , Maarten Lankhorst , Thomas Zimmermann , David Airlie , Daniel Vetter , Andrzej Hajda , Neil Armstrong , Robert Foss , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Sam Ravnborg , Rob Herring , Krzysztof Kozlowski , linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org, Marek Vasut , linux-amarula Subject: Re: [PATCH v7 02/12] drm: bridge: panel: Implement drmm_of_dsi_get_bridge helper Message-ID: <20230329150337.ua6qz7rvupk6vizl@penduick> References: <20230329131615.1328366-1-jagan@amarulasolutions.com> <20230329131615.1328366-3-jagan@amarulasolutions.com> MIME-Version: 1.0 In-Reply-To: <20230329131615.1328366-3-jagan@amarulasolutions.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230329_080340_596057_CC4C73BB X-CRM114-Status: GOOD ( 12.89 ) 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: , Content-Type: multipart/mixed; boundary="===============2785463412014636007==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============2785463412014636007== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="ljsqm2m3jhzjakbp" Content-Disposition: inline --ljsqm2m3jhzjakbp Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Mar 29, 2023 at 06:46:08PM +0530, Jagan Teki wrote: > Implement a DRM-managed action helper that returns the next DSI bridge > in the chain. >=20 > Unlike general bridge return helper drmm_of_get_bridge, this helper > uses the dsi specific panel_or_bridge helper to find the next DSI > device in the pipeline. >=20 > Helper lookup a given downstream DSI device that has been added via > child or OF-graph port or ports node. >=20 > Upstream DSI looks for downstream devices using drm pointer, port and > endpoint number. Downstream devices added via child node don't affect > the port and endpoint number arguments. >=20 > Signed-off-by: Jagan Teki If you intend to use it with the sun4i driver, then don't. The sun4i driver is barely using drm-managed resources, so chances are all its resources will be freed by the time this action will run. Maxime --ljsqm2m3jhzjakbp Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYKAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCZCRTSQAKCRDj7w1vZxhR xWkLAQDKdxnGogs9xO7ZMu/Rv+wkevLJj7FxIC5ShbdCE04h8gEAx1vP1JqLCeBi rKCBc8nwgsdozelmB6QXQSsY/3wbNwQ= =SDoE -----END PGP SIGNATURE----- --ljsqm2m3jhzjakbp-- --===============2785463412014636007== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel --===============2785463412014636007==--