[PATCH v2] drm/sitronix: move tiny Sitronix drivers to their own subdir
Javier Martinez Canillas
javierm at redhat.com
Mon May 5 11:00:19 UTC 2025
Thomas Zimmermann <tzimmermann at suse.de> writes:
> Hi Javier, Marcus
>
> Am 05.05.25 um 11:27 schrieb Javier Martinez Canillas:
>> Thomas Zimmermann <tzimmermann at suse.de> writes:
>>
>> Hello Thomas,
>>
>>> Hi,
>>>
>>> there's one major issue here. You must not change the Kconfig symbols or
>>> you'll break kernel updates for a lot of people. So those TINYDRM_* must
>>> remain as is.
>>>
>> I disagree. The https://docs.kernel.org/admin-guide/abi.html document
>> explictly states that Kconfig symbols are not an ABI, and userspace
>> should not rely on these not changing over time.
>
> To summarize our discussion on irc [1]: changing the symbols is ok, but
> we should make it compatible to ease the transition. To do so, the new
> Kconfig file can still contain the old Kconfig symbol and the new one
> defaults to it. Something like this:
>
> config TINYDRM_ST7586
> tristate
> default n
>
> config DRM_ST7586
> tristate "bla bla"
> ...
> default TINYDRM_ST7586
>
> Doing 'make olddefconfig' or a similar make command sets the new symbol
> from the pre-existing one. After a few releases the old symbol can be
> removed.
>
That makes sense to me, yes. I'm not against making the life of distro
maintainers easier. We can then drop these transition symbols after a
few kernel releases.
> Best regards
> Thomas
>
>
> [1]
> https://people.freedesktop.org/~cbrill/dri-log/?channel=dri-devel&highlight_names=&date=2025-05-05&show_html=true
>
--
Best regards,
Javier Martinez Canillas
Core Platforms
Red Hat
More information about the dri-devel
mailing list