drm/i915: Add CD and pixel clock information
Subsystems (2)
cover drm/i915: Add CD and pixel clock information
These patches add information of current and maximum CD clock frequency and pixel clock frequency information on 'i915_debugfs.c'.
Mika Kahola (3):
drm/i915: Add current CD clock frequency to debugfs drm/i915: Add max CD clock to debugfs drm/i915: Add max DOT clock frequency to debugfs
drivers/gpu/drm/i915/i915_debugfs.c | 4 ++++ 1 file changed, 4 insertions(+)
Signature · 6 lines
1.9.1 _______________________________________________ Intel-gfx mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH 1/3 drm/i915: Add current CD clock frequency to debugfs
Add information on current CD clock frequency to
debugfs 'i915_frequency_info'
--- drivers/gpu/drm/i915/i915_debugfs.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/gpu/drm/i915/i915_debugfs.c +2 -0
@@ -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;
Signature · 6 lines
1.9.1 _______________________________________________ Intel-gfx mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH 2/3 drm/i915: Add max CD clock to debugfs
In reply to Mika KaholaThis adds information on maximum supported CD clock frequency to debugfs 'i915_frequency_info'
--- drivers/gpu/drm/i915/i915_debugfs.c | 1 + 1 file changed, 1 insertion(+)
drivers/gpu/drm/i915/i915_debugfs.c +1 -0
@@ -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);
Signature · 6 lines
1.9.1 _______________________________________________ Intel-gfx mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH 3/3 drm/i915: Add max DOT clock frequency to debugfs
In reply to Mika KaholaInformation on maximum supported pixel clock frequency to i915_frequency_info.
--- drivers/gpu/drm/i915/i915_debugfs.c | 1 + 1 file changed, 1 insertion(+)
drivers/gpu/drm/i915/i915_debugfs.c +1 -0
@@ -1311,6 +1311,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); +seq_printf (m,"Max pixel clock freq: %dkHz\n" , dev_priv->max_dotclk_freq); out:intel_runtime_pm_put (dev_priv);
Signature · 6 lines
1.9.1 _______________________________________________ Intel-gfx mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [PATCH 3/3] drm/i915: Add max DOT clock frequency to debugfs
Quoted 13 lines · Mika Kahola
Information on maximum supported pixel clock frequency to
i915_frequency_info.Signed-off-by Mika Kahola <[email protected]>--- drivers/gpu/drm/i915/i915_debugfs.c | 1 + 1 file changed, 1 insertion(+)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 1314
Quoted 4 lines
drivers/gpu/drm/i915/i915_debugfs.c +1
-0@@ -1311,6 +1311,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); +seq_printf (m,"Max pixel clock freq: %dkHz\n" , dev_priv->max_dotclk_freq);
I would put a space between the number and units.
The rest of the stuff in there is about the gt stuff, so not sure if this is the best place for it. But if no one else objects, I won't either.
Could probably squash all three patches into just one, since they're all doing the same thing anyway.
With that these are:
Quoted 10 lines
drivers/gpu/drm/i915/i915_debugfs.c +0
-0out:intel_runtime_pm_put (dev_priv);Signature · 6 lines
1.9.1 _______________________________________________ Intel-gfx mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/intel-gfx
Signature · 6 lines
Ville Syrjälä Intel OTC _______________________________________________ Intel-gfx mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [PATCH 3/3] drm/i915: Add max DOT clock frequency to debugfs
Quoted 21 lines · Ville Syrjälä
Quoted 13 lines · Mika Kahola
Information on maximum supported pixel clock frequency to
i915_frequency_info.Signed-off-by Mika Kahola <[email protected]>--- drivers/gpu/drm/i915/i915_debugfs.c | 1 + 1 file changed, 1 insertion(+)drivers/gpu/drm/i915/i915_debugfs.c +0
-0drivers/gpu/drm/i915/i915_debugfs.c static int i915_frequency_info(struct seq_file *m, void *unused) · line 1314
Quoted 4 lines
drivers/gpu/drm/i915/i915_debugfs.c +1
-0@@ -1311,6 +1311,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); +seq_printf (m,"Max pixel clock freq: %dkHz\n" , dev_priv->max_dotclk_freq);I would put a space between the number and units.
Quoted 9 lines
The rest of the stuff in there is about the gt stuff, so not sure if this is the best place for it. But if no one else objects, I won't either.
Could probably squash all three patches into just one, since they're all doing the same thing anyway.
With that these are:
Reviewed-by Ville Syrjälä <[email protected]>
Thanks! These patches are leftovers from the CD clock and mode validity patch series. I'll combine all these three patches to one patch.
-Mika-
Quoted 11 lines
Quoted 10 lines
drivers/gpu/drm/i915/i915_debugfs.c +0
-0out:intel_runtime_pm_put (dev_priv);Signature · 6 lines
1.9.1 _______________________________________________ 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