On Mon, Jun 15, 2015 at 02:44:05PM +0200, Daniel Vetter wrote: > On Thu, Jun 04, 2015 at 06:23:58PM +0100, Damien Lespiau wrote: > > Signed-off-by: Damien Lespiau <damien.lespiau@xxxxxxxxx> > > --- > > drivers/gpu/drm/i915/i915_debugfs.c | 2 ++ > > 1 file changed, 2 insertions(+) > > > > diff --git a/drivers/gpu/drm/i915/i915_debugfs.c b/drivers/gpu/drm/i915/i915_debugfs.c > > index d8bd4e1..92cf273 100644 > > --- a/drivers/gpu/drm/i915/i915_debugfs.c > > +++ b/drivers/gpu/drm/i915/i915_debugfs.c > > @@ -2493,6 +2493,8 @@ static int i915_runtime_pm_status(struct seq_file *m, void *unused) > > seq_printf(m, "GPU idle: %s\n", yesno(!dev_priv->mm.busy)); > > seq_printf(m, "IRQs disabled: %s\n", > > yesno(!intel_irqs_enabled(dev_priv))); > > + seq_printf(m, "Usage count: %d\n", > > + atomic_read(&dev->dev->power.usage_count)); > > Needs a check for CONFIG_PM. Since I pulled in what Jani merged as a merge > commit, can you please do a follow-up patch? Ooops indeed, Chris just sent one. -- Damien _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/intel-gfx