* [PATCH v2] drm/sitronix: Remove broken backwards-compatibility layer
@ 2025-05-20 14:33 Geert Uytterhoeven
2025-05-20 14:42 ` Javier Martinez Canillas
0 siblings, 1 reply; 3+ messages in thread
From: Geert Uytterhoeven @ 2025-05-20 14:33 UTC (permalink / raw)
To: Marcus Folkesson, Javier Martinez Canillas, Thomas Zimmermann,
Maarten Lankhorst, Maxime Ripard, David Airlie, Simona Vetter
Cc: dri-devel, linux-kernel, Geert Uytterhoeven
When moving the Sitronix DRM drivers and renaming their Kconfig symbols,
the old symbols were kept, aiming to provide a seamless migration path
when running "make olddefconfig" or "make oldconfig".
However, the old compatibility symbols are not visible. Hence unless
they are selected by another symbol (which they are not), they can never
be enabled, and no backwards compatibility is provided.
Drop the broken mechanism and the old symbols.
Fixes: 9b8f32002cddf792 ("drm/sitronix: move tiny Sitronix drivers to their own subdir")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
v2:
- Drop backwards-compatibility instead of fixing it.
---
drivers/gpu/drm/sitronix/Kconfig | 10 ----------
1 file changed, 10 deletions(-)
diff --git a/drivers/gpu/drm/sitronix/Kconfig b/drivers/gpu/drm/sitronix/Kconfig
index c069d0d417753bcf..25cae32e5c3ec113 100644
--- a/drivers/gpu/drm/sitronix/Kconfig
+++ b/drivers/gpu/drm/sitronix/Kconfig
@@ -10,10 +10,6 @@ config DRM_ST7571_I2C
if M is selected the module will be called st7571-i2c.
-config TINYDRM_ST7586
- tristate
- default n
-
config DRM_ST7586
tristate "DRM support for Sitronix ST7586 display panels"
depends on DRM && SPI
@@ -21,17 +17,12 @@ config DRM_ST7586
select DRM_KMS_HELPER
select DRM_GEM_DMA_HELPER
select DRM_MIPI_DBI
- default TINYDRM_ST7586
help
DRM driver for the following Sitronix ST7586 panels:
* LEGO MINDSTORMS EV3
If M is selected the module will be called st7586.
-config TINYDRM_ST7735R
- tristate
- default n
-
config DRM_ST7735R
tristate "DRM support for Sitronix ST7715R/ST7735R display panels"
depends on DRM && SPI
@@ -40,7 +31,6 @@ config DRM_ST7735R
select DRM_GEM_DMA_HELPER
select DRM_MIPI_DBI
select BACKLIGHT_CLASS_DEVICE
- default TINYDRM_ST7735R
help
DRM driver for Sitronix ST7715R/ST7735R with one of the following
LCDs:
--
2.43.0
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [PATCH v2] drm/sitronix: Remove broken backwards-compatibility layer
2025-05-20 14:33 [PATCH v2] drm/sitronix: Remove broken backwards-compatibility layer Geert Uytterhoeven
@ 2025-05-20 14:42 ` Javier Martinez Canillas
2025-05-27 8:24 ` Javier Martinez Canillas
0 siblings, 1 reply; 3+ messages in thread
From: Javier Martinez Canillas @ 2025-05-20 14:42 UTC (permalink / raw)
To: Geert Uytterhoeven, Marcus Folkesson, Thomas Zimmermann,
Maarten Lankhorst, Maxime Ripard, David Airlie, Simona Vetter
Cc: dri-devel, linux-kernel, Geert Uytterhoeven
Geert Uytterhoeven <geert+renesas@glider.be> writes:
Hello Geert,
> When moving the Sitronix DRM drivers and renaming their Kconfig symbols,
> the old symbols were kept, aiming to provide a seamless migration path
> when running "make olddefconfig" or "make oldconfig".
>
> However, the old compatibility symbols are not visible. Hence unless
> they are selected by another symbol (which they are not), they can never
> be enabled, and no backwards compatibility is provided.
>
> Drop the broken mechanism and the old symbols.
>
> Fixes: 9b8f32002cddf792 ("drm/sitronix: move tiny Sitronix drivers to their own subdir")
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
> ---
Acked-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* Re: [PATCH v2] drm/sitronix: Remove broken backwards-compatibility layer
2025-05-20 14:42 ` Javier Martinez Canillas
@ 2025-05-27 8:24 ` Javier Martinez Canillas
0 siblings, 0 replies; 3+ messages in thread
From: Javier Martinez Canillas @ 2025-05-27 8:24 UTC (permalink / raw)
To: Geert Uytterhoeven, Marcus Folkesson, Thomas Zimmermann,
Maarten Lankhorst, Maxime Ripard, David Airlie, Simona Vetter
Cc: dri-devel, linux-kernel, Geert Uytterhoeven
Javier Martinez Canillas <javierm@redhat.com> writes:
> Geert Uytterhoeven <geert+renesas@glider.be> writes:
>
> Hello Geert,
>
>> When moving the Sitronix DRM drivers and renaming their Kconfig symbols,
>> the old symbols were kept, aiming to provide a seamless migration path
>> when running "make olddefconfig" or "make oldconfig".
>>
>> However, the old compatibility symbols are not visible. Hence unless
>> they are selected by another symbol (which they are not), they can never
>> be enabled, and no backwards compatibility is provided.
>>
>> Drop the broken mechanism and the old symbols.
>>
>> Fixes: 9b8f32002cddf792 ("drm/sitronix: move tiny Sitronix drivers to their own subdir")
>> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
>> ---
>
> Acked-by: Javier Martinez Canillas <javierm@redhat.com>
>
> --
Pushed to drm-misc (drm-misc-next). Thanks!
--
Best regards,
Javier Martinez Canillas
Core Platforms
Red Hat
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-05-27 8:24 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-05-20 14:33 [PATCH v2] drm/sitronix: Remove broken backwards-compatibility layer Geert Uytterhoeven
2025-05-20 14:42 ` Javier Martinez Canillas
2025-05-27 8:24 ` 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
all inboxes | Powered by JetHome®