Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2808762rwd; Mon, 22 May 2023 04:50:36 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6ZCSkO4LzdX3Q0pv/YGpm3OlfqwuIXqCegVzpDEJxUGkZ4bZw+B4N2VSn15Ty+C6OaQCLR X-Received: by 2002:aa7:88c5:0:b0:64a:f8c9:a42c with SMTP id k5-20020aa788c5000000b0064af8c9a42cmr13557383pff.18.1684756235887; Mon, 22 May 2023 04:50:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684756235; cv=none; d=google.com; s=arc-20160816; b=pN8AtPKLrgSNht49hN3fOdBZe+KpttPz4kC338vM1g5sriqc05kJlk/VTnfPTqNKq9 5st1M8CgXcBx4qfNzrQn5Y/ZNg0fvMQTf82cnomDidsBkBotGbgEZbEOnOh1GBiaCQc2 0F5ib5us80ZCXuVzetvccQKUS0Vq6FNwzJrHWgU1GubcrICViKnJkHiCj1bOfyS2hwgf iUAP1h2yNCkLitRfca1lxeBRZtX5B4kVzh3I3mdI20cvejSDuri/fx5xPwJdqLa4tztI vUOT8bOir+ccl88PZoXn8L7V24pyIjj8mNhgebnVhkZBIONTYhmodFsVgyRgkTS7Jflg CywA== 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:content-language:subject:user-agent:mime-version :date:message-id:sender:hmm_source_type:hmm_attache_num :hmm_source_ip; bh=DFGyBH2Pp2/DRgk4WpAqKHcHzx8M3/HfKd1qbzSWctU=; b=YkiYqamXiiMIaUJbcG1ooNTDaULfNJTGEL6nz0Zpw+L/6Twu5UkBdZc6xE0rFGWi2Q 4eDcsitFoKU7ejKGJ++DQc4ecnire8zkBjXELMtVGlpXOqSMziM5V8GxiHlIEb849Kx6 D0bg8VtEAABruK1AcNJ3bVJKu1KBB+3SnbAu4lgr7Tq4FhphzqHhPPG7TgSiM9OBorW/ 7vrwkDmb18wyX7XEJn6pEuy+nivO8VvERMfnSehyBzlU3zF8pKLb9uQKkUd9BwBXcM6y 284XlsjZ42VMxP0QAhE36nvT2V/W3h9B1EzYQLcmSLJmlJNuI1joIBgfqax3rQtY2Inx ogHg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x16-20020aa79a50000000b0063b13efdd06si4590730pfj.345.2023.05.22.04.50.21; Mon, 22 May 2023 04:50:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233372AbjEVLSg (ORCPT + 99 others); Mon, 22 May 2023 07:18:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58160 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232851AbjEVLSE (ORCPT ); Mon, 22 May 2023 07:18:04 -0400 Received: from 189.cn (ptr.189.cn [183.61.185.102]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 36DE4270B; Mon, 22 May 2023 04:11:53 -0700 (PDT) HMM_SOURCE_IP: 10.64.8.43:43282.1768237263 HMM_ATTACHE_NUM: 0000 HMM_SOURCE_TYPE: SMTP Received: from clientip-114.242.206.180 (unknown [10.64.8.43]) by 189.cn (HERMES) with SMTP id 19A0A100249; Mon, 22 May 2023 19:11:49 +0800 (CST) Received: from ([114.242.206.180]) by gateway-151646-dep-75648544bd-7vx9t with ESMTP id 7e6dec763f794de7a956c82faf1763ee for kernel@xen0n.name; Mon, 22 May 2023 19:11:51 CST X-Transaction-ID: 7e6dec763f794de7a956c82faf1763ee X-Real-From: 15330273260@189.cn X-Receive-IP: 114.242.206.180 X-MEDUSA-Status: 0 Sender: 15330273260@189.cn Message-ID: <6ff9a210-9d31-d0b0-f282-7640e95aac5e@189.cn> Date: Mon, 22 May 2023 19:11:48 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Subject: Re: [PATCH v14 1/2] drm: add kms driver for loongson display controller Content-Language: en-US To: WANG Xuerui , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , Li Yi , Sumit Semwal , Christian Koenig , Emil Velikov Cc: linaro-mm-sig@lists.linaro.org, loongson-kernel@lists.loongnix.cn, Geert Uytterhoeven , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Javier Martinez Canillas , Nathan Chancellor , Liu Peibao , linux-media@vger.kernel.org References: <20230520105718.325819-1-15330273260@189.cn> <20230520105718.325819-2-15330273260@189.cn> <26fd78b9-c074-8341-c99c-4e3b38cd861a@xen0n.name> <331e7baa-a83b-b0c9-37f7-0e8e39187df4@xen0n.name> From: Sui Jingfeng <15330273260@189.cn> In-Reply-To: <331e7baa-a83b-b0c9-37f7-0e8e39187df4@xen0n.name> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00, FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,FROM_LOCAL_DIGITS, FROM_LOCAL_HEX,NICE_REPLY_A,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=no 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 Hi, On 2023/5/22 18:05, WANG Xuerui wrote: > On 2023/5/22 17:49, Sui Jingfeng wrote: >> Hi, >> >> On 2023/5/22 17:28, WANG Xuerui wrote: >>> On 2023/5/22 17:25, Sui Jingfeng wrote: >>>> Hi, >>>> >>>> On 2023/5/21 20:21, WANG Xuerui wrote: >>>>>> + * LS3A4000/LS3A5000/LS3A6000 CPU, they are equipped with >>>>>> on-board video RAM >>>>>> + * typically. While LS2K0500/LS2K1000/LS2K2000 are low cost SoCs >>>>>> which share >>>>>> + * the system RAM as video RAM, they don't has a dediacated VRAM. >>>>> >>>>> CPU models are not typically prefixed with "LS", so "Loongson >>>>> 3A4000/3A5000/3A6000". >>>>> >>>> Here is because when you do programming, variable name should >>>> prefix with letters. >>> >>> Commit messages, comments, and log messages etc. are natural >>> language, so it's better to treat them differently. No problem to >>> keep code as-is IMO. >>> >> Then you get two name for a single chip,  take  LS7A1000 as an example. >> >> You name it as Loongson 7A1000 in commit message,  and then you have >> to define another name in the code,  say LS7A1000. >> >> "Loongson 7A1000" is too long,  not as compact as LS7A1000. >> >> This also avoid bind the company name to a specific product, because >> a company can produce many product. > > Nah, the existing convention is "LS7Xxxxx" for bridges But I see there are document[1] which named LS7A1000 bridge chip as Loongson 7A1000 Bridge, See [1] for reference, who is wrong in this case? [1] https://loongson.github.io/LoongArch-Documentation/Loongson-7A1000-usermanual-EN