diff mbox

[1/3] drm/i915: Add current CD clock frequency to debugfs

Message ID 1443094121-4106-2-git-send-email-mika.kahola@intel.com (mailing list archive)
State New, archived
Headers show

Commit Message

Mika Kahola Sept. 24, 2015, 11:28 a.m. UTC
Add information on current CD clock frequency to
debugfs 'i915_frequency_info'

Signed-off-by: Mika Kahola <mika.kahola@intel.com>
---
 drivers/gpu/drm/i915/i915_debugfs.c | 2 ++
 1 file changed, 2 insertions(+)
diff mbox

Patch

diff --git a/drivers/gpu/drm/i915/i915_debugfs.c b/drivers/gpu/drm/i915/i915_debugfs.c
index 5615d3d..674fefa 100644
--- a/drivers/gpu/drm/i915/i915_debugfs.c
+++ b/drivers/gpu/drm/i915/i915_debugfs.c
@@ -1309,6 +1309,8 @@  static int i915_frequency_info(struct seq_file *m, void *unused)
 		seq_puts(m, "no P-state info available\n");
 	}
 
+	seq_printf(m, "Current CD clock freq: %dkHz\n", dev_priv->cdclk_freq);
+
 out:
 	intel_runtime_pm_put(dev_priv);
 	return ret;