Skip to contentSkip to conversation

drm/logicvc: Kconfig: select REGMAP and REGMAP_MMIO

PATCH In review Sui Jingfeng 3 participants 8 messages Jun 8, 2023 – Oct 25, 2023

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 drm/logicvc: Kconfig: select REGMAP and REGMAP_MMIO

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

---
 drivers/gpu/drm/logicvc/Kconfig | 2 ++
 1 file changed, 2 insertions(+)
drivers/gpu/drm/logicvc/Kconfig +2 -0
index fa7a88368809..1df22a852a23 100644
@@ -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
Signature · 1 line
2.25.1
Acked-by on v2 1/1
#1 lore raw

Hi,

Quoted 9 lines · Sui Jingfeng

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

Thanks for the fix, looks good to me!

Cheers,

Paul

Quoted 19 lines
---
 drivers/gpu/drm/logicvc/Kconfig | 2 ++
 1 file changed, 2 insertions(+)
drivers/gpu/drm/logicvc/Kconfig +2 -0
index fa7a88368809..1df22a852a23 100644
@@ -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
Signature · 1 line
2.25.1
Signature · 3 lines
Paul Kocialkowski, Bootlin
Embedded Linux and kernel engineering
https://bootlin.com
#2 lore raw

Hi,

thanks a lot

Quoted 7 lines · Paul Kocialkowski

Hi,

Quoted 4 lines · Sui Jingfeng

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:

Quoted 8 lines
Quoted 5 lines

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

Thanks for the fix, looks good to me!

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?

Quoted 23 lines

Cheers,

Paul

Quoted 19 lines
---
  drivers/gpu/drm/logicvc/Kconfig | 2 ++
  1 file changed, 2 insertions(+)
drivers/gpu/drm/logicvc/Kconfig +2 -0
index fa7a88368809..1df22a852a23 100644
@@ -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
Signature · 1 line
2.25.1
Signature · 1 line
Jingfeng
#3 lore raw

Hi Jingfeng,

Quoted 21 lines · Sui Jingfeng

Hi,

thanks a lot

Quoted 7 lines · Paul Kocialkowski

Hi,

Quoted 4 lines · Sui Jingfeng

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:

Quoted 8 lines
Quoted 5 lines

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

Thanks for the fix, looks good to me!

Quoted 7 lines

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

#4 lore raw

Hi,  thanks for your reply and help.

Quoted 23 lines · Andi Shyti

Hi Jingfeng,

Quoted 20 lines · Sui Jingfeng

Hi,

thanks a lot

Quoted 15 lines · Paul Kocialkowski

Hi,

Quoted 9 lines · Sui Jingfeng

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

Thanks for the fix, looks good to me!

Quoted 8 lines
Quoted 7 lines

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! :-)

Quoted 1 line

Andi

Signature · 1 line
Jingfeng
#5 lore raw
In reply to Paul Kocialkowski

Hi,

Quoted 7 lines · Paul Kocialkowski

Hi,

Quoted 4 lines · Sui Jingfeng

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:

Quoted 8 lines
Quoted 5 lines

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

Thanks for the fix, looks good to me!

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.

Quoted 23 lines

Cheers,

Paul

Quoted 19 lines
---
  drivers/gpu/drm/logicvc/Kconfig | 2 ++
  1 file changed, 2 insertions(+)
drivers/gpu/drm/logicvc/Kconfig +2 -0
index fa7a88368809..1df22a852a23 100644
@@ -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
Signature · 1 line
2.25.1
Signature · 1 line
Jingfeng
#6 lore raw

Hi,

Quoted 15 lines · Sui Jingfeng

Hi,

Quoted 12 lines · Paul Kocialkowski

Hi,

Quoted 9 lines · Sui Jingfeng

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

Quoted 8 lines
Quoted 3 lines

Thanks for the fix, looks good to me!

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

Quoted 28 lines
Quoted 25 lines

Cheers,

Paul

Quoted 19 lines
---
  drivers/gpu/drm/logicvc/Kconfig | 2 ++
  1 file changed, 2 insertions(+)
drivers/gpu/drm/logicvc/Kconfig +2 -0
index fa7a88368809..1df22a852a23 100644
@@ -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
Signature · 1 line
2.25.1
Signature · 1 line
Jingfeng
Signature · 3 lines
Paul Kocialkowski, Bootlin
Embedded Linux and kernel engineering
https://bootlin.com
#7 lore raw

Hi,

Quoted 23 lines · Paul Kocialkowski

Hi,

Quoted 20 lines · Sui Jingfeng

Hi,

Quoted 7 lines · Paul Kocialkowski

Hi,

Quoted 4 lines · Sui Jingfeng

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:

Quoted 8 lines
Quoted 5 lines

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

Thanks for the fix, looks good to me!

Thanks a lot,

Quoted 8 lines
Quoted 2 lines

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.

Quoted 27 lines
Quoted 27 lines
Quoted 24 lines

Cheers,

Paul

Quoted 19 lines
---
   drivers/gpu/drm/logicvc/Kconfig | 2 ++
   1 file changed, 2 insertions(+)
drivers/gpu/drm/logicvc/Kconfig +2 -0
index fa7a88368809..1df22a852a23 100644
@@ -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
Signature · 1 line
2.25.1
Signature · 1 line
Jingfeng