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 BDA25C77B70 for ; Fri, 14 Apr 2023 08:30:36 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id CE78C10EC7F; Fri, 14 Apr 2023 08:30:35 +0000 (UTC) Received: from mail11.truemail.it (mail11.truemail.it [217.194.8.81]) by gabe.freedesktop.org (Postfix) with ESMTPS id 70B6F10EC7F for ; Fri, 14 Apr 2023 08:30:33 +0000 (UTC) Received: from francesco-nb.int.toradex.com (93-49-2-63.ip317.fastwebnet.it [93.49.2.63]) by mail11.truemail.it (Postfix) with ESMTPA id C0BAA20B6F; Fri, 14 Apr 2023 10:30:28 +0200 (CEST) Date: Fri, 14 Apr 2023 10:30:22 +0200 From: Francesco Dolcini To: Aradhya Bhatia Subject: Re: [PATCH v4 5/7] drm/tidss: Set bus_format correctly from bridge/connector Message-ID: References: <20201201121830.29704-1-nikhil.nd@ti.com> <20201201121830.29704-6-nikhil.nd@ti.com> <20201204115030.04509092@collabora.com> <655cfc4b-a414-47e1-f676-b11e410da32f@ti.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <655cfc4b-a414-47e1-f676-b11e410da32f@ti.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: Nishanth Menon , Jayesh Choudhary , Francesco Dolcini , Yuti Amonkar , Tomi Valkeinen , Sekhar Nori , dri-devel@lists.freedesktop.org, Boris Brezillon , Laurent Pinchart , Swapnil Jakhade , Devarsh Thakkar , Rahul T R , Vignesh Raghavendra Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Hello Aradhya, On Fri, Apr 14, 2023 at 01:19:38PM +0530, Aradhya Bhatia wrote: > On 30-Mar-23 22:47, Francesco Dolcini wrote: > > Hello, > > chiming in in this *old* email thread. > > > > Adding in copy a few more *@ti.com people recently involved in other tidss > > changes [1] > > > > > > [1] https://lore.kernel.org/all/20230125113529.13952-1-a-bhatia1@ti.com/ > > > > > > On Fri, Dec 04, 2020 at 11:50:30AM +0100, Boris Brezillon wrote: > >> On Tue, 1 Dec 2020 17:48:28 +0530 > >> Nikhil Devshatwar wrote: > >> > >>> Remove the old code to iterate over the bridge chain, as this is > >>> already done by the framework. > >>> The bridge state should have the negotiated bus format and flags. > >>> Use these from the bridge's state. > >>> If the bridge does not support format negotiation, error out > >>> and fail. > >> > >> That'd be even better if you implement the bridge interface instead of > >> the encoder one so we can get rid of the encoder_{helper}_funcs and use > >> drm_simple_encoder_init(). > > > > Did anything happened on this old discussion? I was working on a very > > similar change and after a while I realized about this thread. > > > Nikhil has moved on from TI. > > I will be taking up this patch series and implement the changes > requested. Great! What I was working on is really about having the media bus format taken from the closest bridge, this is really required for proper functionality when the display is connected through a bridge. This [1] is what I was working on before realizing about this specific patch here, in case you want to have a look. Please keep me in CC, I can test/review patches. Francesco [1] https://github.com/dolcini/linux/commit/150b1390bd4122a77c873d87bf506024f9775755