Why drm-mipi-dsi is built-in only?

Andrzej Hajda a.hajda at samsung.com
Mon Aug 1 18:04:55 UTC 2016


On 08/01/2016 03:59 PM, Jani Nikula wrote:
> Cc Andrzej, Thierry
>
> On Fri, 22 Jul 2016, Daniel Vetter <daniel at ffwll.ch> wrote:
>> On Fri, Jul 22, 2016 at 04:30:24PM +0200, Takashi Iwai wrote:
>>> Hi,
>>>
>>> is there any reason drm-mipi-dsi can't be a module?  It's fixed as a
>>> built-in since its Kconfig is bool.
>> Probably none except embedded folks eshew modules ;-) Submit patch, I'll
>> apply.
> Possibly this?
>
> postcore_initcall(mipi_dsi_bus_init);

If I remember correctly, the only reason for this is to have mipi_dsi bus
registered before mipi_dsi drivers, which usually are registered
at module initcall. But maybe bus registration can be performed at
first mipi_dsi driver registration. This way we could modularize it.

Regards
Andrzej

>
>
> BR,
> Jani.
>



More information about the dri-devel mailing list