From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ben Widawsky Subject: [PATCH 12.1/13] drm/i915: Small semaphore debugfs fixup Date: Fri, 2 May 2014 19:23:04 -0700 Message-ID: <1399083784-30357-1-git-send-email-benjamin.widawsky@intel.com> References: <1398808360-3674-13-git-send-email-benjamin.widawsky@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by gabe.freedesktop.org (Postfix) with ESMTP id 13B646F02B for ; Fri, 2 May 2014 19:23:10 -0700 (PDT) In-Reply-To: <1398808360-3674-13-git-send-email-benjamin.widawsky@intel.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" To: Intel GFX Cc: Ben Widawsky , Ben Widawsky List-Id: intel-gfx@lists.freedesktop.org Each ring only has ring-1 sync seqnos. It is a bug to try to print extra. This should be squashed into drm/i915: semaphore debugfs. I don't have an easy way at the moment to do the rebase and resend, but that is what should be done. Signed-off-by: Ben Widawsky --- drivers/gpu/drm/i915/i915_debugfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/i915_debugfs.c b/drivers/gpu/drm/i915/i915_debugfs.c index 0c4159d..7cd3c7f 100644 --- a/drivers/gpu/drm/i915/i915_debugfs.c +++ b/drivers/gpu/drm/i915/i915_debugfs.c @@ -2443,7 +2443,7 @@ static int i915_semaphore_status(struct seq_file *m, void *unused) seq_puts(m, "\nSync seqno:\n"); for_each_ring(ring, dev_priv, i) { - for (j = 0; j < I915_NUM_RINGS; j++) { + for (j = 0; j < I915_NUM_RINGS - 1; j++) { seq_printf(m, " 0x%08x ", ring->semaphore.sync_seqno[j]); } seq_putc(m, '\n'); -- 1.9.2