drm/i915: CD clock frequency to debugfs
Subsystems (2)
PATCH 1/1 drm/i915: CD clock frequency to debugfs
This patch adds information on current CD clock
frequency to debugfs 'i915_frequency_info'.
Mika Kahola (1):
drm/i915: CD clock frequency on debugfs
drivers/gpu/drm/i915/i915_debugfs.c | 3 +++ 1 file changed, 3 insertions(+)
Signature · 6 lines
1.9.1 _______________________________________________ Intel-gfx mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH 1/1 drm/i915: CD clock frequency to debugfs
This patch adds information on current CD clock
frequency to debugfs i915_frequency_info
--- drivers/gpu/drm/i915/i915_debugfs.c | 3 +++ 1 file changed, 3 insertions(+)
drivers/gpu/drm/i915/i915_debugfs.c +3 -0
@@ -1266,6 +1266,9 @@ static int i915_frequency_info(struct seq_file *m, void *unused)seq_puts (m,"no P-state info available\n" ); } +seq_printf (m,"CD clock freq: %dkHz\n" , + dev_priv->display.get_display_clock_speed (dev)); + out:intel_runtime_pm_put (dev_priv);return ret;
Signature · 6 lines
1.9.1 _______________________________________________ Intel-gfx mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/intel-gfx
Task id: 6259 -------------------------------------Summary-------------------------------------
Platform Delta drm-intel-nightly Series Applied
PNV 276/276 276/276 ILK 302/302 302/302 SNB 318/318 318/318 IVB 341/341 341/341 BYT 287/287 287/287 BDW 318/318 318/318
-------------------------------------Detailed-------------------------------------
Platform Test drm-intel-nightly Series Applied
Note: You need to pay more attention to line start with '*'
_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx
Quoted 13 lines · Mika Kahola
This patch adds information on current CD clock
frequency to debugfsi915_frequency_infoSigned-off-by Mika Kahola <[email protected]>--- drivers/gpu/drm/i915/i915_debugfs.c | 3 +++ 1 file changed, 3 insertions(+)drivers/gpu/drm/i915/i915_debugfs.c +0
-0
drivers/gpu/drm/i915/i915_debugfs.c static int i915_frequency_info(struct seq_file *m, void *unused) · line 1270
Quoted 5 lines
drivers/gpu/drm/i915/i915_debugfs.c +2
-0@@ -1266,6 +1266,9 @@ static int i915_frequency_info(struct seq_file *m, void *unused)seq_puts (m,"no P-state info available\n" ); } +seq_printf (m,"CD clock freq: %dkHz\n" , + dev_priv->display.get_display_clock_speed (dev));
Shouldn't we also dump the computed/requested cdclk in dev_priv->cdclk_freq while at it? Seems useful enough otherwise. -Daniel
Quoted 11 lines
drivers/gpu/drm/i915/i915_debugfs.c +1
-0+ out:intel_runtime_pm_put (dev_priv);return ret;Signature · 6 lines
1.9.1 _______________________________________________ Intel-gfx mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/intel-gfx
Signature · 7 lines
Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch _______________________________________________ Intel-gfx mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/intel-gfx
Quoted 17 lines · Daniel Vetter
Quoted 16 lines · Mika Kahola
This patch adds information on current CD clock
frequency to debugfsi915_frequency_infoSigned-off-by Mika Kahola <[email protected]>--- drivers/gpu/drm/i915/i915_debugfs.c | 3 +++ 1 file changed, 3 insertions(+)drivers/gpu/drm/i915/i915_debugfs.c +0
-0@@ -1266,6 +1266,9 @@ static int i915_frequency_info(struct seq_file *m, void *unused)seq_puts (m,"no P-state info available\n" ); }
Quoted 6 lines
drivers/gpu/drm/i915/i915_debugfs.c static int i915_frequency_info(struct seq_file *m, void *unused) · line 1270
Quoted 2 lines
drivers/gpu/drm/i915/i915_debugfs.c +2
-0+seq_printf (m,"CD clock freq: %dkHz\n" , + dev_priv->display.get_display_clock_speed (dev));Shouldn't we also dump the computed/requested cdclk in
dev_priv->cdclk_freqwhile at it? Seems useful enough otherwise. -Daniel
Yes, that would be useful information. I'll throw a patch that covers these clocks as well.
-Mika-
Quoted 7 lines
Quoted 7 lines
drivers/gpu/drm/i915/i915_debugfs.c +1
-0+ out:intel_runtime_pm_put (dev_priv);return ret;Signature · 1 line
1.9.1
Quoted 5 lines
Quoted 4 lines
_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx
_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx