drm_kms_helper cycle detected build error in next

Dave Airlie airlied at gmail.com
Mon Oct 16 07:15:50 UTC 2017


On 16 October 2017 at 16:53, Tomi Valkeinen <tomi.valkeinen at ti.com> wrote:
>
> Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki
>
> On 13/10/17 18:09, Tony Lindgren wrote:
>
>>> Looks like today's next build fails if omapdrm is enabled as modules
>>> with:
>>>
>>> depmod: ERROR: Cycle detected: drm_kms_helper -> drm -> drm_kms_helper
>>> depmod: ERROR: Found 2 modules in dependency cycles!
>>> make: *** [Makefile:1261: _modinst_post] Error 1
>>
>> Making CONFIG_DRM=y and CONFIG_DRM_KMS_HELPER=y instead of
>> lodable modules makes it build.
>
> The same happens even after disabling omapdrm, so it's somewhere in the
> common code.
>
> Interestingly, my depmod crashes when encountering this.

There is a fix for this in drm-misc, I should probably pull it over.

If I haven't been sent a pull tomorrow, I'll grab it.

Dave.


More information about the dri-devel mailing list