[Intel-gfx] [PATCH 2/6] drm/i915: make fbdev initialization asynchronous

Jesse Barnes jbarnes at virtuousgeek.org
Thu Mar 6 17:17:51 CET 2014


On Thu, 6 Mar 2014 09:12:40 +0000
Chris Wilson <chris at chris-wilson.co.uk> wrote:

> On Wed, Mar 05, 2014 at 02:48:27PM -0800, Jesse Barnes wrote:
> > This gets us out of our init code and out to userspace quite a bit
> > faster, but does open us up to some bugs given the state of our init
> > time locking.
> 
> Why are we hand rolling an async task for this? See
> http://lists.freedesktop.org/archives/intel-gfx/2010-August/007642.html
> 
> And the locking issue was the main reason why we haven't been able to
> proceed so far...

In looking at the async domains it didn't appear that they would
actually save me much if any code in most of these cases.

The locking is worrisome, but I added some extra WARNs and things are
solid across multiple boots, reloads, and suspend/resume cycles.  I
haven't tried lockdep though...

-- 
Jesse Barnes, Intel Open Source Technology Center



More information about the Intel-gfx mailing list