]> git.openfabrics.org - ~shefty/rdma-dev.git/commitdiff
drm/i915: debugfs: show semaphore registers also on gen7
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 24 Jan 2012 08:44:29 +0000 (09:44 +0100)
committerKeith Packard <keithp@keithp.com>
Tue, 24 Jan 2012 21:30:26 +0000 (13:30 -0800)
Corresponding changes to improve our error_state are pending
some other patches to clean up things first.

Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Reviewed-by: Eugeni Dodonov <eugeni.dodonov@intel.com>
Reviewed-by: Keith Packard <keithp@keithp.com>
Signed-off-by: Keith Packard <keithp@keithp.com>
drivers/gpu/drm/i915/i915_debugfs.c

index 6b7204638603d347003e35ea1df603aa1dc74940..99f1407988082d2957cc7248988785344ae04f3b 100644 (file)
@@ -653,7 +653,7 @@ static int i915_ringbuffer_info(struct seq_file *m, void *data)
        seq_printf(m, "  Size :    %08x\n", ring->size);
        seq_printf(m, "  Active :  %08x\n", intel_ring_get_active_head(ring));
        seq_printf(m, "  NOPID :   %08x\n", I915_READ_NOPID(ring));
-       if (IS_GEN6(dev)) {
+       if (IS_GEN6(dev) || IS_GEN7(dev)) {
                seq_printf(m, "  Sync 0 :   %08x\n", I915_READ_SYNC_0(ring));
                seq_printf(m, "  Sync 1 :   %08x\n", I915_READ_SYNC_1(ring));
        }