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 X-Spam-Level: X-Spam-Status: No, score=-9.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0CD0BC388F7 for ; Tue, 3 Nov 2020 06:11:23 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id BD1892227F for ; Tue, 3 Nov 2020 06:11:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1604383882; bh=23DogF8cxNuHcdZPQ5HVx3IcI+ys/4JhUq4kkNZX/js=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=HLa7vH5UsmgfiRTbSPQxH+BbiuwBARGy84F2LguI1JJ6tKz54pvc1ID8EoUgYunp8 ogfJwHEFNBxe1Jci1PCjgTytaY+kvho6DU9qVK7e8dqkhmOa2Gw5g2Rjxx2YBA6QNR 6VlOFzAg2xpmIQAYqyVnHQy12pnQh3nTC6gwT0CA= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727520AbgKCGLW (ORCPT ); Tue, 3 Nov 2020 01:11:22 -0500 Received: from mail.kernel.org ([198.145.29.99]:39808 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727300AbgKCGLV (ORCPT ); Tue, 3 Nov 2020 01:11:21 -0500 Received: from localhost (unknown [122.179.37.237]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 07AFF22277; Tue, 3 Nov 2020 06:11:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1604383880; bh=23DogF8cxNuHcdZPQ5HVx3IcI+ys/4JhUq4kkNZX/js=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=mLXMYcoHk5jc5ulnuVbydiNUa9ym5FjoC4EufLQc59nmscXYde/WxczCKMjm14LoE U5RkcSAbE1C1Tg/1c3ZogjOS4A5wTgfNkPC8u8i+wey/llOfwZMoZxFNebaX19xFQa 3bh+2GP3a6HeNvheTdab9Zbg0QqRzM7fgQdso0EM= Date: Tue, 3 Nov 2020 11:41:16 +0530 From: Vinod Koul To: Doug Anderson Cc: Sam Ravnborg , Stephen Boyd , Andrzej Hajda , Neil Armstrong , Jernej Skrabec , Jonas Karlman , LKML , dri-devel , Sean Paul , Laurent Pinchart , Bjorn Andersson Subject: Re: [PATCH v2 0/4] drm/bridge: ti-sn65dsi86: Support EDID reading Message-ID: <20201103061116.GD2621@vkoul-mobl> References: <20201030011738.2028313-1-swboyd@chromium.org> <20201101173741.GA1293305@ravnborg.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, Thanks Doug for adding me On 02-11-20, 08:37, Doug Anderson wrote: > > On Thu, Oct 29, 2020 at 06:17:34PM -0700, Stephen Boyd wrote: > > Any chance we can convince you to prepare this bridge driver for use in > > a chained bridge setup where the connector is created by the display > > driver and uses drm_bridge_funcs? > > > > First step wuld be to introduce the use of a panel_bridge. > > Then add get_edid to drm_bridge_funcs and maybe more helpers. > > > > Then natural final step would be to move connector creation to the > > display driver - see how other uses drm_bridge_connector_init() to do so > > - it is relatively simple. > > > > Should be doable - and reach out if you need some help. Yes it is and doable and you find this at [1], would need a rebase though. > At some point I think Vinod tried to prepare a patch for this and I > tried it, but it didn't just work. I spent an hour or so poking at it > and I couldn't quite figure out why and I couldn't find enough other > examples to compare against to see what was wrong... That was a few > months ago, though. Maybe things are in a better shape now? It worked fine for me on Rb3 and db410c where we had HDMI connector. I don't have a panel device to test and Bjorn tried to help out with a bit of testing. This didn't work on the laptop, that is why I haven't posted it yet. This has conversion of msm driver and bridge drivers lt9611, adv7511 and ti-sn65dsi86. [1]: https://git.linaro.org/people/vinod.koul/kernel.git/log/?h=wip/msm_bridges_no_conn Thanks -- ~Vinod