Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2612716rwd; Mon, 22 May 2023 01:18:45 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5MGx8ynOB9gD8Rq7buBGGMsDmmRGinxwkf2tCOr3kxjbYzvgDYgTUBfU2YzJFiJ5UKajQg X-Received: by 2002:a17:902:e995:b0:1ae:536c:3d9c with SMTP id f21-20020a170902e99500b001ae536c3d9cmr11184668plb.37.1684743525512; Mon, 22 May 2023 01:18:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684743525; cv=none; d=google.com; s=arc-20160816; b=V1fOx7VZHQUbVZqHRI29dtkFqxegBsYTG5FyZn/ZLcu/IwKVWxvnRmWcVDkd9fvpjc XLPLngeK8DUwpAB7zdnhEJelJ7rRYyUrjeJMMfBFS2iIXez9JZm69x5Yke52rtfh1+N0 zHCnXw5rpkGSZG1byHiWruVMvfu7yG6B2+ZEpBjjnkkmbri2dcWR34NTKUMLVy8E2FMT iCevy19MfTegR7TVhqpsOJlvdMytRh+HcJ8ZM0rGqI7lJKOrg49qYdpU1eVFA1GoAkU8 U5fNHaBKbKByMfavGGiKSHsmZ8pOc3q03ekVP21HY0D8DprfBTb7mX8OOvQNRSW0j6Te VVXA== 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=//vhSHNbzYvB9jihom1oyqP5+BLGilwNmWtRpqoch4Q=; b=JXhNcqarVBotzromPxz0SpFsXdouvrhiYlLZspTDvnrYY1Unj8O8ZTG5M4y75MPGuF zndGl8Wb/ALboPdpXjQsCXHJozz71jliYypPXhbpFPrJ/af3fQjaWhtotqg6BIQAwiKh JBOsLnWGUt6juz8e4blYhiyt3el6D54lskLCIUJh54gLsgekIiMtoGOPUvZI8NgNwmMV hTW9pVlKip+NAV+NF3r2TQ+QcZiW5SvzfKDHYCe9gV9EHSE61IO/JfywRGdinmEIWvve kD2XQBvJtMEEopapD46wLSyLS/dNmnvN/FIBSj/c4wtaPMaXBKAA8fVU/P5AH8HT1dfc ZvoA== 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 v11-20020a1709029a0b00b001aaf6228a70si847857plp.325.2023.05.22.01.18.33; Mon, 22 May 2023 01:18:45 -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 S230486AbjEVICs (ORCPT + 99 others); Mon, 22 May 2023 04:02:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45456 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229639AbjEVICj (ORCPT ); Mon, 22 May 2023 04:02:39 -0400 Received: from 189.cn (ptr.189.cn [183.61.185.103]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id D4161AB; Mon, 22 May 2023 01:02:37 -0700 (PDT) HMM_SOURCE_IP: 10.64.8.43:58120.1490266714 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 00AEA1002C4; Mon, 22 May 2023 16:02:34 +0800 (CST) Received: from ([114.242.206.180]) by gateway-151646-dep-75648544bd-7vx9t with ESMTP id 1a4434578fbd45abb00625fc7c141694 for kernel@xen0n.name; Mon, 22 May 2023 16:02:36 CST X-Transaction-ID: 1a4434578fbd45abb00625fc7c141694 X-Real-From: 15330273260@189.cn X-Receive-IP: 114.242.206.180 X-MEDUSA-Status: 0 Sender: 15330273260@189.cn Message-ID: <73447e35-f4df-9871-6210-b7bf1a3f04fc@189.cn> Date: Mon, 22 May 2023 16:02:34 +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 , Sui Jingfeng , 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> From: Sui Jingfeng <15330273260@189.cn> In-Reply-To: <26fd78b9-c074-8341-c99c-4e3b38cd861a@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/21 20:21, WANG Xuerui wrote: >> --- /dev/null >> +++ b/drivers/gpu/drm/loongson/Kconfig >> @@ -0,0 +1,17 @@ >> +# SPDX-License-Identifier: GPL-2.0 >> + >> +config DRM_LOONGSON >> +    tristate "DRM support for Loongson Graphics" >> +    depends on DRM && PCI && MMU >> +    select DRM_KMS_HELPER >> +    select DRM_TTM >> +    select I2C >> +    select I2C_ALGOBIT >> +    help >> +      This is a DRM driver for Loongson Graphics, it may including > > Drop "it may"; "including" should be enough. > 'it may' is more *precise* here, because currently we don't ship with the support for loongson 2K series SoC. I'm try to be precise as far as I can, we avoid made this driver too large by ignore loongson 2K series SoC temporary. >> +      LS7A2000, LS7A1000, LS2K2000 and LS2K1000 etc. Loongson LS7A >> +      series are bridge chipset, while Loongson LS2K series are SoC. >> + >> +      If "M" is selected, the module will be called loongson. > > Just "loongson"? Yes,  when compile this driver as module,  loongson.ko will be generated.  drm radeon is also doing so, See drm/radeon/Kconfig. > I know it's like this for ages (at least dating back to the MIPS days) > but you really don't want to imply Loongson is mainly a GPU company. > Something like "loongson_drm" or "lsdc" or "gsgpu" could be better. No, these name may have backward compatibility problems. Downstream driver already taken those name. userspace driver need to differentiate them who is who.