Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp2033574pxb; Wed, 9 Feb 2022 09:29:18 -0800 (PST) X-Google-Smtp-Source: ABdhPJwPNn1nXg3MMgV49hf6FzwjBsyL32kiF/Unh4SCGoJZq18JVMHPMspPc45qCGp7v2AW4IAg X-Received: by 2002:a05:6402:35cd:: with SMTP id z13mr3785348edc.149.1644427758359; Wed, 09 Feb 2022 09:29:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644427758; cv=none; d=google.com; s=arc-20160816; b=g9HFyVGA3dfO4SbgedG56TXtnOvcqTCzLa91SD+coWNJj2WDQtCX2f41Qj/bajfR9P QrVJOKPqMy3/GicdZ/8oD2gqBfqkjmoRDnWoH+vedsdtSAcpKde01VPWPcAOhzVIHSpX UHrjoC2kYoGt6oDDHFhD3HVU0eCILkw+5JXoZdIgy0/e/Q3Joi+PeNxnnQ7penIFrWzz Jb2yHU6Mx7Gqdo6kzsZYthjM5MQahw8ImV5RRPtiJeGaQlbMIixzCcZ9hBiI8hUc/0DW 4/DXNPdRit8qMdt3gz2BF9e0kbZI9FntUhZJK+lQJFueNY2SqnyHeb9ordrqphK9CP1p IWTw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:subject:user-agent:mime-version:date:message-id :dkim-signature:dkim-signature; bh=TmJou/XbDJVWvQv3YSL4bJUa/8221zv0DCH0YWYGppc=; b=tlP6FVZlcL9gLO0naB5Ust7h8FagzyqScxWPsSr8Hp0Tm80/30V7OJt1tSzmNzpbns U2O5fIZvPcmBXr2E2WuEMTI5mGueOM9G2fjisj8rUykSx95+0Hx8L/2F+TwxmhNoe3EO sqTPV4mr2J2/Fnl2FN5MacvyuMiuJ27UEPQVpFb3fPwaWWR6igrhHTHFYTO55J3zqlKh PhaRwYykqrwWnwaqUTLJkRBLBK8RdSO6h5XfszeeqdBjv/RPmF9S1Pg41ye7D+769dSd MEd+4SCsCaY+kbEURpZ8Lty3NXAosWd4gkhT0jDuxh8HG80RqX6Uin7sTzdLzARv4+bM 1DCw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@flygoat.com header.s=fm1 header.b=m39aEsST; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=D24s8NWF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ek27si5240710edb.254.2022.02.09.09.28.50; Wed, 09 Feb 2022 09:29:18 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@flygoat.com header.s=fm1 header.b=m39aEsST; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=D24s8NWF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234871AbiBIOOV (ORCPT + 99 others); Wed, 9 Feb 2022 09:14:21 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50882 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233904AbiBIOOU (ORCPT ); Wed, 9 Feb 2022 09:14:20 -0500 Received: from new1-smtp.messagingengine.com (new1-smtp.messagingengine.com [66.111.4.221]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 09534C06157B; Wed, 9 Feb 2022 06:14:23 -0800 (PST) Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailnew.nyi.internal (Postfix) with ESMTP id 3FFF758016B; Wed, 9 Feb 2022 09:14:22 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Wed, 09 Feb 2022 09:14:22 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=flygoat.com; h= cc:cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm1; bh=TmJou/XbDJVWvQ v3YSL4bJUa/8221zv0DCH0YWYGppc=; b=m39aEsSTG/1rlyyX/TTWu51ZBaV5Ck iH8lf2grpzH46I2MRjyxDK6ggRR3JX3U/KYcHlXHddLSbDiLMtJ+gJtzCTZ/tmtx 16SoijoR4OZY7tGgWIj2D4bL31Gw6fjb8uYIZjm5QY+eJCFz3jnjb7Br1nJwbvEs xreO2Onm+kwRHdnOMpJvAznTpJvv6zdIv7fXyGoNAIBXd+sErrp8xS1lVW3eu7NY yl/zQbU4iAsRr7uYGxQjNkl9f6X2y7e3eoZLrTbhFdy+aY6zZJEC9zogc/cBHnAO yFiR8N3feNYgCFvPe985vxVJLfH0+9S8VMyAJzSss0yxR2ayissJt9sw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=TmJou/XbDJVWvQv3YSL4bJUa/8221zv0DCH0YWYGp pc=; b=D24s8NWFBRzM/pqaYTJ5dgrv5WmZp8+CL5gUVnY5vemFm6blxtabCM2z5 1xHR60MUWH3LZUU63D2HCpc9xKVDl9ZwEhXs+X38cL1raKxJsPecnlJxLJ53HoJG cJVUEcIkYlohx5oWqPiJZtAJopC2t4hFGXjb3Io0g1NWRojt+x0Kx/uZllNP+UnF IWt2k7vx9sI8TBOEWvYZr8VTE43eRLv+1ArqAQJIminD3LV7T7ZJZoEu/n85zwGM M5rI64c0z6uIvGEx6Dvt2m1aiv0lN93LhOpd4XKtcRqY/ILe97xK1CUJVbqrtXCT iByuGQ5O79sKzOkhYkWxqtwyT49OQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrheelgdeitdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefkffggfgfuvfhfhfgjtgfgsehtkeertddtfeejnecuhfhrohhmpeflihgrgihu nhcujggrnhhguceojhhirgiguhhnrdihrghnghesfhhlhihgohgrthdrtghomheqnecugg ftrfgrthhtvghrnhepheeiuddvvefhkeejfedttdekieethfdukedvieeuueelgfelieej geehvdekudelnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrh homhepjhhirgiguhhnrdihrghnghesfhhlhihgohgrthdrtghomh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 9 Feb 2022 09:14:19 -0500 (EST) Message-ID: <3133a629-eebf-928e-d6b0-72867d96d2b5@flygoat.com> Date: Wed, 9 Feb 2022 14:14:18 +0000 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.5.1 Subject: Re: [PATCH v6 1/3] drm/lsdc: add drm driver for loongson display controller To: Maxime Ripard Cc: Sui Jingfeng <15330273260@189.cn>, Dan Carpenter , Lucas Stach , Maarten Lankhorst , Roland Scheidegger , Zack Rusin , Christian Gmeiner , David Airlie , Daniel Vetter , Rob Herring , Thomas Bogendoerfer , Krzysztof Kozlowski , Andrey Zhizhikin , Sam Ravnborg , suijingfeng , linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Randy Dunlap References: <20220203082546.3099-1-15330273260@189.cn> <20220203082546.3099-2-15330273260@189.cn> <20220203085851.yqstkfgt4dz7rcnw@houat> <57805e19-285a-76d3-16e3-09a3eb7a9540@189.cn> <20220209085215.65qbdsgwtnvujdng@houat> <8e7f7946-b9e5-7c4d-f5c9-e091bf5f814b@flygoat.com> <20220209140432.ekqszxbtitmacpk5@houat> From: Jiaxun Yang In-Reply-To: <20220209140432.ekqszxbtitmacpk5@houat> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,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 在 2022/2/9 14:04, Maxime Ripard 写道: > On Wed, Feb 09, 2022 at 11:56:48AM +0000, Jiaxun Yang wrote: >> >> 在 2022/2/9 8:52, Maxime Ripard 写道: >>> On Thu, Feb 03, 2022 at 11:47:16PM +0800, Sui Jingfeng wrote: >> [...] >>> DT isn't really a solution either. Let's take the distribution >>> perspective there. Suppose you're a Fedora or Debian developer, and want >>> to make a single kernel image, and ship a DT to the user for their board >>> without any modification. How is either the Kconfig solution or DT flags >>> solution any good there? It doesn't help them at all. >> We are working in another way. As we can tell model of the board by strings >> passed from the firmware, we just built-in all poosible DTs into the kernel >> and then tell which DT to load at boot time. So we can ensure users has >> smmoth experience. > It's not really for you to say though. Once your driver is in a release, > distros are going to use it. That's the whole point of you asking us to > merge it. Ah I was meant to say we can determine which type of memory is best for a type of board and then hardcode it into ST accroading to the model. Though personally I want a knob in cmdline to override it at runtime. Thanks. - Jiaxun > > Maxime