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 B2198C6FD1D for ; Thu, 30 Mar 2023 17:17:51 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 8EC9F10EF49; Thu, 30 Mar 2023 17:17:50 +0000 (UTC) Received: from mail11.truemail.it (mail11.truemail.it [217.194.8.81]) by gabe.freedesktop.org (Postfix) with ESMTPS id 7FD2110EF2D for ; Thu, 30 Mar 2023 17:17:47 +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 61DD720378; Thu, 30 Mar 2023 19:17:45 +0200 (CEST) Date: Thu, 30 Mar 2023 19:17:40 +0200 From: Francesco Dolcini To: Nikhil Devshatwar 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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201204115030.04509092@collabora.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 , Aradhya Bhatia , Yuti Amonkar , Swapnil Jakhade , Sekhar Nori , dri-devel@lists.freedesktop.org, Tomi Valkeinen , Laurent Pinchart , Boris Brezillon , Devarsh Thakkar , Rahul T R , Vignesh Raghavendra Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" 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. Thanks, Francesco