[Intel-gfx] [PATCH 2/3] drm/i915: Add max CD clock to debugfs

Mika Kahola mika.kahola at intel.com
Thu Sep 24 04:28:40 PDT 2015


This adds information on maximum supported
CD clock frequency to debugfs 'i915_frequency_info'

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

diff --git a/drivers/gpu/drm/i915/i915_debugfs.c b/drivers/gpu/drm/i915/i915_debugfs.c
index 674fefa..6882455 100644
--- a/drivers/gpu/drm/i915/i915_debugfs.c
+++ b/drivers/gpu/drm/i915/i915_debugfs.c
@@ -1310,6 +1310,7 @@ static int i915_frequency_info(struct seq_file *m, void *unused)
 	}
 
 	seq_printf(m, "Current CD clock freq: %dkHz\n", dev_priv->cdclk_freq);
+	seq_printf(m, "Max CD clock freq: %dkHz\n", dev_priv->max_cdclk_freq);
 
 out:
 	intel_runtime_pm_put(dev_priv);
-- 
1.9.1



More information about the Intel-gfx mailing list