Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2623506rwd; Mon, 22 May 2023 01:31:50 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5wKwRfBAjjSdnVxfqQ63f3W10sUol9KjsWCz9L/7ttMrd6U7CNBPx/W6Xnyw90uEQNV1gD X-Received: by 2002:a05:6a20:8e05:b0:102:a593:a161 with SMTP id y5-20020a056a208e0500b00102a593a161mr11969777pzj.57.1684744310177; Mon, 22 May 2023 01:31:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684744310; cv=none; d=google.com; s=arc-20160816; b=a+k1XsuqMoxR8TFwYgnUV/TS4Ku1P9AMm3BzTCLK/hg0w0HICnm+spK3z2u0ic5NCB dfW1EfmRgCv6bcEHbPHEXAS3LunG5N3HSK98TPn8SgHoDB4nweLa2C/OuEHnxvwQ5Eb9 1UTrd5C6e9D1/PGBA/hvYaMSv2M31JOmmNIH4iO922H4iUx0QHwAZcCs4jlUCrMMKhoZ +XwfL5YNcAvqH0cmnjHo7d47iWGOTEDqYaj4DsmqjhP4PAet9+GS7BzuD/iRUOTdv/pR KAibfn260b6wOMl9LiwoBj4kTnAEjXnZhqjqjCkBINAasgJUKY/gLat3xl4fsIha4R6L Iusw== 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:dkim-signature; bh=CEzh8NtiSMppG423c8gu6qKCjTxE/QwNWBJIJuN287Q=; b=cvqEUI4mQlTbKg1VCKm1ergo8h/JL2yDq+AqDwxzsv6iHFuiceqk0lr6M3vUMJFE0L D+O0kVf/T9outrxtYEZCmNwUVea6nllVfCJHYPnormhHXinw/cEtYjU6nP64VIZ9GMRu T9V7BA/0bqRHdT6/MACtMtIZsailHwrBlWEKLT8jgxEbpVGjtH7AbaLIAVIDDTY9T0l9 dhIo9gnmMBQu+SVmIFq07nuZO4cWBhEIwbP2FdmXd1glnMoJo0do2WOpc5ZZP1/EgPz1 fbU8PKwUlKgM0Fgqfax7qyxDPbfZPz+Zy0anid4/BT3rCIyS5xlPrlI5voL/J0ppNUKi 810g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@xen0n.name header.s=mail header.b=Gi7Uq2ik; 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 i11-20020a633c4b000000b00534839d5ee7si4536685pgn.473.2023.05.22.01.31.37; Mon, 22 May 2023 01:31:50 -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; dkim=pass header.i=@xen0n.name header.s=mail header.b=Gi7Uq2ik; 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 S232122AbjEVITq (ORCPT + 99 others); Mon, 22 May 2023 04:19:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52040 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229996AbjEVITo (ORCPT ); Mon, 22 May 2023 04:19:44 -0400 Received: from mailbox.box.xen0n.name (mail.xen0n.name [115.28.160.31]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 87091B0; Mon, 22 May 2023 01:19:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=xen0n.name; s=mail; t=1684743580; bh=RZXp5Ck7yfTaCZh0IwtE2GL3yOChPwPMVkjIgiEYfqs=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=Gi7Uq2ike/7EE9dkmUHbd0oKSZQH8v8rapxy2X8W4bbdBJ5GxWUvUfwHEV7yogYnz m7b38NCttK19pbrc3o/BaBVBn6QU6kVPIiHCsQYhs/Qyvy99rzq8/4lg90OlErPQp2 cf6eE8TeW0uimep7ey+Omw9Quc6taN1r1qEDQsKI= Received: from [100.100.57.122] (unknown [58.34.185.106]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by mailbox.box.xen0n.name (Postfix) with ESMTPSA id DE4E1600DA; Mon, 22 May 2023 16:19:39 +0800 (CST) Message-ID: <74b273dd-4310-0106-a24c-c1b15db8ead9@xen0n.name> Date: Mon, 22 May 2023 16:19:39 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; 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: Sui Jingfeng <15330273260@189.cn>, 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> <6957f8b7-5e37-889f-0b48-d2424b891392@189.cn> From: WANG Xuerui In-Reply-To: <6957f8b7-5e37-889f-0b48-d2424b891392@189.cn> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,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 On 2023/5/22 16:14, Sui Jingfeng wrote: > Hi, > > On 2023/5/21 20:21, WANG Xuerui wrote: >>> + >>> +      If in doubt, say "N". >>> diff --git a/drivers/gpu/drm/loongson/Makefile >>> b/drivers/gpu/drm/loongson/Makefile >>> new file mode 100644 >>> index 000000000000..9158816ece8e >>> --- /dev/null >>> +++ b/drivers/gpu/drm/loongson/Makefile >>> @@ -0,0 +1,20 @@ >>> +# SPDX-License-Identifier: GPL-2.0 >>> + >>> +loongson-y := \ >>> +    lsdc_benchmark.o \ >>> +    lsdc_crtc.o \ >>> +    lsdc_debugfs.o \ >>> +    lsdc_device.o \ >>> +    lsdc_drv.o \ >>> +    lsdc_gem.o \ >>> +    lsdc_gfxpll.o \ >>> +    lsdc_i2c.o \ >>> +    lsdc_irq.o \ >>> +    lsdc_output_7a1000.o \ >>> +    lsdc_output_7a2000.o \ >>> +    lsdc_plane.o \ >>> +    lsdc_pixpll.o \ >>> +    lsdc_probe.o \ >>> +    lsdc_ttm.o >>> + >>> +obj-$(CONFIG_DRM_LOONGSON) += loongson.o >>> diff --git a/drivers/gpu/drm/loongson/lsdc_benchmark.c >>> b/drivers/gpu/drm/loongson/lsdc_benchmark.c >>> new file mode 100644 >>> index 000000000000..82961531d84c >>> --- /dev/null >>> +++ b/drivers/gpu/drm/loongson/lsdc_benchmark.c >>> @@ -0,0 +1,133 @@ >>> +// SPDX-License-Identifier: GPL-2.0+ >> >> Is it GPL-2.0, GPL-2.0-only, or GPL-2.0+? Please make sure all license >> IDs are consistent. > > > I see drm/vkms is also writing the copyrights similar. > > with "# SPDX-License-Identifier: GPL-2.0-only" in the Makefile, > > while "// SPDX-License-Identifier: GPL-2.0+" in the C source file. > > Sorry, I'm stupid, I can't figure out the difference between them. > > Personally, I really don't care about this as along as checkpatch.pl > don't complain. > > I respect the maintainers of DRM, they didn't told me to change it. > > I assume there is no problem. It's your work after all, so you get to license the work however you want (inside the kernel project's licensing requirements, of course), so maintainers won't interfere with that. I'm suggesting the license double-check because the whole driver is one piece of work, so it's better to be extra clear (you DO want to make sure things are clear when it comes to copyright, compliance & etc.) and make it as consistent as possible, but ultimately it's of course down to you. I think you may keep things as-is if others don't voice their concerns in the coming days. -- WANG "xen0n" Xuerui Linux/LoongArch mailing list: https://lore.kernel.org/loongarch/