public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/st7571-i2c: select CONFIG_DRM_CLIENT_SELECTION
@ 2025-04-28 15:07 Arnd Bergmann
  2025-04-28 16:27 ` Marcus Folkesson
  2025-04-29 10:23 ` Javier Martinez Canillas
  0 siblings, 2 replies; 3+ messages in thread
From: Arnd Bergmann @ 2025-04-28 15:07 UTC (permalink / raw)
  To: Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann, David Airlie,
	Simona Vetter, Javier Martinez Canillas, Marcus Folkesson
  Cc: Arnd Bergmann, David Lechner, Noralf Trønnes, Alex Lanzano,
	Kerem Karabay, dri-devel, linux-kernel

From: Arnd Bergmann <arnd@arndb.de>

The newly added driver calls drm_client_setup(), but that is not
always built in:

x86_64-linux-ld: vmlinux.o: in function `st7571_probe':
st7571-i2c.c:(.text+0x7b7119): undefined reference to `drm_client_setup'

Select the appropriate Kconfig symbol.

Fixes: 4b35f0f41ee2 ("drm/st7571-i2c: add support for Sitronix ST7571 LCD controller")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
---
 drivers/gpu/drm/tiny/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/gpu/drm/tiny/Kconfig b/drivers/gpu/drm/tiny/Kconfig
index 1dfe6291d9c0..654cd6f25faa 100644
--- a/drivers/gpu/drm/tiny/Kconfig
+++ b/drivers/gpu/drm/tiny/Kconfig
@@ -215,6 +215,7 @@ config TINYDRM_ST7586
 config DRM_ST7571_I2C
 	tristate "DRM support for Sitronix ST7571 display panels (I2C)"
 	depends on DRM && I2C && MMU
+	select DRM_CLIENT_SELECTION
 	select DRM_GEM_SHMEM_HELPER
 	select DRM_KMS_HELPER
 	select REGMAP_I2C
-- 
2.39.5


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] drm/st7571-i2c: select CONFIG_DRM_CLIENT_SELECTION
  2025-04-28 15:07 [PATCH] drm/st7571-i2c: select CONFIG_DRM_CLIENT_SELECTION Arnd Bergmann
@ 2025-04-28 16:27 ` Marcus Folkesson
  2025-04-29 10:23 ` Javier Martinez Canillas
  1 sibling, 0 replies; 3+ messages in thread
From: Marcus Folkesson @ 2025-04-28 16:27 UTC (permalink / raw)
  To: Arnd Bergmann
  Cc: Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann, David Airlie,
	Simona Vetter, Javier Martinez Canillas, Arnd Bergmann,
	David Lechner, Noralf Trønnes, Alex Lanzano, Kerem Karabay,
	dri-devel, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 586 bytes --]

On Mon, Apr 28, 2025 at 05:07:45PM +0200, Arnd Bergmann wrote:
> From: Arnd Bergmann <arnd@arndb.de>
> 
> The newly added driver calls drm_client_setup(), but that is not
> always built in:
> 
> x86_64-linux-ld: vmlinux.o: in function `st7571_probe':
> st7571-i2c.c:(.text+0x7b7119): undefined reference to `drm_client_setup'
> 
> Select the appropriate Kconfig symbol.
> 
> Fixes: 4b35f0f41ee2 ("drm/st7571-i2c: add support for Sitronix ST7571 LCD controller")
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>

Reviewed-by: Marcus Folkesson <marcus.folkesson@gmail.com>


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] drm/st7571-i2c: select CONFIG_DRM_CLIENT_SELECTION
  2025-04-28 15:07 [PATCH] drm/st7571-i2c: select CONFIG_DRM_CLIENT_SELECTION Arnd Bergmann
  2025-04-28 16:27 ` Marcus Folkesson
@ 2025-04-29 10:23 ` Javier Martinez Canillas
  1 sibling, 0 replies; 3+ messages in thread
From: Javier Martinez Canillas @ 2025-04-29 10:23 UTC (permalink / raw)
  To: Arnd Bergmann, Maarten Lankhorst, Maxime Ripard,
	Thomas Zimmermann, David Airlie, Simona Vetter, Marcus Folkesson
  Cc: Arnd Bergmann, David Lechner, Noralf Trønnes, Alex Lanzano,
	Kerem Karabay, dri-devel, linux-kernel


Hello Arnd,

Arnd Bergmann <arnd@kernel.org> writes:

> From: Arnd Bergmann <arnd@arndb.de>
>
> The newly added driver calls drm_client_setup(), but that is not
> always built in:
>
> x86_64-linux-ld: vmlinux.o: in function `st7571_probe':
> st7571-i2c.c:(.text+0x7b7119): undefined reference to `drm_client_setup'
>
> Select the appropriate Kconfig symbol.
>
> Fixes: 4b35f0f41ee2 ("drm/st7571-i2c: add support for Sitronix ST7571 LCD controller")
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
> ---

Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>

-- 
Best regards,

Javier Martinez Canillas
Core Platforms
Red Hat


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-04-29 10:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-28 15:07 [PATCH] drm/st7571-i2c: select CONFIG_DRM_CLIENT_SELECTION Arnd Bergmann
2025-04-28 16:27 ` Marcus Folkesson
2025-04-29 10:23 ` Javier Martinez Canillas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox