Message ID | 20230608024207.581401-1-suijingfeng@loongson.cn |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp7469vqr; Wed, 7 Jun 2023 20:04:03 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7rBdvhDsp0alqaxiR5XgrBPmGrsfOeXOjtpjsbFKVUyqEK7Km/BptFEV23bK7Kut6LIjvC X-Received: by 2002:a05:6a00:3919:b0:64c:aa98:a69f with SMTP id fh25-20020a056a00391900b0064caa98a69fmr4321341pfb.1.1686193443202; Wed, 07 Jun 2023 20:04:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686193443; cv=none; d=google.com; s=arc-20160816; b=uSwOstTiTKrnhUUAN34um5J84GYGlINLUbkxaropf7Mq6W9mPVlKrJS+2pc8fmJJc+ 6RBXAdWV1o7q0Phw6cauIesnQJalI2m/JnBHlZ8cNRIQRxIbHIWcQReTUd2Kt6gnoRnj FFNINOaKBWR8d9CvkGztPHSuXEccmPvgPI7uELrVtlOCama+DeVDiaTf5KiAVhWUp3uQ 5l/XLbuwuYDlc8fgUypQetcQRrD+FxYkAlW58tGMyzeuiyVnpZEUuYrORulPQyi+jSzS ZPMRvbufa8lIlNLp8/RZpVYohYocOocmm+6EOnyafpQzL86zHA9iOAflPvtvc+vEcv4Q ZUhQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=QWgaXKfJ4uaCj7CoMskPgutGQBkZxQfsxlPCzu+A51M=; b=l42K02E5aDFa9avq+sAWzVVa3+5hj/uXoRMnmpEiwEXE0rHUiqKcjHeIIDhZxxD4zN UW+Ww57qov4l1zOuozGV5qYhXS8q1savsFGiZEoSDpr0VwqWpnLaprdDRbzOtlhQqvfT +AW5lsqy6LG3e2k5ZXW63MJcUpoVZgSA8EKlGy/bZRicTzbL7xve4J78lO/wgN3FOOgx 7rMK7LGvbbNq8yOODvUkc5vh5Gem05Ql5V1ob/SMS2fn1m3EejpMiLV5utkgTU/3pGa3 Be83FjgMvgCvIZzndgMItlzZOf/MLEsMrz+79xxY+7gEgv0wfbzpojECgpQ+QsdLqdLa a5Ig== 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y16-20020aa79e10000000b0063b13efdd06si61746pfq.345.2023.06.07.20.03.51; Wed, 07 Jun 2023 20:04:03 -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 S233608AbjFHCmQ (ORCPT <rfc822;literming00@gmail.com> + 99 others); Wed, 7 Jun 2023 22:42:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46678 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231698AbjFHCmN (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 7 Jun 2023 22:42:13 -0400 Received: from mail.loongson.cn (mail.loongson.cn [114.242.206.163]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 85E631FFA for <linux-kernel@vger.kernel.org>; Wed, 7 Jun 2023 19:42:12 -0700 (PDT) Received: from loongson.cn (unknown [10.20.42.43]) by gateway (Coremail) with SMTP id _____8AxHusAQIFkpFQAAA--.1205S3; Thu, 08 Jun 2023 10:42:08 +0800 (CST) Received: from openarena.loongson.cn (unknown [10.20.42.43]) by localhost.localdomain (Coremail) with SMTP id AQAAf8DxVeT_P4FkcEsGAA--.20555S2; Thu, 08 Jun 2023 10:42:07 +0800 (CST) From: Sui Jingfeng <suijingfeng@loongson.cn> To: Paul Kocialkowski <paul.kocialkowski@bootlin.com>, David Airlie <airlied@gmail.com>, Daniel Vetter <daniel@ffwll.ch> Cc: dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: [PATCH v2] drm/logicvc: Kconfig: select REGMAP and REGMAP_MMIO Date: Thu, 8 Jun 2023 10:42:07 +0800 Message-Id: <20230608024207.581401-1-suijingfeng@loongson.cn> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CM-TRANSID: AQAAf8DxVeT_P4FkcEsGAA--.20555S2 X-CM-SenderInfo: xvxlyxpqjiv03j6o00pqjv00gofq/ X-Coremail-Antispam: 1Uk129KBj9xXoW7Xry8AF4DJryDAw45Zr1kJFc_yoWDCrc_Gw 4vvrnrGF43uryDKFy7AFWrZryYya18uFs7ZFnrt3s5K347Ar13Xaya9ry5Xr13W3WUuF4D AaykZFyjyrs7WosvyTuYvTs0mTUanT9S1TB71UUUUUDqnTZGkaVYY2UrUUUUj1kv1TuYvT s0mT0YCTnIWjqI5I8CrVACY4xI64kE6c02F40Ex7xfYxn0WfASr-VFAUDa7-sFnT9fnUUI cSsGvfJTRUUUb28YFVCjjxCrM7AC8VAFwI0_Jr0_Gr1l1xkIjI8I6I8E6xAIw20EY4v20x vaj40_Wr0E3s1l1IIY67AEw4v_Jrv_JF1l8cAvFVAK0II2c7xJM28CjxkF64kEwVA0rcxS w2x7M28EF7xvwVC0I7IYx2IY67AKxVW8JVW5JwA2z4x0Y4vE2Ix0cI8IcVCY1x0267AKxV W8JVWxJwA2z4x0Y4vEx4A2jsIE14v26r4UJVWxJr1l84ACjcxK6I8E87Iv6xkF7I0E14v2 6r4UJVWxJr1le2I262IYc4CY6c8Ij28IcVAaY2xG8wAqjxCEc2xF0cIa020Ex4CE44I27w Aqx4xG64xvF2IEw4CE5I8CrVC2j2WlYx0E2Ix0cI8IcVAFwI0_Jrv_JF1lYx0Ex4A2jsIE 14v26r4j6F4UMcvjeVCFs4IE7xkEbVWUJVW8JwACjcxG0xvY0x0EwIxGrwCF04k20xvY0x 0EwIxGrwCFx2IqxVCFs4IE7xkEbVWUJVW8JwC20s026c02F40E14v26r1j6r18MI8I3I0E 7480Y4vE14v26r106r1rMI8E67AF67kF1VAFwI0_JF0_Jw1lIxkGc2Ij64vIr41lIxAIcV C0I7IYx2IY67AKxVWUJVWUCwCI42IY6xIIjxv20xvEc7CjxVAFwI0_Jr0_Gr1lIxAIcVCF 04k26cxKx2IYs7xG6r1j6r1xMIIF0xvEx4A2jsIE14v26r4j6F4UMIIF0xvEx4A2jsIEc7 CjxVAFwI0_Gr0_Gr1UYxBIdaVFxhVjvjDU0xZFpf9x07jYSoJUUUUU= X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1768101975968834395?= X-GMAIL-MSGID: =?utf-8?q?1768101975968834395?= |
Series |
[v2] drm/logicvc: Kconfig: select REGMAP and REGMAP_MMIO
|
|
Commit Message
Sui Jingfeng
June 8, 2023, 2:42 a.m. UTC
drm/logicvc driver is depend on REGMAP and REGMAP_MMIO, should select this
two kconfig option, otherwise the driver failed to compile on platform
without REGMAP_MMIO selected:
ERROR: modpost: "__devm_regmap_init_mmio_clk" [drivers/gpu/drm/logicvc/logicvc-drm.ko] undefined!
make[1]: *** [scripts/Makefile.modpost:136: Module.symvers] Error 1
make: *** [Makefile:1978: modpost] Error 2
Signed-off-by: Sui Jingfeng <suijingfeng@loongson.cn>
---
drivers/gpu/drm/logicvc/Kconfig | 2 ++
1 file changed, 2 insertions(+)
Comments
Hi, On Thu 08 Jun 23, 10:42, Sui Jingfeng wrote: > drm/logicvc driver is depend on REGMAP and REGMAP_MMIO, should select this > two kconfig option, otherwise the driver failed to compile on platform > without REGMAP_MMIO selected: > > ERROR: modpost: "__devm_regmap_init_mmio_clk" [drivers/gpu/drm/logicvc/logicvc-drm.ko] undefined! > make[1]: *** [scripts/Makefile.modpost:136: Module.symvers] Error 1 > make: *** [Makefile:1978: modpost] Error 2 > > Signed-off-by: Sui Jingfeng <suijingfeng@loongson.cn> Thanks for the fix, looks good to me! Acked-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com> Cheers, Paul > --- > drivers/gpu/drm/logicvc/Kconfig | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/drivers/gpu/drm/logicvc/Kconfig b/drivers/gpu/drm/logicvc/Kconfig > index fa7a88368809..1df22a852a23 100644 > --- a/drivers/gpu/drm/logicvc/Kconfig > +++ b/drivers/gpu/drm/logicvc/Kconfig > @@ -5,5 +5,7 @@ config DRM_LOGICVC > select DRM_KMS_HELPER > select DRM_KMS_DMA_HELPER > select DRM_GEM_DMA_HELPER > + select REGMAP > + select REGMAP_MMIO > help > DRM display driver for the logiCVC programmable logic block from Xylon > -- > 2.25.1 >
Hi, thanks a lot On 2023/6/8 15:15, Paul Kocialkowski wrote: > Hi, > > On Thu 08 Jun 23, 10:42, Sui Jingfeng wrote: >> drm/logicvc driver is depend on REGMAP and REGMAP_MMIO, should select this >> two kconfig option, otherwise the driver failed to compile on platform >> without REGMAP_MMIO selected: >> >> ERROR: modpost: "__devm_regmap_init_mmio_clk" [drivers/gpu/drm/logicvc/logicvc-drm.ko] undefined! >> make[1]: *** [scripts/Makefile.modpost:136: Module.symvers] Error 1 >> make: *** [Makefile:1978: modpost] Error 2 >> >> Signed-off-by: Sui Jingfeng <suijingfeng@loongson.cn> > Thanks for the fix, looks good to me! > > Acked-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com> After received this Acked-by, do a need append this tag to the patch, and resend this again? I don't know about this. I don't need to do anythings ales, you will push it to your repository, right? > Cheers, > > Paul > >> --- >> drivers/gpu/drm/logicvc/Kconfig | 2 ++ >> 1 file changed, 2 insertions(+) >> >> diff --git a/drivers/gpu/drm/logicvc/Kconfig b/drivers/gpu/drm/logicvc/Kconfig >> index fa7a88368809..1df22a852a23 100644 >> --- a/drivers/gpu/drm/logicvc/Kconfig >> +++ b/drivers/gpu/drm/logicvc/Kconfig >> @@ -5,5 +5,7 @@ config DRM_LOGICVC >> select DRM_KMS_HELPER >> select DRM_KMS_DMA_HELPER >> select DRM_GEM_DMA_HELPER >> + select REGMAP >> + select REGMAP_MMIO >> help >> DRM display driver for the logiCVC programmable logic block from Xylon >> -- >> 2.25.1 >>
Hi Jingfeng, On Thu, Jun 08, 2023 at 03:24:54PM +0800, Sui Jingfeng wrote: > Hi, > > thanks a lot > > On 2023/6/8 15:15, Paul Kocialkowski wrote: > > Hi, > > > > On Thu 08 Jun 23, 10:42, Sui Jingfeng wrote: > > > drm/logicvc driver is depend on REGMAP and REGMAP_MMIO, should select this > > > two kconfig option, otherwise the driver failed to compile on platform > > > without REGMAP_MMIO selected: > > > > > > ERROR: modpost: "__devm_regmap_init_mmio_clk" [drivers/gpu/drm/logicvc/logicvc-drm.ko] undefined! > > > make[1]: *** [scripts/Makefile.modpost:136: Module.symvers] Error 1 > > > make: *** [Makefile:1978: modpost] Error 2 > > > > > > Signed-off-by: Sui Jingfeng <suijingfeng@loongson.cn> > > Thanks for the fix, looks good to me! > > > > Acked-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com> > > After received this Acked-by, do a need append this tag to the patch, and > resend this again? > > I don't know about this. > > I don't need to do anythings ales, you will push it to your repository, > right? no need... someone will pick it up and add the needed tags. Andi
Hi, thanks for your reply and help. On 2023/6/8 17:31, Andi Shyti wrote: > Hi Jingfeng, > > On Thu, Jun 08, 2023 at 03:24:54PM +0800, Sui Jingfeng wrote: >> Hi, >> >> thanks a lot >> >> On 2023/6/8 15:15, Paul Kocialkowski wrote: >>> Hi, >>> >>> On Thu 08 Jun 23, 10:42, Sui Jingfeng wrote: >>>> drm/logicvc driver is depend on REGMAP and REGMAP_MMIO, should select this >>>> two kconfig option, otherwise the driver failed to compile on platform >>>> without REGMAP_MMIO selected: >>>> >>>> ERROR: modpost: "__devm_regmap_init_mmio_clk" [drivers/gpu/drm/logicvc/logicvc-drm.ko] undefined! >>>> make[1]: *** [scripts/Makefile.modpost:136: Module.symvers] Error 1 >>>> make: *** [Makefile:1978: modpost] Error 2 >>>> >>>> Signed-off-by: Sui Jingfeng <suijingfeng@loongson.cn> >>> Thanks for the fix, looks good to me! >>> >>> Acked-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com> >> After received this Acked-by, do a need append this tag to the patch, and >> resend this again? >> >> I don't know about this. >> >> I don't need to do anythings ales, you will push it to your repository, >> right? > no need... someone will pick it up and add the needed tags. Thanks a lot. Happy coding! :-) > Andi
Hi, On 2023/6/8 15:15, Paul Kocialkowski wrote: > Hi, > > On Thu 08 Jun 23, 10:42, Sui Jingfeng wrote: >> drm/logicvc driver is depend on REGMAP and REGMAP_MMIO, should select this >> two kconfig option, otherwise the driver failed to compile on platform >> without REGMAP_MMIO selected: >> >> ERROR: modpost: "__devm_regmap_init_mmio_clk" [drivers/gpu/drm/logicvc/logicvc-drm.ko] undefined! >> make[1]: *** [scripts/Makefile.modpost:136: Module.symvers] Error 1 >> make: *** [Makefile:1978: modpost] Error 2 >> >> Signed-off-by: Sui Jingfeng <suijingfeng@loongson.cn> > Thanks for the fix, looks good to me! > > Acked-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com> Thanks a lot, Please don't forget to push this to drm-misc or drm-tip if you has the time, as (even though trivial) it's precious for me. > Cheers, > > Paul > >> --- >> drivers/gpu/drm/logicvc/Kconfig | 2 ++ >> 1 file changed, 2 insertions(+) >> >> diff --git a/drivers/gpu/drm/logicvc/Kconfig b/drivers/gpu/drm/logicvc/Kconfig >> index fa7a88368809..1df22a852a23 100644 >> --- a/drivers/gpu/drm/logicvc/Kconfig >> +++ b/drivers/gpu/drm/logicvc/Kconfig >> @@ -5,5 +5,7 @@ config DRM_LOGICVC >> select DRM_KMS_HELPER >> select DRM_KMS_DMA_HELPER >> select DRM_GEM_DMA_HELPER >> + select REGMAP >> + select REGMAP_MMIO >> help >> DRM display driver for the logiCVC programmable logic block from Xylon >> -- >> 2.25.1 >>
Hi, On Tue 20 Jun 23, 11:56, Sui Jingfeng wrote: > Hi, > > On 2023/6/8 15:15, Paul Kocialkowski wrote: > > Hi, > > > > On Thu 08 Jun 23, 10:42, Sui Jingfeng wrote: > > > drm/logicvc driver is depend on REGMAP and REGMAP_MMIO, should select this > > > two kconfig option, otherwise the driver failed to compile on platform > > > without REGMAP_MMIO selected: > > > > > > ERROR: modpost: "__devm_regmap_init_mmio_clk" [drivers/gpu/drm/logicvc/logicvc-drm.ko] undefined! > > > make[1]: *** [scripts/Makefile.modpost:136: Module.symvers] Error 1 > > > make: *** [Makefile:1978: modpost] Error 2 > > > > > > Signed-off-by: Sui Jingfeng <suijingfeng@loongson.cn> > > Thanks for the fix, looks good to me! > > > > Acked-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com> > > Thanks a lot, > > Please don't forget to push this to drm-misc or drm-tip if you has the time, > as (even though trivial) it's precious for me. So I totally forgot about this and only pushed it to drm-misc-fixes now. Sincere apologies for this. Thanks again for spotting this issue and submitting the fix. Paul > > > > Cheers, > > > > Paul > > > > > --- > > > drivers/gpu/drm/logicvc/Kconfig | 2 ++ > > > 1 file changed, 2 insertions(+) > > > > > > diff --git a/drivers/gpu/drm/logicvc/Kconfig b/drivers/gpu/drm/logicvc/Kconfig > > > index fa7a88368809..1df22a852a23 100644 > > > --- a/drivers/gpu/drm/logicvc/Kconfig > > > +++ b/drivers/gpu/drm/logicvc/Kconfig > > > @@ -5,5 +5,7 @@ config DRM_LOGICVC > > > select DRM_KMS_HELPER > > > select DRM_KMS_DMA_HELPER > > > select DRM_GEM_DMA_HELPER > > > + select REGMAP > > > + select REGMAP_MMIO > > > help > > > DRM display driver for the logiCVC programmable logic block from Xylon > > > -- > > > 2.25.1 > > > > -- > Jingfeng >
Hi, On 2023/10/25 18:11, Paul Kocialkowski wrote: > Hi, > > On Tue 20 Jun 23, 11:56, Sui Jingfeng wrote: >> Hi, >> >> On 2023/6/8 15:15, Paul Kocialkowski wrote: >>> Hi, >>> >>> On Thu 08 Jun 23, 10:42, Sui Jingfeng wrote: >>>> drm/logicvc driver is depend on REGMAP and REGMAP_MMIO, should select this >>>> two kconfig option, otherwise the driver failed to compile on platform >>>> without REGMAP_MMIO selected: >>>> >>>> ERROR: modpost: "__devm_regmap_init_mmio_clk" [drivers/gpu/drm/logicvc/logicvc-drm.ko] undefined! >>>> make[1]: *** [scripts/Makefile.modpost:136: Module.symvers] Error 1 >>>> make: *** [Makefile:1978: modpost] Error 2 >>>> >>>> Signed-off-by: Sui Jingfeng <suijingfeng@loongson.cn> >>> Thanks for the fix, looks good to me! >>> >>> Acked-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com> >> Thanks a lot, >> >> Please don't forget to push this to drm-misc or drm-tip if you has the time, >> as (even though trivial) it's precious for me. > So I totally forgot about this and only pushed it to drm-misc-fixes now. > Sincere apologies for this. > > Thanks again for spotting this issue and submitting the fix. > > Paul Nice, thanks your reply. >> >>> Cheers, >>> >>> Paul >>> >>>> --- >>>> drivers/gpu/drm/logicvc/Kconfig | 2 ++ >>>> 1 file changed, 2 insertions(+) >>>> >>>> diff --git a/drivers/gpu/drm/logicvc/Kconfig b/drivers/gpu/drm/logicvc/Kconfig >>>> index fa7a88368809..1df22a852a23 100644 >>>> --- a/drivers/gpu/drm/logicvc/Kconfig >>>> +++ b/drivers/gpu/drm/logicvc/Kconfig >>>> @@ -5,5 +5,7 @@ config DRM_LOGICVC >>>> select DRM_KMS_HELPER >>>> select DRM_KMS_DMA_HELPER >>>> select DRM_GEM_DMA_HELPER >>>> + select REGMAP >>>> + select REGMAP_MMIO >>>> help >>>> DRM display driver for the logiCVC programmable logic block from Xylon >>>> -- >>>> 2.25.1 >>>> >> -- >> Jingfeng >>
diff --git a/drivers/gpu/drm/logicvc/Kconfig b/drivers/gpu/drm/logicvc/Kconfig index fa7a88368809..1df22a852a23 100644 --- a/drivers/gpu/drm/logicvc/Kconfig +++ b/drivers/gpu/drm/logicvc/Kconfig @@ -5,5 +5,7 @@ config DRM_LOGICVC select DRM_KMS_HELPER select DRM_KMS_DMA_HELPER select DRM_GEM_DMA_HELPER + select REGMAP + select REGMAP_MMIO help DRM display driver for the logiCVC programmable logic block from Xylon