Re: [Intel-gfx] [PATCH] drm/i915: fix pm init ordering

2013-12-06 Thread Daniel Vetter
On Fri, Dec 06, 2013 at 10:17:53AM +0100, Daniel Vetter wrote: > Shovel a bit more of the the code into the setup function, and call > it earlier. Otherwise lockdep is unhappy since we cancel the delayed > resume work before it's initialized. > > While at it also shovel the pc8 setup code into the

[Intel-gfx] [PATCH] drm/i915: fix pm init ordering

2013-12-06 Thread Daniel Vetter
Shovel a bit more of the the code into the setup function, and call it earlier. Otherwise lockdep is unhappy since we cancel the delayed resume work before it's initialized. While at it also shovel the pc8 setup code into the same functions. I wanted to also ditch the header declaration of the hws