Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp885382rdh; Thu, 23 Nov 2023 23:38:38 -0800 (PST) X-Google-Smtp-Source: AGHT+IGun6pT25mxqPmNchdMqVvdc/ZPcl2aC28Y7G2fYWmhp8LSW4F6esGOKfBSARa4oHwANkIL X-Received: by 2002:a17:902:ea84:b0:1cf:5543:a96 with SMTP id x4-20020a170902ea8400b001cf55430a96mr1826261plb.51.1700811518089; Thu, 23 Nov 2023 23:38:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700811518; cv=none; d=google.com; s=arc-20160816; b=h6qofoRCaDW5UKHvBiJp7O53OfF5CjUMQVt3XiQ36G0PcjJT9xxqTb54Dzt0BGdked 2wkVBVLrMe9CIYKj6Z93YumV3zFfKsXYxFi+WDtwop2b8EPRbzP29oEVg0kA3MoUQYL6 KyAdgR6ZGE4qX7swJp8AOJKMCyFSOLYB4Hibc3qCa6dnKvYVD1l0czLnnl3gRhoMirUP SwYC3qKRc+BdDtlv4Xt05R/UiGDkaBgTKjVGjYk83DiUOa5DxghT2ytIOjkFIJVgAHe0 2gmuZMTMaPKADxwWfQmLg7RySmVd0CRRS8sFfbK2L8wdhxoWDXGhJ9RYu0E1Q1BBJPZC ublA== 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=cHYu7s5xEpUKR/KUu6zosLbry7O/OXCpcriYL9+eynw=; fh=85CJ5sG8rJZTcyRVXK1+Pdg16foFZDxOpgfDbRWzy7s=; b=pVpaKur5bog9nGo9e7NlIaidb5FOc4HD6jb2lx4I6/2qvWT/BuumBxX8J8REid0ykg FuQz1GJ1cFGcp+1S4vHEHr3UGG8TPmThk3mNxKUvM4JBHh0X5McFDh/q5IfNV6XkNhh+ L0MH0wOn2AfzEwdGVqh7q5+3T1UmVCdYkr+v3VFys2VcFxl1h105Rh0Sghrjq+Bjezbb 5QWOGrXJeZvtxEWi4X1kC9MF/g91ysKCGliFkIA69q1fxpHK9P7EcdmRI+jbMNUWwiJC 4NhRzabfozigaQ70ZLErMxcf82zVoMJs/MizI/F3XDlwFwYco2RVfQoix4owu+djkuGR 9isg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=oh6UlYOt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 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. [23.128.96.36]) by mx.google.com with ESMTPS id a24-20020a170902b59800b001caac2f7aa0si2734825pls.27.2023.11.23.23.38.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Nov 2023 23:38:38 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=oh6UlYOt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 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 D2436805916F; Thu, 23 Nov 2023 23:38:34 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231572AbjKXHiQ (ORCPT + 99 others); Fri, 24 Nov 2023 02:38:16 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52342 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231496AbjKXHiN (ORCPT ); Fri, 24 Nov 2023 02:38:13 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 30033D5E for ; Thu, 23 Nov 2023 23:38:20 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5FCAEC433B9; Fri, 24 Nov 2023 07:38:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1700811499; bh=cHYu7s5xEpUKR/KUu6zosLbry7O/OXCpcriYL9+eynw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=oh6UlYOtFJKfOywL2u67NW5lbbbZuCBNtYX+uBAjqjs2hhAdlehEB1NQQRfkSb5PM 7ausyoRq/GNfV7veK31pcXca/hOthtLZx1zZ9NxCpIim8Zl7OFzO2d2X0jkQQhJk6l TqqSEIniz5oY9s3S2jQhTrKPT9GVSV81qa2EHyHE6MJUblR82bOrUM7qv55N1FlBTV 4mf1smg4oguUjrPB8sPsoiqxvQhKFB+8sn+O1BC2g+cOm7bbA9V5YQEXwXMZ64x72D snzNfFb0/ocKF5rg0mKBu6PNmUWCx0Rq3+kQ6om1Klp94b7kpsIV+HtySF5V4r1iLk MKpqgMo3DATKg== Date: Fri, 24 Nov 2023 08:38:16 +0100 From: Maxime Ripard To: Sui Jingfeng Cc: Dmitry Baryshkov , Phong LE , Neil Armstrong , Sui Jingfeng , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Laurent Pinchart , Thomas Zimmermann Subject: Re: [PATCH 8/8] drm/bridge: it66121: Allow link this driver as a lib Message-ID: References: <20231114150130.497915-1-sui.jingfeng@linux.dev> <20231114150130.497915-9-sui.jingfeng@linux.dev> <79301d04-c0cb-4740-8a6d-27a889b65daf@linux.dev> <121163c9-0d56-47ad-a12e-e67390fef2b4@linux.dev> <00ba2245-0e48-4b21-bcd4-29dfb728e408@linux.dev> <10c4ae94-525f-4ac1-9d59-80bb4f7d362e@linux.dev> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="2e3vfplf3w4vhnaj" Content-Disposition: inline In-Reply-To: <10c4ae94-525f-4ac1-9d59-80bb4f7d362e@linux.dev> X-Spam-Status: No, score=-1.3 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,T_SCC_BODY_TEXT_LINE 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]); Thu, 23 Nov 2023 23:38:35 -0800 (PST) --2e3vfplf3w4vhnaj Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Nov 24, 2023 at 01:52:26AM +0800, Sui Jingfeng wrote: > On 2023/11/23 16:08, Dmitry Baryshkov wrote: > > > I'm agree with the idea that drm bridges drivers involved toward to a= direction > > > that support more complex design, but I think we should also leave a = way for the > > > most frequent use case. Make it straight-forward as a canonical desig= n. > > Not having anything connector-related in the drm_bridge driver is a > > canonical design. >=20 > What you said is just for the more complex uses case. I can't agree, sorr= y. >=20 > By choosing the word "canonical design", I means that the most frequently= used > cases in practice are the canonical design, 95+% motherboards I have seen= has > only one *onboard* display bridges chip. For my driver, I abstract the in= ternal > (inside of the chip) encoder as drm_encoder and abstract the external TX = chip as > drm_bridge, this design still works very well. >=20 >=20 > Originally, I means that this is a concept of the hardware design. > You are wrong even through in the software design context, the > transparent simple drm bridge drivers(simple-bridge.c) also *allow* > to create drm connector manually. I don't think I need to emulate > more example, please read the code by youself. Ok. That's it. We've been patient long enough. You have been given a review and a list of things to fix for your driver to be merged. Whether you follow them or not is your decision. We won't tolerate insulting comments though. Maxime --2e3vfplf3w4vhnaj Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYKAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCZWBS6AAKCRDj7w1vZxhR xV34AQCz710W6l+pqHVmnN65/ken9vPhvpEMfiUkcQIzarcRvgD+LacFo0COf1Ot dcbPr76F+Hw8q8Q95b7aIhVgJyZydQQ= =nZjB -----END PGP SIGNATURE----- --2e3vfplf3w4vhnaj--