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

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Jun 24 23:47:04 PDT 2014


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

--- Comment #70 from Chris Wilson <chris at chris-wilson.co.uk> ---
Here's something you can try on top of that branch:

diff --git a/drivers/gpu/drm/i915/intel_ringbuffer.c
b/drivers/gpu/drm/i915/intel_ringbuffer.c
index 9ee4ab306134..4f3397f87152 100644
--- a/drivers/gpu/drm/i915/intel_ringbuffer.c
+++ b/drivers/gpu/drm/i915/intel_ringbuffer.c
@@ -539,13 +539,13 @@ reset:
                        goto reset;

                DRM_ERROR("%s initialization failed "
-                         "ctl %08x (valid? %d) head %08x tail %08x start %08x
[expected %08lx]\n",
+                         "ctl %08x (valid? %d) head %08x tail %08x start %08x
[expected %08lx], fudging\n",
                          ring->name,
                          I915_READ_CTL(ring), I915_READ_CTL(ring) &
RING_VALID,
                          I915_READ_HEAD(ring), I915_READ_TAIL(ring),
                          I915_READ_START(ring), (unsigned
long)i915_gem_obj_ggtt_offset(obj));
-               ret = -EIO;
-               goto out;
+
+               ring->write_tail(ring, I915_READ_HEAD(ring) & HEAD_ADDR);
        }

        if (!drm_core_check_feature(ring->dev, DRIVER_MODESET))


The idea is to ignore the failure and see if we can program the GPU anyway.

-- 
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/20140625/2b67832e/attachment.html>


More information about the intel-gfx-bugs mailing list