Re: [PATCH 0/4] drm/tiny: Add driver for Solomon SSD1307 OLED displays
From: Javier Martinez Canillas
Date: Wed Feb 02 2022 - 06:39:39 EST
Hello Andy,
On 2/2/22 12:06, Andy Shevchenko wrote:
> On Wed, Feb 02, 2022 at 09:38:51AM +0100, Javier Martinez Canillas wrote:
>> On 2/1/22 21:40, Sam Ravnborg wrote:
>
> ...
>
>> Peter Robinson suggested to
>> make the driver mutually exclusive and add !FB_SSD1307 in the config symbol.
>
> And how will distros choose "the right" option in this case?
It depends on the distro. In Fedora we are disabling *all* the fbdev drivers.
> What to do when I wan to see a regression and I want to change drivers w/o
> recompilation?
>
If you want to have the two drivers without recompilation (and same compatible
to match) then how would kmod / udev choose which one to load ? It becomes a
race condition between the two drivers which one probes first.
> NAK from me to that proposal.
>
What's your suggestion then to solve the issue mentioned above ? With my distro
maintainer hat I don't care that much, since the fbdev drivers will be disabled.
Best regards,
--
Javier Martinez Canillas
Linux Engineering
Red Hat