[Bug 76554] [gm45 regression] [drm:init_ring_common]: *ERROR* render ring initialization failed

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Apr 21 00:37:22 PDT 2014


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

--- Comment #39 from Chris Wilson <chris at chris-wilson.co.uk> ---
Hmm. I missed that the "after initialisation" printk is correct. So perhaps all
we need is to wait a little longer...


diff --git a/drivers/gpu/drm/i915/intel_ringbuffer.c
b/drivers/gpu/drm/i915/intel_ringbuffer.c
index 2eb85cc2062f..5a74986348c6 100644
--- a/drivers/gpu/drm/i915/intel_ringbuffer.c
+++ b/drivers/gpu/drm/i915/intel_ringbuffer.c
@@ -537,7 +537,7 @@ static int init_ring_common(struct intel_ring_buffer *ring)
        /* If the head is still not zero, the ring is dead */
        if (wait_for((I915_READ_CTL(ring) & RING_VALID) != 0 &&
                     I915_READ_START(ring) == i915_gem_obj_ggtt_offset(obj) &&
-                    (I915_READ_HEAD(ring) & HEAD_ADDR) == 8, 50)) {
+                    (I915_READ_HEAD(ring) & HEAD_ADDR) == 8, 1000)) {
                DRM_ERROR("%s initialization failed "
                          "ctl %08x (valid? %d) head %08x tail %08x start %08x
[expected %08lx]\n",
                          ring->name,

-- 
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/20140421/5a696944/attachment.html>


More information about the intel-gfx-bugs mailing list