Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2615077rwd; Mon, 22 May 2023 01:21:37 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5BZby2QOYxGBoEUMOpE/bFuzdsLXewRQiWg/xt1sTUMeADm5bWLMiQEn8b5wJFo0LUykQl X-Received: by 2002:a05:6a20:4428:b0:10b:2c0:39c5 with SMTP id ce40-20020a056a20442800b0010b02c039c5mr5857669pzb.33.1684743697114; Mon, 22 May 2023 01:21:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684743697; cv=none; d=google.com; s=arc-20160816; b=gZlYIZi7RDyaHwBbSXKxTuAKtZq4oU4loXE8p1MXgppvYt+w2mEYT2Ty945RFg90Zb CnLuhEP86g6NJudWpubPo90L2nkNXBJoibNbboinYsqC+nhX4JOMk/gR+hnQm4DgNsUn G4VMfzKcaJn6aJniSu0/hxZVzsTVjltDPdfQ729EP2rKWkjUGRufQNbmFR2eR++WSEZ6 0ISVipyeSm5yHw/xjr3TFgvYCx439wCQeK0VCcIbMPlae7QeT3IfDl4Yf7KBWJTXj677 gSn2cR4Tun2oWa/t2se06qREfYXE88WO292mKC9JR+o0ecSYXpIEz2pcqmOUmgl9/lqb BMWQ== 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=AgPdUOAjLzo6LLPXIH24gIpA5av6Mx25L5yEA0ZEAAc=; b=YCdigw/YjNi/U7S1oq0bRfTxC5J3oiQUjSWM2wX/coHSft9F9VGcSJEJYis0Wu64Qg 9a+sdVyjDwftDegvdbMxQJXUpPUNBzbKWXIq6ZJags6fTes8eKSpjvrC2V3zGKLp8bM4 aFWUkS87vmMpCEZVpQ6hMgZ+2TSstFBCuioUXSXQdbtB5D38sC+5aAAEiYmmF+OlrMNy 2RsXx85qqN0lxj583Ah3aRoARvFuurdW8w/+9/y+l4eMab1/7GyVBFL61/6bhXqzvUju DRFYiuVws+ttgoLNoxxIPjhICLcTKdqDfYZLiO3lfwKd9vSVdkJdS8fT/7QEatdftZdg iUMQ== 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 n24-20020a638f18000000b0052132a8e4e3si4388489pgd.510.2023.05.22.01.21.24; Mon, 22 May 2023 01:21:37 -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 S231748AbjEVIOo (ORCPT + 99 others); Mon, 22 May 2023 04:14:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49472 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229729AbjEVIOn (ORCPT ); Mon, 22 May 2023 04:14:43 -0400 Received: from 189.cn (ptr.189.cn [183.61.185.104]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id CAA25AB; Mon, 22 May 2023 01:14:41 -0700 (PDT) HMM_SOURCE_IP: 10.64.8.43:44024.345458232 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 C5A9F102946; Mon, 22 May 2023 16:14:39 +0800 (CST) Received: from ([114.242.206.180]) by gateway-151646-dep-75648544bd-7vx9t with ESMTP id 007f8fdc7329415ea6894140ca1e23a5 for kernel@xen0n.name; Mon, 22 May 2023 16:14:40 CST X-Transaction-ID: 007f8fdc7329415ea6894140ca1e23a5 X-Real-From: 15330273260@189.cn X-Receive-IP: 114.242.206.180 X-MEDUSA-Status: 0 Sender: 15330273260@189.cn Message-ID: <6957f8b7-5e37-889f-0b48-d2424b891392@189.cn> Date: Mon, 22 May 2023 16:14:38 +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,RCVD_IN_MSPIKE_H2,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: >> + >> +      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.