Re: [Intel-gfx] [PATCH 11/11] drm/i915: assert we're not runtime suspended when writing registers

2014-03-05 Thread Daniel Vetter
On Fri, Feb 28, 2014 at 05:16:12PM +0200, Imre Deak wrote: On Fri, 2014-02-21 at 13:52 -0300, Paulo Zanoni wrote: From: Paulo Zanoni paulo.r.zan...@intel.com I could swear this was already happening in the current code... Also, put the reads and writes in a generic place, so we don't

Re: [Intel-gfx] [PATCH 11/11] drm/i915: assert we're not runtime suspended when writing registers

2014-03-05 Thread Daniel Vetter
On Wed, Mar 05, 2014 at 02:44:18PM +0100, Daniel Vetter wrote: On Fri, Feb 28, 2014 at 05:16:12PM +0200, Imre Deak wrote: On Fri, 2014-02-21 at 13:52 -0300, Paulo Zanoni wrote: From: Paulo Zanoni paulo.r.zan...@intel.com I could swear this was already happening in the current code...

Re: [Intel-gfx] [PATCH 11/11] drm/i915: assert we're not runtime suspended when writing registers

2014-02-28 Thread Imre Deak
On Fri, 2014-02-21 at 13:52 -0300, Paulo Zanoni wrote: From: Paulo Zanoni paulo.r.zan...@intel.com I could swear this was already happening in the current code... Also, put the reads and writes in a generic place, so we don't forget it again when we add runtime PM support to new platforms.

[Intel-gfx] [PATCH 11/11] drm/i915: assert we're not runtime suspended when writing registers

2014-02-21 Thread Paulo Zanoni
From: Paulo Zanoni paulo.r.zan...@intel.com I could swear this was already happening in the current code... Also, put the reads and writes in a generic place, so we don't forget it again when we add runtime PM support to new platforms. Signed-off-by: Paulo Zanoni paulo.r.zan...@intel.com ---