Re: [Intel-gfx] [PATCH 23/23] drm/i915: init pm.suspended earlier

2014-02-28 Thread Jesse Barnes
On Thu, 27 Feb 2014 19:26:50 -0300 Paulo Zanoni wrote: > From: Paulo Zanoni > > Function intel_init_runtime_pm is supposed to start allowing runtime > PM from that point, but it's called very late on the driver > initialization code, to prevent the driver from trying to suspend > while still in

[Intel-gfx] [PATCH 23/23] drm/i915: init pm.suspended earlier

2014-02-27 Thread Paulo Zanoni
From: Paulo Zanoni Function intel_init_runtime_pm is supposed to start allowing runtime PM from that point, but it's called very late on the driver initialization code, to prevent the driver from trying to suspend while still initializing. The problem is that variables are accessed earlier than t