mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Sui Jingfeng <15330273260@189.cn>
To: WANG Xuerui <kernel@xen0n.name>,
	Maarten Lankhorst <maarten.lankhorst@linux.intel.com>,
	Maxime Ripard <mripard@kernel.org>,
	Thomas Zimmermann <tzimmermann@suse.de>,
	David Airlie <airlied@gmail.com>, Daniel Vetter <daniel@ffwll.ch>,
	Sui Jingfeng <suijingfeng@loongson.cn>, Li Yi <liyi@loongson.cn>,
	Sumit Semwal <sumit.semwal@linaro.org>,
	Christian Koenig <christian.koenig@amd.com>,
	Emil Velikov <emil.l.velikov@gmail.com>
Cc: linaro-mm-sig@lists.linaro.org,
	loongson-kernel@lists.loongnix.cn,
	Geert Uytterhoeven <geert+renesas@glider.be>,
	linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org,
	Javier Martinez Canillas <javierm@redhat.com>,
	Nathan Chancellor <nathan@kernel.org>,
	Liu Peibao <liupeibao@loongson.cn>,
	linux-media@vger.kernel.org
Subject: Re: [PATCH v14 1/2] drm: add kms driver for loongson display controller
Date: Mon, 22 May 2023 16:29:29 +0800	[thread overview]
Message-ID: <d8e7a1ee-317c-6b44-27eb-ea637f8813ec@189.cn> (raw)
In-Reply-To: <97fe7af2-0a93-3f28-db6e-40a9b0798d49@xen0n.name>


On 2023/5/22 16:09, WANG Xuerui wrote:
> On 2023/5/22 16:02, Sui Jingfeng wrote:
>> 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.
>
> That's a good idea! For now the patch is so large that my review reply 
> is said to be dropped by the lists. Focusing on one bunch of similar 
> models first then adding support for the rest not-so-similar models is 
> very friendly towards the reviewing process and will help code quality 
> too.
>
>>
>>>> +      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.
>
> IMO this shouldn't be a problem. Let me try explaining this: 
> currently, upstream / the "new world" doesn't have any support for 
> this driver at all, so any name will work; just use whatever is 
> appropriate from an upstream's perspective, then make the userspace 
> bits recognize both variants, and you'll be fine. And the "existing" 
> userspace drivers can also carry the change, it'll just be a branch 
> never taken in that setup.
>
> So, I'm still in favor of keeping the upstream "clean" without dubious 
> names like this (bare "loongson"). What do you think about my 
> suggestion above?
>
No,

there is a 'arm' folder in the drivers/gpu/drm/,  It doesn't say that 
arm is a pure gpu company.

there is a 'ingenic' folder in the drivers/gpu/drm/, ingenic also have 
their own custom CPUs.

there is a 'amd' folder in the drivers/gpu/drm/, these doesn't imply amd 
is mainly a GPU company.

when a folder emerged in drm/, it stand for the GPU related part of this 
company.



  reply	other threads:[~2023-05-22  8:30 UTC|newest]

Thread overview: 43+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-20 10:57 [PATCH v14 0/2] " Sui Jingfeng
2023-05-20 10:57 ` [PATCH v14 1/2] " Sui Jingfeng
2023-05-21 12:21   ` WANG Xuerui
2023-05-22  7:27     ` Sui Jingfeng
2023-05-22  8:02     ` Sui Jingfeng
2023-05-22  8:09       ` WANG Xuerui
2023-05-22  8:29         ` Sui Jingfeng [this message]
2023-05-22  8:42           ` WANG Xuerui
2023-05-24  2:56         ` Huacai Chen
2023-06-12 14:40           ` Sui Jingfeng
2023-05-22  8:14     ` Sui Jingfeng
2023-05-22  8:19       ` WANG Xuerui
2023-05-22  8:51     ` Sui Jingfeng
2023-05-22  9:05       ` WANG Xuerui
2023-05-22  9:05     ` Sui Jingfeng
2023-05-22  9:09       ` WANG Xuerui
2023-05-22  9:25     ` Sui Jingfeng
2023-05-22  9:28       ` WANG Xuerui
2023-05-22  9:49         ` Sui Jingfeng
2023-05-22 10:05           ` WANG Xuerui
2023-05-22 10:17             ` Sui Jingfeng
2023-05-22 10:25               ` WANG Xuerui
2023-05-22 13:13                 ` Sui Jingfeng
2023-05-22 16:40                   ` WANG Xuerui
2023-05-24  2:52                     ` Huacai Chen
2023-05-25  4:09                     ` Sui Jingfeng
2023-05-25  4:14                       ` Sui Jingfeng
2023-05-22 11:11             ` Sui Jingfeng
2023-05-22  9:39     ` Sui Jingfeng
2023-06-13 16:20     ` Sui Jingfeng
2023-06-13 17:29       ` Sui Jingfeng
2023-05-20 10:57 ` [PATCH v14 2/2] MAINTAINERS: add maintainers for DRM LOONGSON driver Sui Jingfeng
2023-06-12 14:58 ` [PATCH v14 0/2] drm: add kms driver for loongson display controller Sui Jingfeng
2023-06-13  8:30   ` Maxime Ripard
2023-06-13  8:35     ` Sui Jingfeng
2023-06-13  9:10       ` Maxime Ripard
2023-06-13  9:17         ` Sui Jingfeng
2023-06-13  9:28           ` Maxime Ripard
2023-06-13  9:32             ` Sui Jingfeng
2023-06-13  9:41             ` Sui Jingfeng
2023-06-13  8:40     ` Sui Jingfeng
2023-06-13  9:11       ` Maxime Ripard
  -- strict thread matches above, loose matches on Subject: below --
2023-05-20 10:54 Sui Jingfeng
2023-05-20 10:54 ` [PATCH v14 1/2] " Sui Jingfeng

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=d8e7a1ee-317c-6b44-27eb-ea637f8813ec@189.cn \
    --to=15330273260@189.cn \
    --cc=airlied@gmail.com \
    --cc=christian.koenig@amd.com \
    --cc=daniel@ffwll.ch \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=emil.l.velikov@gmail.com \
    --cc=geert+renesas@glider.be \
    --cc=javierm@redhat.com \
    --cc=kernel@xen0n.name \
    --cc=linaro-mm-sig@lists.linaro.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-media@vger.kernel.org \
    --cc=liupeibao@loongson.cn \
    --cc=liyi@loongson.cn \
    --cc=loongson-kernel@lists.loongnix.cn \
    --cc=maarten.lankhorst@linux.intel.com \
    --cc=mripard@kernel.org \
    --cc=nathan@kernel.org \
    --cc=suijingfeng@loongson.cn \
    --cc=sumit.semwal@linaro.org \
    --cc=tzimmermann@suse.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®