aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/i915_debugfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm/i915/i915_debugfs.c')
-rw-r--r--drivers/gpu/drm/i915/i915_debugfs.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/i915_debugfs.c b/drivers/gpu/drm/i915/i915_debugfs.c
index 92f75782c332..7243d6418651 100644
--- a/drivers/gpu/drm/i915/i915_debugfs.c
+++ b/drivers/gpu/drm/i915/i915_debugfs.c
@@ -456,8 +456,14 @@ static int i915_interrupt_info(struct seq_file *m, void *data)
456 } 456 }
457 seq_printf(m, "Interrupts received: %d\n", 457 seq_printf(m, "Interrupts received: %d\n",
458 atomic_read(&dev_priv->irq_received)); 458 atomic_read(&dev_priv->irq_received));
459 for (i = 0; i < I915_NUM_RINGS; i++) 459 for (i = 0; i < I915_NUM_RINGS; i++) {
460 if (IS_GEN6(dev)) {
461 seq_printf(m, "Graphics Interrupt mask (%s): %08x\n",
462 dev_priv->ring[i].name,
463 I915_READ_IMR(&dev_priv->ring[i]));
464 }
460 i915_ring_seqno_info(m, &dev_priv->ring[i]); 465 i915_ring_seqno_info(m, &dev_priv->ring[i]);
466 }
461 mutex_unlock(&dev->struct_mutex); 467 mutex_unlock(&dev->struct_mutex);
462 468
463 return 0; 469 return 0;