diff options
author | Ben Widawsky <ben@bwidawsk.net> | 2012-04-26 19:03:01 -0400 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2012-05-03 05:18:21 -0400 |
commit | 9574b3fe29ba9064c03e8db0e399f5fe356ee03b (patch) | |
tree | 7617da0bd5422f715afd9f19e84eaa90465712eb /drivers/gpu/drm/i915/i915_debugfs.c | |
parent | be998e2e3945d97ffad3c800ef52fd487868b3e9 (diff) |
drm/i915: kill waiting_seqno
The waiting_seqno is not terribly useful, and as such we can remove it
so that we'll be able to extract lockless code.
v2: Keep the information for error_state (Chris)
Check if ring is initialized in hangcheck (Chris)
Capture the waiting ring (Chris)
Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
[danvet: add some bikeshed to clarify a comment.]
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 | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpu/drm/i915/i915_debugfs.c b/drivers/gpu/drm/i915/i915_debugfs.c index 8ed034233e38..9d4bf6bfc46a 100644 --- a/drivers/gpu/drm/i915/i915_debugfs.c +++ b/drivers/gpu/drm/i915/i915_debugfs.c | |||
@@ -414,8 +414,6 @@ static void i915_ring_seqno_info(struct seq_file *m, | |||
414 | if (ring->get_seqno) { | 414 | if (ring->get_seqno) { |
415 | seq_printf(m, "Current sequence (%s): %d\n", | 415 | seq_printf(m, "Current sequence (%s): %d\n", |
416 | ring->name, ring->get_seqno(ring)); | 416 | ring->name, ring->get_seqno(ring)); |
417 | seq_printf(m, "Waiter sequence (%s): %d\n", | ||
418 | ring->name, ring->waiting_seqno); | ||
419 | seq_printf(m, "IRQ sequence (%s): %d\n", | 417 | seq_printf(m, "IRQ sequence (%s): %d\n", |
420 | ring->name, ring->irq_seqno); | 418 | ring->name, ring->irq_seqno); |
421 | } | 419 | } |
@@ -687,6 +685,7 @@ static void i915_ring_error_state(struct seq_file *m, | |||
687 | error->semaphore_mboxes[ring][1]); | 685 | error->semaphore_mboxes[ring][1]); |
688 | } | 686 | } |
689 | seq_printf(m, " seqno: 0x%08x\n", error->seqno[ring]); | 687 | seq_printf(m, " seqno: 0x%08x\n", error->seqno[ring]); |
688 | seq_printf(m, " waiting: %s\n", yesno(error->waiting[ring])); | ||
690 | seq_printf(m, " ring->head: 0x%08x\n", error->cpu_ring_head[ring]); | 689 | seq_printf(m, " ring->head: 0x%08x\n", error->cpu_ring_head[ring]); |
691 | seq_printf(m, " ring->tail: 0x%08x\n", error->cpu_ring_tail[ring]); | 690 | seq_printf(m, " ring->tail: 0x%08x\n", error->cpu_ring_tail[ring]); |
692 | } | 691 | } |