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

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu May 8 03:22:35 PDT 2014


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

--- Comment #58 from Chris Wilson <chris at chris-wilson.co.uk> ---
I haven't had any other inspiration. Maybe,


diff --git a/drivers/gpu/drm/i915/intel_ringbuffer.c
b/drivers/gpu/drm/i915/intel_ringbuffer.c
index 401f3e7..ccb0e5c 100644
--- a/drivers/gpu/drm/i915/intel_ringbuffer.c
+++ b/drivers/gpu/drm/i915/intel_ringbuffer.c
@@ -513,6 +513,7 @@ reset:
         * registers with the above sequence (the readback of the HEAD
registers
         * also enforces ordering), otherwise the hw might lose the new ring
         * register values. */
+       memset(ring->virtual_start, 0, ring->size);
        I915_WRITE_START(ring, i915_gem_obj_ggtt_offset(obj));
        I915_WRITE_CTL(ring,
                        ((ring->size - PAGE_SIZE) & RING_NR_PAGES)

-- 
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/20140508/3de88ec4/attachment-0001.html>


More information about the intel-gfx-bugs mailing list