diff options
author | Mika Kuoppala <mika.kuoppala@linux.intel.com> | 2014-07-09 08:10:46 -0400 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2014-07-09 08:16:13 -0400 |
commit | d101c8fe9bda6578ae72d6021415cfaad2b422f0 (patch) | |
tree | ae257f2d4933a5efc1aab883c688def6bb4dcfb8 /drivers/gpu | |
parent | 57c9d685472f7266508e49d325fa6e791b7f8b87 (diff) |
drm/i915: remove i915_rstdby_delays debugfs entry
CHV hard hangs on reading on 0x11100
References: https://bugs.freedesktop.org/show_bug.cgi?id=80893
Signed-off-by: Mika Kuoppala <mika.kuoppala@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu')
-rw-r--r-- | drivers/gpu/drm/i915/i915_debugfs.c | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/drivers/gpu/drm/i915/i915_debugfs.c b/drivers/gpu/drm/i915/i915_debugfs.c index 21e1f9289846..394519182510 100644 --- a/drivers/gpu/drm/i915/i915_debugfs.c +++ b/drivers/gpu/drm/i915/i915_debugfs.c | |||
@@ -994,29 +994,6 @@ DEFINE_SIMPLE_ATTRIBUTE(i915_next_seqno_fops, | |||
994 | i915_next_seqno_get, i915_next_seqno_set, | 994 | i915_next_seqno_get, i915_next_seqno_set, |
995 | "0x%llx\n"); | 995 | "0x%llx\n"); |
996 | 996 | ||
997 | static int i915_rstdby_delays(struct seq_file *m, void *unused) | ||
998 | { | ||
999 | struct drm_info_node *node = m->private; | ||
1000 | struct drm_device *dev = node->minor->dev; | ||
1001 | struct drm_i915_private *dev_priv = dev->dev_private; | ||
1002 | u16 crstanddelay; | ||
1003 | int ret; | ||
1004 | |||
1005 | ret = mutex_lock_interruptible(&dev->struct_mutex); | ||
1006 | if (ret) | ||
1007 | return ret; | ||
1008 | intel_runtime_pm_get(dev_priv); | ||
1009 | |||
1010 | crstanddelay = I915_READ16(CRSTANDVID); | ||
1011 | |||
1012 | intel_runtime_pm_put(dev_priv); | ||
1013 | mutex_unlock(&dev->struct_mutex); | ||
1014 | |||
1015 | seq_printf(m, "w/ctx: %d, w/o ctx: %d\n", (crstanddelay >> 8) & 0x3f, (crstanddelay & 0x3f)); | ||
1016 | |||
1017 | return 0; | ||
1018 | } | ||
1019 | |||
1020 | static int i915_frequency_info(struct seq_file *m, void *unused) | 997 | static int i915_frequency_info(struct seq_file *m, void *unused) |
1021 | { | 998 | { |
1022 | struct drm_info_node *node = m->private; | 999 | struct drm_info_node *node = m->private; |
@@ -3875,7 +3852,6 @@ static const struct drm_info_list i915_debugfs_list[] = { | |||
3875 | {"i915_gem_hws_blt", i915_hws_info, 0, (void *)BCS}, | 3852 | {"i915_gem_hws_blt", i915_hws_info, 0, (void *)BCS}, |
3876 | {"i915_gem_hws_bsd", i915_hws_info, 0, (void *)VCS}, | 3853 | {"i915_gem_hws_bsd", i915_hws_info, 0, (void *)VCS}, |
3877 | {"i915_gem_hws_vebox", i915_hws_info, 0, (void *)VECS}, | 3854 | {"i915_gem_hws_vebox", i915_hws_info, 0, (void *)VECS}, |
3878 | {"i915_rstdby_delays", i915_rstdby_delays, 0}, | ||
3879 | {"i915_frequency_info", i915_frequency_info, 0}, | 3855 | {"i915_frequency_info", i915_frequency_info, 0}, |
3880 | {"i915_drpc_info", i915_drpc_info, 0}, | 3856 | {"i915_drpc_info", i915_drpc_info, 0}, |
3881 | {"i915_emon_status", i915_emon_status, 0}, | 3857 | {"i915_emon_status", i915_emon_status, 0}, |