[RFC PATCH v3 1/4] drm/exynos: make kms drivers to be independent drivers

Inki Dae inki.dae at samsung.com
Thu Nov 20 06:10:24 PST 2014


Hi Javier,

On 2014년 11월 20일 23:06, Javier Martinez Canillas wrote:
> Hello Inki,
> 
> On Thu, Nov 20, 2014 at 2:56 PM, Inki Dae <inki.dae at samsung.com> wrote:
>>> If you try to build exynosdrm as module you will receive errors due to
>>> multiple definitions of init_module, ie module_init/module_*_driver
>>> macros can be used once per module.
>>
>> Ah, right. we had ever tried same way before but failed in same problem.
>> I didn't realize that. Anyway, I will try to find out a better way. I'd
>> really like to remove all register codes of sub drivers from
>> exynos_drm_drv somehow.
>>
> 
> Maybe as an immediate fix we can move the platform driver registration
> out of probe as suggested by Andrzej?
> 
> I posted an RFC patch a couple of days ago [0] that fixes both the
> deadlock and the infinite loop bug so it would be great if you can
> review/test so I can post a proper patch.

Fantastical timing.:) I gave you a same opinion almost simultaneous.
Check your email thread.

Thanks,
Inki Dae

> 
> And then we can look how to better refactor the exynos drm driver.
> 
> Best regards,
> Javier
> 
> [0]: http://www.spinics.net/lists/linux-samsung-soc/msg39106.html
> 



More information about the dri-devel mailing list