linux-omap.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: drm_kms_helper cycle detected build error in next
       [not found] <20171013145818.GG4394@atomide.com>
@ 2017-10-13 15:09 ` Tony Lindgren
  2017-10-16  6:53   ` Tomi Valkeinen
  0 siblings, 1 reply; 7+ messages in thread
From: Tony Lindgren @ 2017-10-13 15:09 UTC (permalink / raw)
  To: Tomi Valkeinen; +Cc: linux-omap, dri-devel

* Tony Lindgren <tony@atomide.com> [171013 07:59]:
> Hi Tomi,
> 
> 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.

Regards,

Tony
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: drm_kms_helper cycle detected build error in next
  2017-10-13 15:09 ` drm_kms_helper cycle detected build error in next Tony Lindgren
@ 2017-10-16  6:53   ` Tomi Valkeinen
  2017-10-16  7:15     ` Dave Airlie
  0 siblings, 1 reply; 7+ messages in thread
From: Tomi Valkeinen @ 2017-10-16  6:53 UTC (permalink / raw)
  To: Tony Lindgren, Dave Airlie, Daniel Vetter; +Cc: linux-omap, dri-devel


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.

 Tomi

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: drm_kms_helper cycle detected build error in next
  2017-10-16  6:53   ` Tomi Valkeinen
@ 2017-10-16  7:15     ` Dave Airlie
  2017-10-16  9:16       ` Daniel Vetter
  0 siblings, 1 reply; 7+ messages in thread
From: Dave Airlie @ 2017-10-16  7:15 UTC (permalink / raw)
  To: Tomi Valkeinen; +Cc: Tony Lindgren, linux-omap, dri-devel

On 16 October 2017 at 16:53, Tomi Valkeinen <tomi.valkeinen@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.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: drm_kms_helper cycle detected build error in next
  2017-10-16  7:15     ` Dave Airlie
@ 2017-10-16  9:16       ` Daniel Vetter
  2017-10-16 14:35         ` Tony Lindgren
  0 siblings, 1 reply; 7+ messages in thread
From: Daniel Vetter @ 2017-10-16  9:16 UTC (permalink / raw)
  To: Dave Airlie; +Cc: Tony Lindgren, dri-devel, Tomi Valkeinen, linux-omap

On Mon, Oct 16, 2017 at 05:15:50PM +1000, Dave Airlie wrote:
> On 16 October 2017 at 16:53, Tomi Valkeinen <tomi.valkeinen@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.

You're too much ahead for a pull request on your Monday, but you'll get it
asap :-)

Cheers, Daniel
-- 
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: drm_kms_helper cycle detected build error in next
  2017-10-16  9:16       ` Daniel Vetter
@ 2017-10-16 14:35         ` Tony Lindgren
  2017-10-17 12:07           ` Daniel Vetter
  0 siblings, 1 reply; 7+ messages in thread
From: Tony Lindgren @ 2017-10-16 14:35 UTC (permalink / raw)
  To: Daniel Vetter; +Cc: linux-omap, Tomi Valkeinen, dri-devel

* Daniel Vetter <daniel@ffwll.ch> [171016 02:18]:
> On Mon, Oct 16, 2017 at 05:15:50PM +1000, Dave Airlie wrote:
> > On 16 October 2017 at 16:53, Tomi Valkeinen <tomi.valkeinen@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.
> 
> You're too much ahead for a pull request on your Monday, but you'll get it
> asap :-)

Meanwhile, can you guys provide few more clues which patch to pick
for the rest of us?

Something like patch subject line, commit id in drm-misc or something
along those lines would be nice..

Regards,

Tony
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: drm_kms_helper cycle detected build error in next
  2017-10-16 14:35         ` Tony Lindgren
@ 2017-10-17 12:07           ` Daniel Vetter
  2017-10-17 14:22             ` Tony Lindgren
  0 siblings, 1 reply; 7+ messages in thread
From: Daniel Vetter @ 2017-10-17 12:07 UTC (permalink / raw)
  To: Tony Lindgren; +Cc: dri-devel, Tomi Valkeinen, linux-omap

On Mon, Oct 16, 2017 at 07:35:24AM -0700, Tony Lindgren wrote:
> * Daniel Vetter <daniel@ffwll.ch> [171016 02:18]:
> > On Mon, Oct 16, 2017 at 05:15:50PM +1000, Dave Airlie wrote:
> > > On 16 October 2017 at 16:53, Tomi Valkeinen <tomi.valkeinen@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.
> > 
> > You're too much ahead for a pull request on your Monday, but you'll get it
> > asap :-)
> 
> Meanwhile, can you guys provide few more clues which patch to pick
> for the rest of us?
> 
> Something like patch subject line, commit id in drm-misc or something
> along those lines would be nice..

I guess linux-next still not yet back to the daily update schedule, that's
why you need this? It's been in trees since last week, and now also in
drm-next ... Usually no one ever cares about the commit if we fix it right
away.

Anyway

commit 512721a14a2a94b48ca0863d48f9829922a816b8
Author: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Date:   Fri Oct 13 16:08:53 2017 +0200

    drm/drm_of: Move drm_of_panel_bridge_remove_function into header.

Cheers, Daniel
-- 
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: drm_kms_helper cycle detected build error in next
  2017-10-17 12:07           ` Daniel Vetter
@ 2017-10-17 14:22             ` Tony Lindgren
  0 siblings, 0 replies; 7+ messages in thread
From: Tony Lindgren @ 2017-10-17 14:22 UTC (permalink / raw)
  To: Daniel Vetter; +Cc: linux-omap, Tomi Valkeinen, dri-devel

* Daniel Vetter <daniel@ffwll.ch> [171017 05:09]:
> On Mon, Oct 16, 2017 at 07:35:24AM -0700, Tony Lindgren wrote:
> > 
> > Meanwhile, can you guys provide few more clues which patch to pick
> > for the rest of us?
> > 
> > Something like patch subject line, commit id in drm-misc or something
> > along those lines would be nice..
> 
> I guess linux-next still not yet back to the daily update schedule, that's
> why you need this? It's been in trees since last week, and now also in
> drm-next ... Usually no one ever cares about the commit if we fix it right
> away.
> 
> Anyway
> 
> commit 512721a14a2a94b48ca0863d48f9829922a816b8
> Author: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
> Date:   Fri Oct 13 16:08:53 2017 +0200
> 
>     drm/drm_of: Move drm_of_panel_bridge_remove_function into header.

OK thanks looks like Linux next is building for me again now.

Regards,

Tony
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2017-10-17 14:22 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20171013145818.GG4394@atomide.com>
2017-10-13 15:09 ` drm_kms_helper cycle detected build error in next Tony Lindgren
2017-10-16  6:53   ` Tomi Valkeinen
2017-10-16  7:15     ` Dave Airlie
2017-10-16  9:16       ` Daniel Vetter
2017-10-16 14:35         ` Tony Lindgren
2017-10-17 12:07           ` Daniel Vetter
2017-10-17 14:22             ` Tony Lindgren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).