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

2014-03-06 Thread Paulo Zanoni
2014-03-05 10:25 GMT-03:00 Daniel Vetter : > On Fri, Feb 21, 2014 at 01:52:21PM -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 sus

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

2014-03-05 Thread Daniel Vetter
On Fri, Feb 21, 2014 at 01:52:21PM -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

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

2014-02-28 Thread Imre Deak
On Mon, 2014-02-24 at 11:34 -0300, Paulo Zanoni wrote: > 2014-02-24 8:23 GMT-03:00 Imre Deak : > > On Fri, 2014-02-21 at 13:52 -0300, Paulo Zanoni wrote: > >> From: Paulo Zanoni > >> > >> Otherwise, when we run intel_modeset_check_state we may already be > >> runtime suspended, and our state check

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

2014-02-24 Thread Paulo Zanoni
2014-02-24 8:23 GMT-03:00 Imre Deak : > On Fri, 2014-02-21 at 13:52 -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

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

2014-02-24 Thread Imre Deak
On Fri, 2014-02-21 at 13:52 -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 > autosuspend_delay

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

2014-02-21 Thread Jesse Barnes
On Fri, 21 Feb 2014 13:52:21 -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 > autosuspend_del

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

2014-02-21 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). Signed-off-by: Paulo Zanoni ---