diff options
author | Ben Widawsky <ben@bwidawsk.net> | 2012-04-04 02:03:00 -0400 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2012-04-09 12:04:10 -0400 |
commit | ec34a01de31128e5c08e5f05c47f4a787f45a33c (patch) | |
tree | ebb9b49426a75ce360803f89a10ab1f93232ea82 /drivers/gpu/drm/i915 | |
parent | 618563e3945b9d0864154bab3c607865b557cecc (diff) |
drm/i915: VCS is not the last ring
I made a mistake, please forgive me.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=48254
Signed-off-by: Ben Widawsky <benjamin.widawsky@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915')
-rw-r--r-- | drivers/gpu/drm/i915/i915_debugfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/i915_debugfs.c b/drivers/gpu/drm/i915/i915_debugfs.c index 2a1f0d7de0f..7e009950ac3 100644 --- a/drivers/gpu/drm/i915/i915_debugfs.c +++ b/drivers/gpu/drm/i915/i915_debugfs.c | |||
@@ -742,7 +742,7 @@ static void i915_ring_error_state(struct seq_file *m, | |||
742 | struct drm_i915_error_state *error, | 742 | struct drm_i915_error_state *error, |
743 | unsigned ring) | 743 | unsigned ring) |
744 | { | 744 | { |
745 | BUG_ON(ring > VCS); /* shut up confused gcc */ | 745 | BUG_ON(ring >= I915_NUM_RINGS); /* shut up confused gcc */ |
746 | seq_printf(m, "%s command stream:\n", ring_str(ring)); | 746 | seq_printf(m, "%s command stream:\n", ring_str(ring)); |
747 | seq_printf(m, " HEAD: 0x%08x\n", error->head[ring]); | 747 | seq_printf(m, " HEAD: 0x%08x\n", error->head[ring]); |
748 | seq_printf(m, " TAIL: 0x%08x\n", error->tail[ring]); | 748 | seq_printf(m, " TAIL: 0x%08x\n", error->tail[ring]); |