Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp903571rdh; Fri, 24 Nov 2023 00:14:36 -0800 (PST) X-Google-Smtp-Source: AGHT+IHEwY6BxFHyXsJ3jVwTxRVnADLX6W3B3mCUjd4I7i8bED0UPAaFGgkwTRP+z4zKSweAbVvb X-Received: by 2002:a05:6a20:d704:b0:189:c0e1:4979 with SMTP id iz4-20020a056a20d70400b00189c0e14979mr2469369pzb.29.1700813676097; Fri, 24 Nov 2023 00:14:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700813676; cv=none; d=google.com; s=arc-20160816; b=DyE084pOCpBvfFRc5ILeuDOtwYJQOUOALOptzvp4MwX6OKwy8XlVvEN7qKWINcL5nY dOQpfkcSjOdERoCbhuJeq0gSuBER33cZM+ALZYcxO4gtWKKlqL+RS1lC0KKhQYhP7x++ 64/H9Jc/x+EpsG2irap3PvaRxXj/0SugM6lP29GDMaaUHW3VN5jcz8Ki1pdWrKXnXJ6K 8KRpGQcW+vnGrz95y55zG7VuTN5kOYSyhTWuRpatnBIsDA8cDHsipzT3o/0UuMEtYrRO 74VWVMSDd37ChTkNm3QYO+Wodef3Yw+hNsOBoufxVU9ze6ebbMA8rhaXAocoXUTglOWG pHsQ== 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=WEcNKU+sV+rxevVcyZo2IDgUlh92ZvNyu1LEanfUjAs=; fh=85CJ5sG8rJZTcyRVXK1+Pdg16foFZDxOpgfDbRWzy7s=; b=oZX0F6yglUT1hXO9jB9830R2P2bp5pt5Lbk7DPv2MT3X6UKUMRuahks+KHBxzGl/4T canZdlILRBfFVoApJAONUxz15NVi8bd4+geQzeHtJApGgcGgXh9ivcdli7gKb09yYJ9t aTuRwIN57zNPF3ScwXcdWOCYte9atniXS4qjniIj+qhFsJLrqdaeU6Nh88OMrfsxDuwd idMMWKt3vATaf8/iQ4q5FBbSdhWNoL+yfrftTj9KFGXnk902J0Qw9tw1G5jM2qnZcaQW ERGBEwByBt3XNXQogmTDb+XVBs08jDMd/zlllC9R7/EhnFC6J1ERu0t/w4uMqpdhXpBg jTVw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=D0DoYX20; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id j191-20020a6380c8000000b0057d7cff25b8si2920888pgd.198.2023.11.24.00.14.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Nov 2023 00:14:36 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=D0DoYX20; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 snail.vger.email (Postfix) with ESMTP id B0FD48218E5E; Fri, 24 Nov 2023 00:14:34 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344572AbjKXIOY (ORCPT + 99 others); Fri, 24 Nov 2023 03:14:24 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33346 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235222AbjKXIOG (ORCPT ); Fri, 24 Nov 2023 03:14:06 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4C98E10C9 for ; Fri, 24 Nov 2023 00:13:38 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2AD18C433C7; Fri, 24 Nov 2023 08:13:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1700813618; bh=WEcNKU+sV+rxevVcyZo2IDgUlh92ZvNyu1LEanfUjAs=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=D0DoYX20WM2/tp5+/f8+05KiDurCpA6fxrIOekITz8B3MAxN2dtvDCWK4mu63AR6D Qmkvwnq80xQPbKFyCSWBlKfXnkYRKOeE8d7LQ2TBC0MqnVyVGpodlihJNqsLysxsYN D8MnsKLt9xkP1/SQuL35tLUsC2NTnbDbLoJIPWRSRmE5HXQJaH7E8AZj1Dpp/c/yw/ L0sYU4INeFOVDtHmgUi45hhUeU4pxA1I23hXqOOM1ffHfFgOnzAxx3fiweT8NJY3la VH9oikswckHZTX+bwWt3VgrgPcUFuU6rrwCRhpPnHuA+F56X18nyWX3r2Ukyf4Vnsf /hWqSsNMkZQPw== Date: Fri, 24 Nov 2023 09:13:35 +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: <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="qnqmnmnzzhh72fzj" Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-4.5 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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 (snail.vger.email [0.0.0.0]); Fri, 24 Nov 2023 00:14:34 -0800 (PST) --qnqmnmnzzhh72fzj Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Nov 24, 2023 at 03:51:00PM +0800, Sui Jingfeng wrote: > Hi, >=20 > On 2023/11/24 15:38, Maxime Ripard wrote: > > 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 leav= e a way for the > > > > > most frequent use case. Make it straight-forward as a canonical d= esign. > > > > Not having anything connector-related in the drm_bridge driver is a > > > > canonical design. > > > What you said is just for the more complex uses case. I can't agree, = sorry. > > >=20 > > > By choosing the word "canonical design", I means that the most freque= ntly 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 th= e internal > > > (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. >=20 > 'emulate' -> 'enumerate' > > > 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. > > This series is not relevant to my driver, can we please *limit* the > discussion to this series? Right, I conflated the two, I meant this series, or the general goal to enable that bridge with your driver. The rest of the driver is of course unaffected. > > Whether you follow them or not is your decision. > > I'm not saying that I will not follow, just to make sure what's > solution is you want. I need discussion to figure out. You had direct, repeated, feedback on that already by a maintainer and one of the most experienced dev and reviewer on bridges. If you need more guidance, you can definitely ask questions, but asking questions and telling them they are wrong is very different. > > We won't tolerate insulting comments though. > > There is *no* insulting, please don't misunderstanding before > *sufficient* communication, OK? Originally, I thought Dmitry may > ignore(or overlook) what is the current status. Saying to someone maintaining and/or reviewing that code for years now that they are wrong and should go read the code is insulting. Maxime --qnqmnmnzzhh72fzj Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYKAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCZWBbLwAKCRDj7w1vZxhR xdY5AQD/LEZkLMpbGSHD0FayjwmtzKSJdt/WA2RSKygq+cakQwEA8SyGHlCGSsMC mD6b3nI8yAP5v8voxIq/uhpxvN67HAc= =Mr+I -----END PGP SIGNATURE----- --qnqmnmnzzhh72fzj--