projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6455c87
)
drm/i915: Add runtime PM's usage_count in i915_runtime_pm_status
author
Damien Lespiau
<damien.lespiau@intel.com>
Thu, 4 Jun 2015 17:23:58 +0000
(18:23 +0100)
committer
Jani Nikula
<jani.nikula@intel.com>
Fri, 12 Jun 2015 10:14:38 +0000
(13:14 +0300)
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/i915_debugfs.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/i915/i915_debugfs.c
b/drivers/gpu/drm/i915/i915_debugfs.c
index 8d25ce4a40db1ad7a26e20fec1e5e1d5ac1f2d27..47d9854434c598d2770dbb86990e562d5bc6e452 100644
(file)
--- a/
drivers/gpu/drm/i915/i915_debugfs.c
+++ b/
drivers/gpu/drm/i915/i915_debugfs.c
@@
-2490,6
+2490,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));
return 0;
}