Re: [Intel-gfx] [PATCH 08/46] drm/i915: Mark up debugfs with rpm wakeref tracking

2019-01-09 Thread Chris Wilson
Quoting Mika Kuoppala (2019-01-09 10:20:26) > Chris Wilson writes: > > @@ -1735,29 +1743,30 @@ static int i915_emon_status(struct seq_file *m, > > void *unused) > > struct drm_i915_private *dev_priv = node_to_i915(m->private); > > struct drm_device *dev = &dev_priv->drm; > > uns

Re: [Intel-gfx] [PATCH 08/46] drm/i915: Mark up debugfs with rpm wakeref tracking

2019-01-09 Thread Mika Kuoppala
Chris Wilson writes: > As debugfs has a simple pattern of taking a rpm wakeref around the user > access, we can track the local reference and drop it as soon as > possible. > > Signed-off-by: Chris Wilson > Cc: Jani Nikula > --- > drivers/gpu/drm/i915/i915_debugfs.c | 135 +

[Intel-gfx] [PATCH 08/46] drm/i915: Mark up debugfs with rpm wakeref tracking

2019-01-07 Thread Chris Wilson
As debugfs has a simple pattern of taking a rpm wakeref around the user access, we can track the local reference and drop it as soon as possible. Signed-off-by: Chris Wilson Cc: Jani Nikula --- drivers/gpu/drm/i915/i915_debugfs.c | 135 +--- 1 file changed, 82 insertions