diff options
author | Mika Kuoppala <mika.kuoppala@linux.intel.com> | 2014-07-09 08:10:45 -0400 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2014-07-09 08:16:07 -0400 |
commit | 57c9d685472f7266508e49d325fa6e791b7f8b87 (patch) | |
tree | 5f1324449ba439f307c3e8efec7e1abfee23e3c1 /drivers/gpu | |
parent | ba5eaf3fb1a9de52c95bd987d07e258d1d0c8a49 (diff) |
drm/i915: remove i915_gfxec debugfs entry
CHV hard hangs on reading on 0x112f4.
References: https://bugs.freedesktop.org/show_bug.cgi?id=80893
Suggested-by: Daniel Vetter <daniel.vetter@ffwll.ch>
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 | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/drivers/gpu/drm/i915/i915_debugfs.c b/drivers/gpu/drm/i915/i915_debugfs.c index bab1159a1fa9..21e1f9289846 100644 --- a/drivers/gpu/drm/i915/i915_debugfs.c +++ b/drivers/gpu/drm/i915/i915_debugfs.c | |||
@@ -1582,26 +1582,6 @@ out: | |||
1582 | return ret; | 1582 | return ret; |
1583 | } | 1583 | } |
1584 | 1584 | ||
1585 | static int i915_gfxec(struct seq_file *m, void *unused) | ||
1586 | { | ||
1587 | struct drm_info_node *node = m->private; | ||
1588 | struct drm_device *dev = node->minor->dev; | ||
1589 | struct drm_i915_private *dev_priv = dev->dev_private; | ||
1590 | int ret; | ||
1591 | |||
1592 | ret = mutex_lock_interruptible(&dev->struct_mutex); | ||
1593 | if (ret) | ||
1594 | return ret; | ||
1595 | intel_runtime_pm_get(dev_priv); | ||
1596 | |||
1597 | seq_printf(m, "GFXEC: %ld\n", (unsigned long)I915_READ(0x112f4)); | ||
1598 | intel_runtime_pm_put(dev_priv); | ||
1599 | |||
1600 | mutex_unlock(&dev->struct_mutex); | ||
1601 | |||
1602 | return 0; | ||
1603 | } | ||
1604 | |||
1605 | static int i915_opregion(struct seq_file *m, void *unused) | 1585 | static int i915_opregion(struct seq_file *m, void *unused) |
1606 | { | 1586 | { |
1607 | struct drm_info_node *node = m->private; | 1587 | struct drm_info_node *node = m->private; |
@@ -3900,7 +3880,6 @@ static const struct drm_info_list i915_debugfs_list[] = { | |||
3900 | {"i915_drpc_info", i915_drpc_info, 0}, | 3880 | {"i915_drpc_info", i915_drpc_info, 0}, |
3901 | {"i915_emon_status", i915_emon_status, 0}, | 3881 | {"i915_emon_status", i915_emon_status, 0}, |
3902 | {"i915_ring_freq_table", i915_ring_freq_table, 0}, | 3882 | {"i915_ring_freq_table", i915_ring_freq_table, 0}, |
3903 | {"i915_gfxec", i915_gfxec, 0}, | ||
3904 | {"i915_fbc_status", i915_fbc_status, 0}, | 3883 | {"i915_fbc_status", i915_fbc_status, 0}, |
3905 | {"i915_ips_status", i915_ips_status, 0}, | 3884 | {"i915_ips_status", i915_ips_status, 0}, |
3906 | {"i915_sr_status", i915_sr_status, 0}, | 3885 | {"i915_sr_status", i915_sr_status, 0}, |