Re: [Intel-gfx] [PATCH 6/6] drm/i915: get runtime PM at intel_set_mode

2014-03-10 Thread Imre Deak
On Sat, 2014-03-08 at 11:04 +0100, Daniel Vetter wrote: > On Fri, Mar 07, 2014 at 08:05:24PM -0300, Paulo Zanoni wrote: > > From: Paulo Zanoni > > > > Otherwise, when we run intel_modeset_check_state we may already be > > runtime suspended, and our state checking code will read registers > > whil

Re: [Intel-gfx] [PATCH 6/6] drm/i915: get runtime PM at intel_set_mode

2014-03-08 Thread Daniel Vetter
On Fri, Mar 07, 2014 at 08:05:24PM -0300, Paulo Zanoni wrote: > From: Paulo Zanoni > > Otherwise, when we run intel_modeset_check_state we may already be > runtime suspended, and our state checking code will read registers > while the device is suspended. This can only happen if your > autosuspen

[Intel-gfx] [PATCH 6/6] drm/i915: get runtime PM at intel_set_mode

2014-03-07 Thread Paulo Zanoni
From: Paulo Zanoni Otherwise, when we run intel_modeset_check_state we may already be runtime suspended, and our state checking code will read registers while the device is suspended. This can only happen if your autosuspend_delay_ms is low (not the default 10s) and i915.pc8_timeout is set to zer