Received: by 2002:a05:7412:a9a2:b0:e2:908c:2ebd with SMTP id o34csp2794242rdh; Mon, 30 Oct 2023 07:57:03 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGsDaFjwrbLAgX0QekgJFXEp7+74cpZfkuybCfDFPUPnv6E28dLbuVAaiNycGGfCgU6ZLqk X-Received: by 2002:a17:90b:b09:b0:280:2c16:2186 with SMTP id bf9-20020a17090b0b0900b002802c162186mr2900012pjb.30.1698677822628; Mon, 30 Oct 2023 07:57:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698677822; cv=none; d=google.com; s=arc-20160816; b=S+omDc7f6LKSTy12nkvoYwqfMcH8golKNREh9ONf0DWgKz+3RGcl7s9Yptxle48C/c WoLxfiUuR6HRv7i8311zP2HY1L0fMRoCUIzzmY1bNpbzuIjfhDADasEs8YYss+0/oV6n +GOwVDvbwUoruTCcanvCyERncMe+9ctFjnqquVpE1M8c9Q9/EA64QeChxN6ak119oyth su8W9nHdhGRsni/r3jrbfNMogOMyAD8VVKJD0dan1yoMebMGecCuP3Og40J/QFNcFs1J /8Wzmu7JS99wELtFpi4xprZlwk3XwcZPbuh9kyLM/tWXm34XGJDzP9MufRj7+JIWlxud q+5Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=hUDk2Io0tpBbunzEzOh3GdRHINjI3oZ+1i6zPqaIY5w=; fh=nQUpfzeeKqKfX7imrDUA+SGz1xA9qK1au83hzl5+u8E=; b=E1+dzZCu2lylKXhSRHNFWAlGen8Bh8MOOAxFjSTu4Py5mqkRZFlNfTctEWzyboN301 g2ZKe7FUiPuhqksgtCExKCQtKYqkjXhHx3yUN4AWGja3EY3nrXO3np6sg4HqBoz1wZLi fvx55MuMcjg8Zc3CJF3oznssdA5kTNgFWK8ZqfBlwio3xfxRDw+ZCpQigUQ/VWw2GyQ9 uM/psbHR2EVM9uGw67ymIwJag0fy5/2lt8jffW7dTzXAf3YZfkRuRRsCWtBLDoCRe38k WQj1RAcBsdsm8w6hLk/54SV5QQIrq6yfg0OEvSBkOPy5eOR4IpsDhilh6Bq+V0hsxoRr NDRA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="n+YUrvm/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id ct14-20020a17090af58e00b00263c4af31f2si4970849pjb.157.2023.10.30.07.57.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Oct 2023 07:57:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="n+YUrvm/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 025C7805B2ED; Mon, 30 Oct 2023 07:57:00 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233548AbjJ3O4q (ORCPT + 99 others); Mon, 30 Oct 2023 10:56:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53596 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232542AbjJ3O4p (ORCPT ); Mon, 30 Oct 2023 10:56:45 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EA347C6 for ; Mon, 30 Oct 2023 07:56:42 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3F577C433C8; Mon, 30 Oct 2023 14:56:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1698677802; bh=hUDk2Io0tpBbunzEzOh3GdRHINjI3oZ+1i6zPqaIY5w=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=n+YUrvm/Je0u2606XoTNwXzqCSKihU42ijdLZc/jjbBEGk/ugjwcQ2p1JxL+XofT/ /dbY5fdORG38mNA1D5MN6wz98rpeQ8+z48OXzszOKWnlUUbQulz/NQgGLfjtxe7cMv 8CzFZ9Up1NESuhH0g0xM7UInq5MCcbcEhjmzuaVDartMMOFN1wpIhhIunG0Tagl2p3 3vafCm1M6gRGJ7cF0cUOjt/DAF5iVu6DW1dAkUuNOkmiVAbNd0MrGKc0L0SG9nOBJ0 1jJvm3oHIfK7b8kRkpIasDC63go2nH0zcbpY8HYGv8mvZDxdcoP4K/YQZczDTyfBf7 Hsabcm+n4JvRA== Date: Mon, 30 Oct 2023 15:56:39 +0100 From: Maxime Ripard To: Sui Jingfeng Cc: Dmitry Baryshkov , Thomas Zimmermann , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org Subject: Re: [PATCH 2/8] drm/loongson: Introduce a drm bridge driver for it66121 HDMI transmitter Message-ID: References: <20231029194607.379459-1-suijingfeng@loongson.cn> <20231029194607.379459-3-suijingfeng@loongson.cn> <3ccb9600-6990-4ec7-81de-0d7b4e1294eb@loongson.cn> <9926d2cf-5f92-4f4a-bc4d-423b07e38a3c@loongson.cn> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="3na4bddtqnsdu2tn" Content-Disposition: inline In-Reply-To: <9926d2cf-5f92-4f4a-bc4d-423b07e38a3c@loongson.cn> X-Spam-Status: No, score=-1.7 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Mon, 30 Oct 2023 07:57:00 -0700 (PDT) --3na4bddtqnsdu2tn Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Oct 30, 2023 at 10:39:32PM +0800, Sui Jingfeng wrote: > Hi, >=20 >=20 > On 2023/10/30 21:39, Maxime Ripard wrote: > > On Mon, Oct 30, 2023 at 09:25:50PM +0800, Sui Jingfeng wrote: > > > I think my approach provide a solution, while still keep the bridges = drivers > > > to a modular at the same time. Despite simple, it indeed solve the pr= oblem. > > > It simple because of explicit control of the loading order by myself,= not by > > > rely on the framework or something else (say component) > > >=20 > > > It is not totally duplicating, I have rewrite part of them. You can c= ompare > > > to see what I'm changed. It is just that it66162 was upstream-ed earl= ier than > > > our solution. But I also have write display drivers for lt8618 and lt= 8619 > > > completely by myself. > > >=20 > > > Even though our local drm bridges driver will not be able to enjoy th= e updates. > > > We will accept such a results(or pain). I can maintain our local drm = bridges > > > drivers by myself. Sorry, on this technique point, we will not follow= your idea. > > > I'm sure that my approach is toward to right direction for our device= at now. > > > If someone invent a better solution to handle this problem, which mak= e the > > > various drm bridges drivers usable out of box, then I will follow and= cooperate > > > to test. > > As far as I'm concerned, the two options are either you reuse the > > already existing driver or this series isn't merged. >=20 > It's not that I don't want to use thealready existing display bridge driv= er, > It is just that it is not suitable for non DT-based system to use. The code is there, you can modify it to make it suitable for non DT-based systems. > Our system using UEFI+ACPI, beside the I2C, there also have GPIO HPD > interrupt hardware. ACPI-based system and DT-based system have > different way to use(request) the hardware. Can you feel my words? Not really, no. There's plenty of drivers supporting both ACPI and DT based systems. > If the variousdisplay bridge drivers are really ready to use Nobody said they would be ready to use. You are expected to make them work for you though. > why I have to refuse? I mean, you can totally refuse to do whatever we ask. Just like we can also totally refuse to merge these patches. Maxime --3na4bddtqnsdu2tn Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYKAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCZT/EJwAKCRDj7w1vZxhR xc7XAP9IxCtEYb2zQLmicNGCaDXghhWwpXmiDNmbg0NxoJnpcwD8CvcunFd0uffN +wKV4ZyoRME0xCPiOxPfdRozdwbSjAM= =ckG7 -----END PGP SIGNATURE----- --3na4bddtqnsdu2tn--