Re: [Intel-gfx] [PATCH v2 5/15] drm/i915: take init power domain for sysfs/debugfs entries where needed

2014-04-09 Thread Daniel Vetter
On Wed, Apr 09, 2014 at 07:06:14PM +0300, Ville Syrjälä wrote: > On Wed, Apr 09, 2014 at 05:21:47PM +0300, Imre Deak wrote: > > On Wed, 2014-04-09 at 16:15 +0200, Daniel Vetter wrote: > > > On Tue, Apr 08, 2014 at 10:34:41PM +0300, Imre Deak wrote: > > > > v2: > > > > - make it actually compile, I

Re: [Intel-gfx] [PATCH v2 5/15] drm/i915: take init power domain for sysfs/debugfs entries where needed

2014-04-09 Thread Imre Deak
On Wed, 2014-04-09 at 19:06 +0300, Ville Syrjälä wrote: > On Wed, Apr 09, 2014 at 05:21:47PM +0300, Imre Deak wrote: > > On Wed, 2014-04-09 at 16:15 +0200, Daniel Vetter wrote: > > > On Tue, Apr 08, 2014 at 10:34:41PM +0300, Imre Deak wrote: > > > > v2: > > > > - make it actually compile, I managed

Re: [Intel-gfx] [PATCH v2 5/15] drm/i915: take init power domain for sysfs/debugfs entries where needed

2014-04-09 Thread Ville Syrjälä
On Wed, Apr 09, 2014 at 05:21:47PM +0300, Imre Deak wrote: > On Wed, 2014-04-09 at 16:15 +0200, Daniel Vetter wrote: > > On Tue, Apr 08, 2014 at 10:34:41PM +0300, Imre Deak wrote: > > > v2: > > > - make it actually compile, I managed to send the wrong version as v1 > > > somehow > > > > > > Sign

Re: [Intel-gfx] [PATCH v2 5/15] drm/i915: take init power domain for sysfs/debugfs entries where needed

2014-04-09 Thread Imre Deak
On Wed, 2014-04-09 at 16:15 +0200, Daniel Vetter wrote: > On Tue, Apr 08, 2014 at 10:34:41PM +0300, Imre Deak wrote: > > v2: > > - make it actually compile, I managed to send the wrong version as v1 > > somehow > > > > Signed-off-by: Imre Deak > > Usually if we just want the device to be out o

Re: [Intel-gfx] [PATCH v2 5/15] drm/i915: take init power domain for sysfs/debugfs entries where needed

2014-04-09 Thread Paulo Zanoni
2014-04-09 11:15 GMT-03:00 Daniel Vetter : > On Tue, Apr 08, 2014 at 10:34:41PM +0300, Imre Deak wrote: >> v2: >> - make it actually compile, I managed to send the wrong version as v1 >> somehow This version removed the commit message of the first version. >> >> Signed-off-by: Imre Deak > > Us

Re: [Intel-gfx] [PATCH v2 5/15] drm/i915: take init power domain for sysfs/debugfs entries where needed

2014-04-09 Thread Daniel Vetter
On Tue, Apr 08, 2014 at 10:34:41PM +0300, Imre Deak wrote: > v2: > - make it actually compile, I managed to send the wrong version as v1 > somehow > > Signed-off-by: Imre Deak Usually if we just want the device to be out of D3 we just use intel_runtime_pm_get/put. On a quick look it seems like

[Intel-gfx] [PATCH v2 5/15] drm/i915: take init power domain for sysfs/debugfs entries where needed

2014-04-08 Thread Imre Deak
v2: - make it actually compile, I managed to send the wrong version as v1 somehow Signed-off-by: Imre Deak --- drivers/gpu/drm/i915/i915_debugfs.c | 18 -- drivers/gpu/drm/i915/i915_sysfs.c | 4 2 files changed, 20 insertions(+), 2 deletions(-) diff --git a/drivers/gpu