From: Deepak S Date: Thu, 17 Jul 2014 08:51:14 +0000 (+0530) Subject: drm/i915: Fix printing proper min/min/rpe values in debugfs X-Git-Tag: v3.17-rc1~82^2~20^2~19 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=b2435c94b0f1c09ecb71520e3ee4bbc342d5e8e3;p=karo-tx-linux.git drm/i915: Fix printing proper min/min/rpe values in debugfs This was fumbled while trying to use the cached min/min/rpe values in the vlv debugfs code. This is a regression from commit 03af20458a57a50735b12c1e3c23abc7ff70c6fa Author: Ville Syrjälä Date: Sat Jun 28 02:03:53 2014 +0300 drm/i915: Use the cached min/min/rpe values in the vlv debugfs code Signed-off-by: Deepak S Signed-off-by: Daniel Vetter --- diff --git a/drivers/gpu/drm/i915/i915_debugfs.c b/drivers/gpu/drm/i915/i915_debugfs.c index 7e72800c5d17..083683c97a64 100644 --- a/drivers/gpu/drm/i915/i915_debugfs.c +++ b/drivers/gpu/drm/i915/i915_debugfs.c @@ -1116,13 +1116,13 @@ static int i915_frequency_info(struct seq_file *m, void *unused) seq_printf(m, "DDR freq: %d MHz\n", dev_priv->mem_freq); seq_printf(m, "max GPU freq: %d MHz\n", - dev_priv->rps.max_freq); + vlv_gpu_freq(dev_priv, dev_priv->rps.max_freq)); seq_printf(m, "min GPU freq: %d MHz\n", - dev_priv->rps.min_freq); + vlv_gpu_freq(dev_priv, dev_priv->rps.min_freq)); seq_printf(m, "efficient (RPe) frequency: %d MHz\n", - dev_priv->rps.efficient_freq); + vlv_gpu_freq(dev_priv, dev_priv->rps.efficient_freq)); seq_printf(m, "current GPU freq: %d MHz\n", vlv_gpu_freq(dev_priv, (freq_sts >> 8) & 0xff));