diff options
author | Mika Kuoppala <mika.kuoppala@linux.intel.com> | 2014-07-09 08:10:43 -0400 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2014-07-09 08:15:55 -0400 |
commit | 1196f662628a6bd03456c40ac18a554af52d1d76 (patch) | |
tree | ddcc52e6f91ac07e4db9826dddf8495a8d265811 /drivers/gpu/drm/i915/i915_debugfs.c | |
parent | 2ff8fde1ea0992dfd735dce94f8cae2aacff8e5c (diff) |
drm/i915: remove i915_delayedfreq_table debugfs entry
CHV hard hangs on reading these registers. As these have not
been used since cantiga & ilk, remove the debugfs entry.
References: https://bugs.freedesktop.org/show_bug.cgi?id=80893
Suggested-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Mika Kuoppala <mika.kuoppala@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_debugfs.c')
-rw-r--r-- | drivers/gpu/drm/i915/i915_debugfs.c | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/drivers/gpu/drm/i915/i915_debugfs.c b/drivers/gpu/drm/i915/i915_debugfs.c index b3b56c46ef7e..6d471e1192a3 100644 --- a/drivers/gpu/drm/i915/i915_debugfs.c +++ b/drivers/gpu/drm/i915/i915_debugfs.c | |||
@@ -1158,32 +1158,6 @@ out: | |||
1158 | return ret; | 1158 | return ret; |
1159 | } | 1159 | } |
1160 | 1160 | ||
1161 | static int i915_delayfreq_table(struct seq_file *m, void *unused) | ||
1162 | { | ||
1163 | struct drm_info_node *node = m->private; | ||
1164 | struct drm_device *dev = node->minor->dev; | ||
1165 | struct drm_i915_private *dev_priv = dev->dev_private; | ||
1166 | u32 delayfreq; | ||
1167 | int ret, i; | ||
1168 | |||
1169 | ret = mutex_lock_interruptible(&dev->struct_mutex); | ||
1170 | if (ret) | ||
1171 | return ret; | ||
1172 | intel_runtime_pm_get(dev_priv); | ||
1173 | |||
1174 | for (i = 0; i < 16; i++) { | ||
1175 | delayfreq = I915_READ(PXVFREQ_BASE + i * 4); | ||
1176 | seq_printf(m, "P%02dVIDFREQ: 0x%08x (VID: %d)\n", i, delayfreq, | ||
1177 | (delayfreq & PXVFREQ_PX_MASK) >> PXVFREQ_PX_SHIFT); | ||
1178 | } | ||
1179 | |||
1180 | intel_runtime_pm_put(dev_priv); | ||
1181 | |||
1182 | mutex_unlock(&dev->struct_mutex); | ||
1183 | |||
1184 | return 0; | ||
1185 | } | ||
1186 | |||
1187 | static inline int MAP_TO_MV(int map) | 1161 | static inline int MAP_TO_MV(int map) |
1188 | { | 1162 | { |
1189 | return 1250 - (map * 25); | 1163 | return 1250 - (map * 25); |
@@ -3952,7 +3926,6 @@ static const struct drm_info_list i915_debugfs_list[] = { | |||
3952 | {"i915_gem_hws_vebox", i915_hws_info, 0, (void *)VECS}, | 3926 | {"i915_gem_hws_vebox", i915_hws_info, 0, (void *)VECS}, |
3953 | {"i915_rstdby_delays", i915_rstdby_delays, 0}, | 3927 | {"i915_rstdby_delays", i915_rstdby_delays, 0}, |
3954 | {"i915_frequency_info", i915_frequency_info, 0}, | 3928 | {"i915_frequency_info", i915_frequency_info, 0}, |
3955 | {"i915_delayfreq_table", i915_delayfreq_table, 0}, | ||
3956 | {"i915_inttoext_table", i915_inttoext_table, 0}, | 3929 | {"i915_inttoext_table", i915_inttoext_table, 0}, |
3957 | {"i915_drpc_info", i915_drpc_info, 0}, | 3930 | {"i915_drpc_info", i915_drpc_info, 0}, |
3958 | {"i915_emon_status", i915_emon_status, 0}, | 3931 | {"i915_emon_status", i915_emon_status, 0}, |