[Bug 77717] [PNV/ILK bisected]igt/drv_suspend/debugfs-reader fails and cost long time to execute

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Apr 29 02:36:52 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=77717

--- Comment #7 from Chris Wilson <chris at chris-wilson.co.uk> ---
Yawn.

diff --git a/drivers/gpu/drm/i915/i915_debugfs.c
b/drivers/gpu/drm/i915/i915_debugfs.c
index 3c066e635022..9f50675c327a 100644
--- a/drivers/gpu/drm/i915/i915_debugfs.c
+++ b/drivers/gpu/drm/i915/i915_debugfs.c
@@ -1796,6 +1796,9 @@ static int i915_context_status(struct seq_file *m, void
*unused)
        }

        list_for_each_entry(ctx, &dev_priv->context_list, link) {
+               if (ctx->obj == NULL)
+                       continue;
+
                seq_puts(m, "HW context ");
                describe_ctx(m, ctx);
                for_each_ring(ring, dev_priv, i)

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20140429/dfabc032/attachment.html>


More information about the intel-gfx-bugs mailing list